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

Ralph Giles giles at xiph.org
Sun Jun 17 23:22:02 PDT 2007


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