Hi All,
I am trying to implement a audio decoder on DSP using assembly language. I want to decode ID3v1 & ID3v2.2 and parse ID3v2.3 and ID3v2.4.
Regarding parsing out ID3v2.3 I am facing out one problem.
Standards of ID3v2.4 says that I can be present in the middle of the file.What it means that some audio data can be there and then ID3 tag and then audio data. Information about this ID3v2.4 tag will be given by the SEEK frame in minimum offset from the end of the tag.
The problem is that it is not clear or nowhere said that First ID3v2.4 will be present in beginning or audio data.
Suppose that only IDv2.4 tag is present in a mp3 file and no other v1 or v2.2 or v2.3 are present. In case second ID3v2.4 tag is also present then SEEK frame in first tag will tell the location of the second tag. My question is is it possible that no tag is present in the very beginning and file is starting with mp3 audio data and then ID3v2.4 tag and then again audio data.
Following is the representation of what I want to ask.
1. ____________________________________________________________________ |ID3v2.4 tag |Audio Data | ID3v2.4 tag | Audio Data | |____________|_________________|________________|____________________|
2. ____________________________________________________________________ |Audio Data |ID3v2.4 tag | Audio Data | ID3v2.4 tag | |____________|_________________|________________|____________________|
First case is ok ...is it possible that second case can also exist. What I am assuming that second case is not possible. Please correct me if I am wrong.Or please direct me in right direction.
Warm Regards, Rahul Mehta. --------------------------------------------- http://mail.indiainfo.com India's first ISO certified portal Check world time at http://time.indiainfo.com