[MPlayer-dev-eng] [PATCH] Theora in Matroska

Evgeniy Stepanov eugeni.stepanov at gmail.com
Wed Sep 20 20:43:19 CEST 2006


On Wednesday 20 September 2006 22:35, Rich Felker wrote:
> This is backwards and not allowed. The correct way is leaving them in
> extradata. Passing them as regular packets will horribly break -ovc
> copy and other things. Any patch that causes xiph-codec headers to be
> sent as if they were data packets is automatically rejected.

Then vd_theora is also broken. It reads header packets with ds_get_packet.
And, probably, demux_ogg too, since it works with vd_theora :)

fftheora in its current state won't parse headers from Matroska, it expects a 
different format. fftheora expects 3 packets each preceded by its length in 
bits (a 2-byte value) as a single block. Matroska codec private containes 3 
packets in a Xiph lacing: <count-1>, coded packet sizes, packets.



More information about the MPlayer-dev-eng mailing list