Movie files encoded with ac3 audio play fine in mplayer-1.0_pre6-r1 but once I upgrade to -r2 I get no audio. Reproducible: Always Steps to Reproduce: 1. emerge mplayer-1.0_pre6-r2 2. play a video with ac3 audio 3. Actual Results: No sound Expected Results: There should be sound.
I can confirm this, AC3 audio doesn't work with both ac3 and a52 codecs. No error, just digital silence. ========================================================================== Opening audio decoder: [liba52] AC3 decoding with liba52 Using SSE optimized IMDCT transform No accelerated IMDCT transform found AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s No accelerated resampler found AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit) Selected audio codec: [a52] afm:liba52 (AC3-liba52) ========================================================================== Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 11 2005, 06:28:21)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://ftp.ntua.gr/pub/linux/gentoo/" MAKEOPTS="-j2" 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 3dnow 3dnowext X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl emboss encode fam fbcon flac foomaticdb gdbm gif gpm gtk2 imagemagick imlib jpeg kde libg++ libwww mad mikmod mmx mmxext mp3 mpeg ncurses nls oggvorbis opengl pam perl png qt quicktime readline real samba sdl slang spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts unicode xml2 xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Downgrading to -r1 helped.
Commenting out stuff titled "fixed -fPIC handling" and the pic patch helped as well.
what about newer version in the tree?
media-video/mplayer-1.0_pre7 has same problems. I am unable to watch a dvd correctly. If i start mplayer with -ao oss : Checking audio filter chain for 48000Hz/2ch/ac3 -> 48000Hz/2ch/ac3... AF_pre: 48000Hz/2ch/ac3 [AO OSS] Can't set audio device /dev/dsp to ac3 output, trying s16le... AO: [oss] 48000Hz 2ch s16le (2 bps) Building audio filter chain for 48000Hz/2ch/ac3 -> 48000Hz/2ch/s16le... [format] Sample format big-endian AC3 not yet supported [libaf] Reinitialization did not work, audio filter 'format' returned error code -2 Couldn't find matching filter/ao format! and then I get strange noises with -ao alsa: Checking audio filter chain for 48000Hz/2ch/ac3 -> 48000Hz/2ch/ac3... AF_pre: 48000Hz/2ch/ac3 alsa-init: 1 soundcard found, using: iec958:{CARD 0 AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02} ALSA lib setup.c:548:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 Playback AC97-SPSA',0,0,0): No such file or directory alsa-init: playback open error: No such file or directory Could not open/initialize audio device -> no sound. Audio: no sound and it's silent
Does mplayer-1.0_pre6-r4 (which is currently marked stable) have this problem?
I have no problem watching avi files encoded with AC3 with pre7.
works fine now.