[Ffmpeg-devel] MP3 VBR bitrate and duration

Måns Rullgård mru
Sun Sep 3 01:16:24 CEST 2006


Ronen Mizrahi <ronen at tversity.com> writes:

> Hi,
>
> When invoking ffmpeg -i on an mp3 VBR file, the duration and bitrate
> reported on the command line are incorrect.
> Looking at mpegaudiodec.c there doesn't seem to be code there to
> handle VBR files when reading the header. Is this correct or is ffmpeg
> supposed to be handling this kind of files correctly and there is a
> bug?

The duration of a vbr mp3 can only be determined by parsing the file
and counting all the frames.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list