[MPlayer-dev-eng] [PATCH] add support of compression algorithm 3 in mkv demuxer
compn
tempn at twmi.rr.com
Wed May 7 16:30:57 CEST 2008
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
-compn
More information about the MPlayer-dev-eng
mailing list