#132 Serious bug: Audio clipping on the latest version.

MPlayer (86)

There is an annoying clipping in the latest version of mplayer.

This warning is reported in the console:
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.


  • Nobody/Anonymous

    Try to rename the config file (so mplayer will not use it), and then try again.

  • Nobody/Anonymous

    Sorry, renaming config does not solve the problem. A new file named "config" is created but still a "Requested audio codec family [mpg123] (afm=mpg123) not available." error is reported and files (that need the mpg123 codec) have audible clippings.

  • Nobody/Anonymous

    Is there any news on this?

    when trying to use the current version of mplayer (MPlayer Sherpya-SVN-r33883-4.25) for mp3 playing, it reports:

    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, 128.0 kbit/4.54% (ratio: 16000->352800)
    Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)

    Peeking through codecs.conf I can see that the recommended (and high performance codec) is "audiocodec mpg123" which does not produce at all the annoying clicking sound in mp3 files or video files with an mp3 track.

    Please, could you enable the mpg123 codec during compilation?


  • WSC

    WSC - 2011-07-24

    Requested audio codec family [mpg123] (afm=mpg123) not available. Enable it at compilation.

    because it can't find it, rev 33883 is now falling back to: "Selected audio codec: ffmp3float". It used to be "ffmp3" in the last rev.

    I could not hear any clipping or distortion from any of my .mp3 files when using "ffmp3float".

    mplayer -ac ffmp3 some_song.mp3

    See if that is any better. If OK, put this in the config file to save typing:

    ## Selected Audio codec

    "mplayer -ac help | more" to see other mp3 codecs that may or may not work.

  • Nobody/Anonymous

    Sorry but using ac=ffmp3 does not work as it causes mplayer to ALWAYS use this filter. So when playing AAC files, ffmp3 simply cannot decode the stream at all.

    -ac ffmp3 is a temporary workaround (and thanks for that) which eliminates the clicks but there is still some small distortion present..

  • AEN

    AEN - 2011-09-06



    1) Last night I experienced the same things originally reported by
    Nobody/Anonymous ( nobody ) - 2011-06-01 23:05:34 CEST.

    I have always used MPlayer to play only videos (avi files I dubbed with VirtualDub) and never audio/mp3 files.
    After much trial & error I settled on ac=mp3acm in my config file.
    Last night I tried to play an mp3 file in MPlayer,
    but MPlayer would not play the file and gave the error message
    "Requested audio codec family [mpg123] (afm=mpg123) not available.
    Enable it at compilation."

    When I removed the ac=mp3acm from my config file, MPlayer responded with
    "Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)" and
    played the mp3 file but with annoying clipping.
    The mp3 file is encoded at 32kbps & 24kHz ... (maybe the kHz not at 44100 causes the clipping?)
    When I use ac=ffmp3, MPlayer plays the mp3 file with NO clipping.

    I do not understand why MPlayer plays avi files with mp3 audio and uses
    ac=mp3acm with no problem but will not play a simple mp3 file using ac=mp3acm?

    2) The > MPlayer.log switch/syntax works fine from a command prompt, but
    I cannot (yet) have MPlayer generate a log file when I launch MPlayer
    through the XP context menu - the method I always use ...
    The syntax for the command prompt and context menu should be the same ...

    Any helpful replies/insights appreciated.
    Thank you.

  • Gianluigi Tiesi

    Gianluigi Tiesi - 2013-02-20
    • Status: open --> closed-out-of-date

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks