[MPlayer-dev-eng] [PATCH] replacement for internal mpg123 fork (mp3lib)

Kazuo Teramoto kaz.rag at gmail.com
Wed May 12 05:23:53 CEST 2010


2010/5/11 Thomas Orgis <thomas-forum at orgis.org>:
> Of course that's not it... here is the second iteration of the
> mpg123 patch that prevents memory leaking on preinit() error.

Testing!

I got a file that dont play using mpg123 internal. Its play using
mp3lib and mpg123 command line. The problem looks that is caused by
high bitrates CBR

The mplayer output is http://paste.pocoo.org/show/212980/ (attached as
mpg123.log)

I cut the mp3 to a 10 seconds sample that reproduce the error put it
in the ftp (test_mpg123_kazuo_20100512.mp3) and as a base64
http://paste.pocoo.org/show/212982/ (sha256:
743d0edee3d724dced198e0fc7fb78a8ac5566951e0b8ed29c81236a6a6fdcc8)

The original mediainfo for the file is:
============
Audio
Format                           : MPEG Audio
Format version                   : Version 1
Format profile                   : Layer 3
Mode                             : Joint stereo
Duration                         : 5mn 17s
Bit rate mode                    : Constant
Bit rate                         : 320 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 44.1 KHz
Stream size                      : 12.1 MiB (99%)
Writing library                  : LAME3.97
Encoding settings                : -m j -V 4 -q 2 -lowpass 20.5
============

But a little more investigation give me that any mp3 created by lame
with '--preset cbr HIGH_BITRATE' give the error. It dont need to be a
2 channel sample. For example the Front_Left.wav from alsa when
converted to mp3 using 'lame --preset cbr 320 Front_Left.wav' give me
a file that dont play.

But the HIGH_BITRATE dont need to be so high (like 320) in the
Front_Left.wav a cbr >176 give me a fault file. ABR file play ok at
any target bitrate.

Any more info? Someone can reproduce?

Thanks for the work!

Kazuo

-- 
«Dans la vie, rien n'est à craindre, tout est à comprendre»
Marie Sklodowska Curie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpg123.log
Type: text/x-log
Size: 2363 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100512/29ec7400/attachment.bin>


More information about the MPlayer-dev-eng mailing list