Bug#559247: mplayer: Displays wrong duration for some vbr mp3 files.

Reinhard Tartler siretart at tauware.de
Sat Dec 5 09:16:24 UTC 2009


Philipp Weis <pweis at pweis.com> writes:

> Package: mplayer
> Version: 1.0~rc3+svn20090405-1
> Severity: normal
>
> For some variable bitrate mp3 files, mplayer displays the wrong
> duration. I created a sample file and put it online here:
>
>   http://pweis.com/stuff/vbr-sample.mp3
>
> The file is a 11 second recording of noise, compressed with
>
>   lame -v in.wav out.mp3
>
> Mplayer, using the default mp3lib ("-ac mp3"), says the file is 8
> seconds long, but it is 11 seconds. with "-ac ffmp3", the correct
> duration is shown.
>
> I couldn't figure out what library "mp3lib" refers to, so please
> reassign if appropriate.

mplayer can either use an internal mp3 implementation (subdirectory
'mp3lib' in the sources, or use the ffmpeg implementation. With the
switch -ac you can choose which implementation to use.

Looking at the upstream commits, there have been done a lot of commits
in mp3lib/ since the mplayer rc3.

Next steps for this bug: compile mplayer from svn trunk and check if the
problem has been fixed upstream. If yes, then bisect the commits until
the fix is found. Any takers?

Updating the mplayer package at this point makes only sense when the
ffmpeg package is updated as well. But at the current state of affairs,
this is not an option at the moment.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4





More information about the pkg-multimedia-maintainers mailing list