QUOTE(ring0 @ Mar 2 2006, 01:29 AM)
QUOTE(dborn @ Mar 2 2006, 06:18 AM)
When I run MP3Val on my newly LAME generated mp3 files, I get the same message for each file: "Wrong number of MPEG data bytes specified in Xing header (10047046 instead of 10046717)".
The difference is always 329 bytes. I removed all tags (ID3v1.1, ID3v2.3, APEv2) and I still get this same error message. What's the Xing header anyway?
Thanks,
Daniel
Xing header is encapsulated in the first MPEG frame, it can be recognized by a "Xing" or "Info" strings.
Btw, what version of LAME do you use and what options? My LAME-generated files doesn't produce such effects.
I'm using lame 3.97b2. I've experimented with it alot this morning and I have found some interesting results:
lame.exe -V 2 --noreplaygain test.wav test.mp3
produces no error. No ID3 tags and a Xing header.
lame.exe -V 2 --noreplaygain
--ta "test" test.wav test.mp3
produces the error (128 bytes too many in Xing). Only writes an ID3v1 tag and Xing (lame?) tag.
lame.exe -V 2 --noreplaygain
--add-id3v2 --ta "test" test.wav test.mp3
produces the error (181 bytes too many in Xing). Writes an ID3v1 & ID3v2 and Xing tags.
lame.exe -V 2 --noreplaygain --add-id3v2
--only-id3v2 --ta "test" test.wav test.mp3
produces the error (181 bytes too many in Xing). Writes an ID3v1(!) & ID3v2 and Xing tags.
lame.exe -V 2 --noreplaygain --add-id3v2 --only-id3v2
--pad-id3v2 --ta "test" test.wav test.mp3
produces the error (309 bytes too many in Xing). Writes an ID3v1(!) & ID3v2 and Xing tags.
lame.exe -V 2 --noreplaygain --add-id3v2 --only-id3v2 --pad-id3v2
-t --ta "test" test.wav test.mp3
produces no error. Writes an ID3v1(!) & ID3v2 and no VBR header.
No matter how much tag manipulation I do using Mp3tag afterwards, it will not change anything with the Xing header size discrepancy.
It certainly looks like lame.exe 3.97b2 has a bug! Should I use mp3val to correct the problem or should I leave it alone? I'm certainly tempted to not let lame add any tags to my mp3 files anymore...
Thanks,
Daniel