tags:

views:

34

answers:

2

Hi,

I am not clear about synchronisation and unsynchronisation in id3 tags.

I have read the developer info, but i could not able to understand.

Can you please help me in explaining the things clearly.

Thanks.

A: 

What more precisely you do not understand? It seems documentation is quite clear. The synchronisation can be used to some (in general legasy) programs, that do not know about ID3v2, does not accept tag data as frame header. By the way, it seems majority of programs does not use syncronisation, and possible if you faced with dificulties with synchronisation you can try do not work with synchronized tags.

VitalyVal
Hi,Thanks for your help. Let me put my understanding here, correct me if am wrong. There will be a sync signal (Probably starts with FF **). This is used by the decoders for playing the file. id3 tag parser, whenever encounters any false sync in id3 tag (byte with MSB - 1), it adds the zero byte following the false sync. So the mp3 decoder (without knowledge of id3) would not be able to identify the false sync and would not get by the false sync.Thanks.
Dinesh
* would not get "disturbed" by the false sync.
Dinesh
"id3 tag parser, whenever encounters..." - parser should remove zero byte (replaces 0x00FF with 0xFF: "if (*(WORD*) pbtCurrPos == 0x00FF)"). It is tag writer adds zero byte during unsycronization. And yes, it is for decoder does not interpret tag's data as mp3 frame header.
VitalyVal
And it is probably will be useful to have some test suite. It seems something is here (http://www.getid3.org/samples/index.php) present.
VitalyVal
Thanks alot. Now it is more clear.
Dinesh
A: 

Thanks Guys, I got it.

Dinesh