[MPlayer-users] Forcibly index VBR MP3

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Dec 19 10:29:00 CET 2010


Jan Engelhardt <jengelh <at> medozas.de> writes:

> mplayer has known issues with VBR MP3; it usually takes the bitrate of 
> the first frame or so and extrapolates the length of the audio file 
> based upon that.

[...]

> Calling `mkvmerge -o tmp.mka vbr.mp3` and playing that instead makes 
> mplayer show the correct times.

Note that mkvmerge has to scan the whole file to actually do merging, while
mplayer is able to play a file without scanning it first, which is expected by
most users. Without scanning the whole file, you can't know the actual length.

Did you try -demuxer lavf -lavfdopts analyzeduration=1000000000 or -ac ffmp3?

Carl Eugen




More information about the MPlayer-users mailing list