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

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


On Wednesday 20 September 2006 21:05, Reimar Döffinger wrote:
> Hello,
>
> On Wed, Sep 20, 2006 at 04:02:00AM +0400, Evgeniy Stepanov wrote:
> > this patch adds Theora video support to demux_mkv.
> >
> > I just copypasted a piece code without thinking. Seems to work. Please
> > review :)
>
> Is this patch for -vc theora or -vc fftheora or both?

I have not yet seen a file that would work with fftheora. Every sample in 
ftp://mplayerhq.hu/MPlayer/samples/ogg/Theora failes with
[theora @ 0x865bef8]Missing extradata!
message. -vc theora work fine with all of them.

Exactly the same happens with my patch: all these files (converted to mkv) 
work with -vc theora but not -vc fftheora.

This patch does a very simple thing: unpacks 3 header packets from codec 
private data and feeds them to the codec like regular packets. I'm not 
familiar with libavcodec interface. Could it be that it requires passing 
headers in some other way ?



More information about the MPlayer-dev-eng mailing list