Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103367 - mplayer-1-0pre6-r4 fails to play mp4-files - FAAD: Failed to decode frame
Summary: mplayer-1-0pre6-r4 fails to play mp4-files - FAAD: Failed to decode frame
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-22 12:39 UTC by Josef Kovacs
Modified: 2005-08-30 17:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josef Kovacs 2005-08-22 12:39:24 UTC
Hello,

Mplayer doesn't play a mp4-file. It seems that it has problems with the
audio-codec. After starting mplayer i get this message:

----8<----
tschosie@platon ~ $ mplayer
windoof-daten/scratch/go-open-vol-1/go-open-episode-01.mp4 
MPlayer 1.0pre6-3.3.5-20050130 (C) 2000-2004 MPlayer Team
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon (Family:
6, Stepping: 2)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Kompiliert f
Comment 1 Josef Kovacs 2005-08-22 12:39:24 UTC
Hello,

Mplayer doesn't play a mp4-file. It seems that it has problems with the
audio-codec. After starting mplayer i get this message:

----8<----
tschosie@platon ~ $ mplayer
windoof-daten/scratch/go-open-vol-1/go-open-episode-01.mp4 
MPlayer 1.0pre6-3.3.5-20050130 (C) 2000-2004 MPlayer Team
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon (Family:
6, Stepping: 2)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Kompiliert für x86 CPU mit folgenden Erweiterungen: MMX



77 Audio- & 189 Videocodecs
Spiele windoof-daten/scratch/go-open-vol-1/go-open-episode-01.mp4
ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v2
QuickTime/MOV-Dateiformat erkannt!
--------------
MOV track #0: 5747 chunks, 35918 samples
MOV: Found MPEG4 movie Elementary Stream Descriptor atom (94)!
Image size: 480 x 352 (24 bpp)
Display size: 480 x 352
Fourcc: mp4v  Codec: ''
--------------
MOV track #1: 5744 chunks, 30922 samples
Audio bits: 16  chans: 2  rate: 22050
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (39)!
Fourcc: mp4a
--------------
MOV track #2: 1 chunks, 0 samples
Generic track - not completely understood! (id: 2)
--------------
MOV track #3: 1 chunks, 0 samples
Generic track - not completely understood! (id: 3)
--------------
MOV: longest streams: A: #1 (30922 samples)  V: #0 (35918 samples)
VIDEO:  [mp4v]  480x352  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Öffne Audiodecoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 12237->176400 (97.9 kbit)
Selected audio codec: [faad] afm:faad (FAAD AAC (MPEG2/MPEG4 Audio) decoder)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Öffne Videodecoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int 
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default
alsa: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starte Wiedergabe...
FAAD: Failed to decode frame: Unexpected channel configuration change 
---8<----

The last line is been repeated a million times. Mplayer and ffmpeg are merged
with the following USE-Flags:

----8<----

[ebuild   R   ] media-video/ffmpeg-0.4.9_p20050226-r5  +a52 +aac (-altivec) -deb
ug +doc -dts +encode -ieee1394 +imlib +mmx +network +ogg -oss +sdl -threads +tru
etype -v4l +vorbis +xvid +zlib 0 kB 
[ebuild   R   ] media-video/mplayer-1.0_pre6-r4  -3dfx -3dnow -3dnowext +X -aali
b +alsa (-altivec) +arts +avi +bidi +cdparanoia -debug -dga +directfb +divx4linu
x +doc -dts -dv -dvb +dvd +dvdread -edl +encode -esd +fbcon +ggi +gif +gtk -i8x0
 -ipv6 +jack -joystick +jpeg +libcaca -lirc +live +lzo +mad +matroska -matrox +m
mx -mmxext +mpeg -mythtv +nas +nls -nvidia +oggvorbis +opengl -oss +png +real +r
tc +samba +sdl -sse -sse2 +svga +tga +theora +truetype -v4l -v4l2 -xanim -xinera
ma +xmms +xv +xvid -xvmc 0 kB 

----8<----

The mp4-file seems to be o.k.. It is one of the go-open-Videos, that you can get
for testing here: http://www.go-opensource.org/files/go-open-vol-1.torrent

With xine and totem i have the same problems: I get only a video without audio,
but the aac-USE-Flag is compiled in every package where it is possible. 

My emerge info:

----8<----

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 Pentium II (Deschutes)
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/MozillaFirefox/searchplugins /usr/lib/X11/xkb /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/  
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://ftp.easynet.nl/mirror/gentoo/
http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.rxd.hu
http://ftp.heanet.ie/pub/gentoo/"
LANG="en"
LC_ALL="en"
LINGUAS="de"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac adns alsa apache2 apm arts audiofile avi bash-completion
berkdb bidi bitmap-fonts cdparanoia cdr cjk crypt cups curl directfb divx4linux
doc dvd dvdr dvdread eds emboss encode fam fbcon flac foomaticdb fortran gd gdbm
ggi gif gimpprint gphoto2 gs gstreamer gtk gtk2 gtkhtml guile imagemagick imap
imlib jack java jbig jpeg jpeg2k junit kde kdeenablefinal kdexdeltas lcms ldap
lesstif libg++ libwww logitech-mouse lzo mad maildir md5sum mikmod mmx mng motif
mozilla mp3 mpeg mpi mplayer nas ncurses network nls nocd nptl ogg oggvorbis
opengl pam pdflib peex perl plotutils png ppds python qt quicktime readline
samba sasl sdl slang sndfile snmp spell sqlite ssl svg svga tcltk tcpd tetex tga
theora tiff truetype truetype-fonts type1-fonts unicode usb vim-with-x vorbis
wmf wxwindows xine xml xml2 xmms xosd xprint xv xvid zlib linguas_de
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS

----8<----

Bye

Tschosie
Comment 2 Josef Kovacs 2005-08-30 17:45:55 UTC
Hi,

the new stable mplayer version 1.0pre7-r1 solves this bug and so i changed it to
"fixed". Xine and totem had still the same problem with the sound but it's not
for  this bug.

Thanks

Tschosie