Web lists-archives.org

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




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.

Attachment: demuxer_mkv.patch
Description: Binary data

_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng