[FFmpeg-devel] [PATCH] id3v2 unsynchronisation support

Alexander Kojevnikov alexander
Wed Jul 21 03:27:17 CEST 2010

Sorry for bumping this, the documentation says it's OK to send a
reminder to the list if the patch haven't been reviewed after a few

Let me know if the purpose of this patch is unclear or if you want a
sample mp3 file with unsynchronised ID3v2 headers.


On 17 July 2010 12:26, Alexander Kojevnikov <alexander at kojevnikov.com> wrote:
> 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/20100721/47596347/attachment.bin>

More information about the ffmpeg-devel mailing list