[theora] Please help : Trying to fool Theora into doing what I want

Sam Barham sam at straylight-studios.com
Mon Jun 18 14:04:47 PDT 2007


It plays normal movies just fine, and it works perfectly if I feed the
keyframe back in normally, its just way to slow.  As far as I can tell, the
build I have isn't doing any post-processing, and as I say, apart from the
artifacts it works fine.  Having said that I'm quite willing to believe that
either there is something completely different that I'm going to have to do,
or else that it just won't be possible.

-----Original Message-----
From: Ralph Giles [mailto:giles at xiph.org] 
Sent: Monday, June 18, 2007 6:22 PM
To: Sam Barham
Cc: theora at xiph.org
Subject: Re: [theora] Please help : Trying to fool Theora into doing what I
want

On Mon, Jun 18, 2007 at 04:57:10PM +1200, Sam Barham wrote:

> To force the saved keyframe data back into theora:
> 
> 1) call theora_decode_YUVout in order to get a YUV structure with its data
> members pointing somewhere usesful
> 
> 2) copy the data I saved in (3) above back into the YUV structure (thereby
> writing it into the LastFrameRecon bit of the codec

Hmm. Does it work if you play the movies normally? Does it work if you 
feed it the compressed keyframe packet again? I'd have to look, but 
writing into the returned YUV structure won't necessarily work. There 
are post-processing steps after the point where you want to reconstruct 
from.

 -r



More information about the theora mailing list