[vlc-devel] Theora/Ogg encoding

ogg.k.ogg.k at googlemail.com ogg.k.ogg.k at googlemail.com
Sat Jul 25 16:47:35 CEST 2009


>  Is it complicated to reconstruct the granpos at the muxer side? What
> information is needed ?

For Theora, you need to know when was the last keyframe, and the
number of keyframes total output so far. I think that should be enough.
That's a bit brittle to assume though.

>  Hack like reusing a field for another purpose is never maintainable in the
> long
> term.

Would adding another field to block_t be OK ? Would it break ABI, or
is it internal ? It wouldn't be so nice if it's just ogg specific, but still
better than reusing some other field.



More information about the vlc-devel mailing list