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

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Sep 20 19:45:33 CEST 2006


Hello,
On Wed, Sep 20, 2006 at 09:18:18PM +0400, Evgeniy Stepanov wrote:
> 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.

It works fine in combination with -demuxer lavf

> 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 ?

Supporting fftheora might be much simpler by just passing the codec
private data on to libavcodec. Not sure if mkv and libavcodec actually
use exactly the same format...

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list