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

Alexander Beregalov a.beregalov at gmail.com
Wed May 7 00:24:48 CEST 2008


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demuxer_mkv.patch
Type: application/octet-stream
Size: 1208 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080507/73ccaecf/attachment.obj>


More information about the MPlayer-dev-eng mailing list