[MPlayer-dev-eng] [PATCH] add support of compression algorithm 3 in mkv demuxer

Aurelien Jacobs aurel at gnuage.org
Fri May 9 01:12:42 CEST 2008


compn wrote:

> On Wed, 7 May 2008 11:05:42 +0400
> "Alexander Beregalov" <a.beregalov at gmail.com> wrote:
> 
> > 2008/5/7 compn <tempn at twmi.rr.com>:
> > >
> > > On Wed, 7 May 2008 02:24:48 +0400
> > >  "Alexander Beregalov" <a.beregalov at gmail.com> wrote:
> > >
> > >  > Specs from http://www.matroska.org/technical/specs/ :
> > >  > ContentCompAlgo         The compression algorithm used.
> > >  > Algorithms that have been specified so far are: 0 - zlib, 1 -
> > >  > bzlib, 2 - lzo1x, 3 - Header Stripping.
> > >  > ContentCompSettings    Settings that might be needed by the
> > >  > decompressor. For Header Stripping (ContentCompAlgo=3), the
> > >  > bytes that were removed from the beggining of each frames of
> > >  > the track.
> > >  >
> > >  > I have such file, it works for me.
> > >  >
> > >  > | + A track
> > >  > |  + Track number: 2
> > >  > |  + Track UID: 2
> > >  > |  + Track type: audio
> > >  > |  + Lacing flag: 1
> > >  > |  + Default flag: 1
> > >  > |  + Codec ID: A_AC3
> > >  > |  + Content encodings
> > >  > |   + Content encoding
> > >  > |    + Content compression
> > >  > |     + Algorithm: 3 (header removal)
> > >  > |     + Settings: length 2, data: 0x0b 0x77
> > >  >
> > >  > See an attachment.
> > >  > Please comment.
> > >  >
> > >
> > >  mplayer is slowly moving towards libavformat demuxers
> > >  can you check if mplayer -demuxer lavf file.mkv works for you
> > >  and if not, send a patch to ffmpeg to add support? :)
> > >
> > >  also uploading a small sample would be nice.
> > >
> > >  -compn
> 
> > No, it doesnot work.
> > I uploaded a file named atlantis405-test.mkv.
> 
> thank you for testing and uploading a sample. sample moved to:
> http://samples.mplayerhq.hu/Matroska/compressed/atlantis405-test.mkv
> 
> please wait for demuxer maintainer to review your patch

I'm sorry, but I've put on hold all my mplayer work (including
patches review), until root finally take a decision about
the "Uoti case". So please be patient.

In the mean time, you can update your svn checkout and use
-demuxer lavf (which now supports header stripping compression).

Aurel



More information about the MPlayer-dev-eng mailing list