Skip to main content
Topic: Duration of mp3 file shown incorrectly. (Read 2003 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Duration of mp3 file shown incorrectly.

Ok, I have this mp3 file that shows a length of 9min 36sec.

When I play it with VLC or Windows Media Player, it shows up as 52:13.
When I right click in Windows Explorer, select properties, select details, it shows: 192kbps, 52:13.

So basically every program is doing it right, except for Foobar. I've checked the mp3 structure, there's nothing weird: ID3v2 tag, audio frames, ID3v1(.1) tag.

Does anyone know what would be the problem? I don't understand it.

http://www10.zippyshare.com/v/23687426/file.html

Duration of mp3 file shown incorrectly.

Reply #1
Oh uhm. It's not only shown incorrectly, Foobar2000 will not play beyond 9:36. So I can't listen to more than 40min of the mp3!

Duration of mp3 file shown incorrectly.

Reply #2
And when I right click properties in Foobar, it shows:

Subsong index: 0
File size: 75 215 069 bytes

Duration: 9:35.823 (25 393 784 samples)
Sample rate: 44100 Hz
Channels: 2
Bitrate: 192 kbps
Codec: MP3
Codec profile: MP3 CBR
Encoding: lossy
Tool: LAME3.96
Tag type: id3v2.3 & id3v1

ENC_DELAY: 576
ENC_PADDING: 1480
MP3_ACCURATE_LENGTH: yes
MP3_STEREO_MODE: stereo

I actually see nothing weird or wrong here, except for the duration (and samples of course)..

Duration of mp3 file shown incorrectly.

Reply #3
you might want to try this on a copy of the file but right click the item in the playlist>utilities>fix vbr mp3 header.

Duration of mp3 file shown incorrectly.

Reply #4
This file has six 'Info' tags inside it. This means that 6 valid mp3 files were concatenated into this one.

Duration of mp3 file shown incorrectly.

Reply #5
Perhaps try this.

Duration of mp3 file shown incorrectly.

Reply #6
This file has six 'Info' tags inside it. This means that 6 valid mp3 files were concatenated into this one.

Hm, ok.

So Foobar only reads and relies on the first one.

Shouldn't this be fixed? Since every other major player does play the file?

Duration of mp3 file shown incorrectly.

Reply #7
Well, I've fixed it for ya with MP3val.

Here:
http://www32.zippyshare.com/v/69059066/file.html

But as db1989 suggested, use Mp3splt/Mp3Wrap if you want to make 6 mp3s out of this big one or put them together again. But I don't think this was done with Mp3Wrap so Mp3splt probably won't help. Doesn't hurt to try though.

As for foobar2000 being the only player that doesn't play the file you linked to... it probably just handles errors differently than others and stops... probably good for something.

EDIT: Also marc2003 gave you a very good advice about foobar2000... do try to use rightclick utilities and fix vbr mp3 header and maybe also rebuild mp3 stream.
lame -V 0

Duration of mp3 file shown incorrectly.

Reply #8
Hi, I'm not looking to modify the mp3 file, it plays fine in every other player.

I want to be able to play it to it's full length.

I don't think a modification in the code will be *that* big, to support this mp3 file. I'm sure there are other files out there like this one.


Duration of mp3 file shown incorrectly.

Reply #10
The files are broken and the only application that handles that correctly should be fixed ?
I am glad foobar2000 shows that behaviour and can repair these sort of files for me.

Duration of mp3 file shown incorrectly.

Reply #11
if you don't want to modify the file, then don't use foobar2000.

as i suspected, the fix i suggested earlier does work. the first entry is the original, the 2nd is the modified file....


Duration of mp3 file shown incorrectly.

Reply #12
@OP, why should foobar2000 be fixed to support broken files which do not conform to standards? Other players just keep on playing, foobar2000 let's you know that your file isn't mp3 compliant so you can easily fix it to become compliant - and as marc2003 demonstrated, one doesn't even need any other software, foobar2000 can fix it for you...

So, look at it this way: with foobar2000 you are informed that there's a problem and it offers tools for fixing it, while other players just "don't give a damn" and play on with you not knowing that your file is not according to standards. And then you take such file and try to play it on some standard-to-the-letter hardware decoder and it doesn't play and you don't know why is that - with foobar2000 you know.

Another angle to look at this: with foobar2000 you know that it will only play true mp3 frames, with other decoders you probably don't get an audible artifact when it "plays" non-mp3 frames but you never know... every now and then you could come across a mp3 file with non-mp3 frames that if played back could produce irratic sound that would scare you or even fry you speakers (some weird peak or something)... well this last one is probably a stretch and is more of a theory, but I think it's plausible.
lame -V 0

Duration of mp3 file shown incorrectly.

Reply #13
it's not only a theory, I had this happen on some hardwareplayers.


Duration of mp3 file shown incorrectly.

Reply #15
given that foobar can fix these broken files you don't have a point.

 
SimplePortal 1.0.0 RC1 © 2008-2020