[Ffmpeg-devel] Bitstreams with escapes

Kostya kostya.shishkov
Wed Aug 30 07:05:13 CEST 2006

I'm currently working on VC-1 Advanced Profile and has discovered
that data in EBDU units is stored with escapes like that:
0x00 0x00 0x00 -> 0x00 0x00 0x03 0x00
0x00 0x00 0x01 -> 0x00 0x00 0x03 0x01
(and frames in WVC1 codec are escaped too).

And now is the question: it is possible to tie somehow bitstream_filter
to codec so it will unescape data before passing it to decoder so
this won't be done in decode_frame (look into jpeg_ls.c how unescaping
is done now, it will also gain from that).

More information about the ffmpeg-devel mailing list