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

Benoît Thébaudeau benoit.thebaudeau at advansee.com
Fri May 18 18:22:08 CEST 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?

Thanks in advance.

Regards,
Benoît
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2-fix-mp3-vbr.patch
Type: text/x-patch
Size: 7176 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20120518/a0550182/attachment-0001.bin>


More information about the MPlayer-dev-eng mailing list