» Welcome Guest
[ Log In :: Register ]

 

[ Track this topic :: Email this topic :: Print this topic ]

Topic: Error in displaying bitrate, length etc..., in a CBR MP3 file< Next Oldest | Next Newest >
mll
Board Fan



Group: Members
Posts: 10
Joined: Oct. 2002
Posted: Nov. 04 2002,10:15

Hi,

I have a file that must be corrupted in some way. MP3TS, as well as Winamp's detailed info say it's 40s long while it's 1'50s (as says winamp's timer). Hence a wrong bitrate displayed (352 instead of 128 kbps, quite logical since 352/110*40=128 ).

The frequency is wrong, too, as well as the layer number and probably other stuff... It's a CBR file FYI.

MP3TS's repair functions change nothing. Does MP3TS allow me to clean this ?

TIA,

MLL
Back to top
Profile PM 
Magnus Brading
Almighty Author



Group: Super Administrators
Posts: 2751
Joined: Aug. 2002
Posted: Nov. 04 2002,14:09

My guess would be that the file is corrupted in a way similar to the file discussed in this thread:

http://www.magnusbrading.com/cgi-bin....1;t=117

Anyway, if you mail me the file, I can take a look at it, and probably fix it manually if you want.

--------------
Software author and website owner
Back to top
Profile PM WEB 
Magnus Brading
Almighty Author



Group: Super Administrators
Posts: 2751
Joined: Aug. 2002
Posted: Nov. 05 2002,15:08

Ok, I've analyzed the file, and found the following errors:

1.
Too large ID3v2 padding (non-fatal).
Is easily fixed with the "Remove junk data before first mp3 frame" repair mode.

2.
Other junk data in the beginning of the file, containing false positives for mp3 frames.
Whenever you get a problem like this, you can perform the following procedure to fix it:

* Temporarily remove the ID3v2 tag (e.g. copy it to the clipboard and then remove it from the file, and then you can paste it back when you're done).

* Open the file in a hex-editor and set the very first byte to 00 (zero).

* Perform the "Remove junk data before first mp3 frame" repair on the file.

* Repeat the two previous steps until the mp3 info is displayed correctly for the file. In the case of this file, I had to repeat it 3 or 4 times.

After this, the file will be fully recovered (now you can paste back the ID3v2 tag from the clipboard).

--------------
Software author and website owner
Back to top
Profile PM WEB 
mll
Board Fan



Group: Members
Posts: 10
Joined: Oct. 2002
Posted: Nov. 05 2002,15:30

Works for me indeed. Thanks ! Now, if all this could be automatic... :)

MLL
Back to top
Profile PM 
Magnus Brading
Almighty Author



Group: Super Administrators
Posts: 2751
Joined: Aug. 2002
Posted: Nov. 05 2002,15:37

As explained in the thread I referred to above, it is very hard to make an automatic repair process for the cases when the trash data contains sequences that look exactly like genuine mp3-headers...  :ashamed:

--------------
Software author and website owner
Back to top
Profile PM WEB 
4 replies since Nov. 04 2002,10:15 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]