[FFmpeg-devel] [PATCH] id3v2 unsynchronisation support

Alexander Kojevnikov alexander
Sat Jul 17 04:26:09 CEST 2010


Hi list,

Please find attached a patch that adds unsynchronisation support for id3v2 tags.

Unsynchronisation is a scheme to avoid false synchronisation bytes in
the tag. It works by replacing all 11111111 111xxxxx bytes with
11111111 00000000 111xxxxx. Which means that during decoding all
11111111 00000000 sequences should be replaced with 11111111.

Unsynchronisation can apply to the entire tag or to individual frames
(v2.4 only). Please refer to id3v2 specs for details:

 * ID3 tag version 2.3.0, section 5: http://www.id3.org/id3v2.3.0
 * ID3 tag version 2.4.0, section 6.1: http://www.id3.org/id3v2.4.0-structure

Cheers,
Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-id3v2-unsync.patch
Type: text/x-patch
Size: 4546 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100717/d8d022bc/attachment.bin>



More information about the ffmpeg-devel mailing list