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

Michael Niedermayer michaelni at gmx.at
Wed Sep 20 21:18:12 CEST 2006


Hi

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

fully agree

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is



More information about the MPlayer-dev-eng mailing list