Hello,

How do you seek the head of "side information" in mp3 file?

I had been trying the following way,

----------------------------------------------------------------
position length      bits          using
----------------------------------------------------------------
x + 0    12bit   ==  11111111 1111 (sync_bit)
x + 13   2bit    !=  00            (layer undefined)
x + 16   4bit    !=  1111          (bitrate_index undefined)
x + 20   2bit    !=  11            (freq defined)
----------------------------------------------------------------

But this way may misread some similar main data like the following,
and actually did.

11111111  FF
11111101  FD
01110010  72
10001001  8B


Would you tell me if there are more better ways to solve this problem?

regards,

-- 
Miyoko Shioda <[EMAIL PROTECTED]>


_______________________________________________
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to