Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#463 closed defect (fixed)

No audio - FAAD error playing some MKV files

Reported by: mpbz@… Owned by: r_togni@…
Priority: normal Component: vd
Version: 1.0pre7 Severity: normal
Keywords: Cc: dominik@…, diego@…
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:


Been regularly getting FAAD errors playing MKV files with mplayer on Linux, but
no problems with the same file using ZoomPlayer? and CCCP on windows.
Result is no audio output in MPlayer

Error message:

FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded

The MPLayer version I'm using is from


I had a look at the source file and it contains the faad2 libs in it and the
README in the libfaad2 directory says:

This is a FAAD2 2.1 beta CVS snapshot from 2004-07-12
On the latest version is 15-09-2004 (no idea if this matters)

The file audio is 5.1 HE-AAC (according to ZoomPlayer?)

My CPU is an Athlon64 3000+ but I only use x86 (since only that works)

The MPlayer output is:
# mplayer ../Z.mkv
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer41
Current dirname: /usr/share/locale

MPlayer 1.0pre7-4.0.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1

Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing ../Z.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AAC/MPEG4/LC/SBR), -aid 0, -alang jpn
[mkv] Track ID 3: subtitles (S_TEXT/ASS), -sid 0, -slang eng
[mkv] Will play video track 1
[mkv] Will play audio track 2
Matroska file format detected.
VIDEO: [avc1] 704x480 24bpp 7.992 fps 0.0 kbps ( 0.0 kbyte/s)
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 8000 Hz, 2 ch, s16le, 128.0 kbit/50.00% (ratio: 16000->32000)
Selected audio codec: [faad] afm:faad (FAAD AAC (MPEG2/MPEG4 Audio) decoder)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
vo_xvmc: X-Video extension 2.2
vo_xvmc: No X-Video MotionCompensation? Extension on :0.0
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm:ffmpeg (FFmpeg H.264)
Checking audio filter chain for 8000Hz/2ch/s16le -> 8000Hz/2ch/s16le...
AF_pre: 8000Hz/2ch/s16le
AO: [oss] 8000Hz 2ch s16le (2 bps)
Building audio filter chain for 8000Hz/2ch/s16le -> 8000Hz/2ch/s16le...
Starting playback...
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded

then this last line repeated many times

Change History (3)

comment:1 Changed 14 years ago by dominik@…

  • Cc dominik@… added

Please retry with latest CVS, pre7 is too old to accept new bugreports against
it, sorry.

comment:2 Changed 14 years ago by diego@…

  • Cc diego@… added
  • Component changed from ao to vd
  • Owner changed from alex@… to r_togni@…

comment:3 Changed 14 years ago by diego@…

  • Resolution set to fixed
  • Status changed from new to closed

libfaad has been updated in CVS, the problem should be gone. Reopen the bug if
you still have problems with latest CVS.

Note: See TracTickets for help on using tickets.