FS#24834 - [mplayer] 33690-1 default mp3 codec produces errors

Attached to Project: Arch Linux
Opened by Garron (garron) - Thursday, 23 June 2011, 08:11 GMT
Last edited by Ionut Biru (wonder) - Thursday, 23 June 2011, 13:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture i686
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

When playing mp3 files, mplayer gives a note about the mpg123 codec not being available, and uses the ffmp3float codec instead. This produces clicks in most mp3 files (at specific times, related to the audio being decoded -- i.e. not a buffer/cache/etc issue).

A simple fix for users is to add afm=mp3lib to ~/.mplayer/config


mplayer display:
==========================================================================
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, floatle, 224.0 kbit/7.94% (ratio: 28000->352800)
Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
==========================================================================
This task depends upon

Closed by  Ionut Biru (wonder)
Thursday, 23 June 2011, 13:47 GMT
Reason for closing:  Fixed
Comment by Garron (garron) - Thursday, 23 June 2011, 08:27 GMT
Actually a better fix to add to ~/.mplayer/config might be the following line (including the trailing comma):

ac=-ffmp3float,
Comment by Ionut Biru (wonder) - Thursday, 23 June 2011, 08:36 GMT
i'm going to add mpg123 support. i see that mp3lib is marked as buggy and mpg123 as working
Comment by Garron (garron) - Thursday, 23 June 2011, 08:40 GMT
Well, even ffmpeg's non-float decoder works fine, it's just not what gets chosen as a default.
Comment by Ionut Biru (wonder) - Thursday, 23 June 2011, 09:02 GMT
mplayer-33713 pushed to extra

Loading...