[MPlayer-dev-eng] [PATCH] Fix wrong runtime and average bitrate for VBR MP3.

Benoît Thébaudeau benoit.thebaudeau at advansee.com
Sun Mar 18 18:45:52 CET 2012


On Fri, Jan 13, 2012 at 09:47:36PM +0100, Benoît Thébaudeau wrote:
> Hi all,
> 
> According to http://www.mpgedit.org/mpgedit/mpeg_format/mpeghdr.htm,
> the MP3
> frame size depends only on the MP3 Layer, while according to
> http://www.codeproject.com/KB/audio-video/mpegaudioinfo.aspx#XINGHeader,
> the
> size of the Layer III side information depends only on the MPEG
> version, so spf
> can not be used by mp3_vbr_frames() to determine the Layer III side
> information
> size. Fix this by using lsf instead.
> 
> Moreover, spf was not filled by mp_get_mp3_header() for NULL freq,
> which was an
> issue for mp3_vbr_frames(). This is also fixed.
> 
> Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau at advansee.com>

Ping?


More information about the MPlayer-dev-eng mailing list