Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401315 - media-video/mplayer-1.0_rc4_p20120128 broke Flac/ffmpeg, parameter 'drc_scale' out of range
Summary: media-video/mplayer-1.0_rc4_p20120128 broke Flac/ffmpeg, parameter 'drc_scale...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-29 14:26 UTC by Weedy
Modified: 2012-02-13 11:16 UTC (History)
4 users (show)

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


Attachments
emerge --info mplayer ffmpeg (emerge--info_mplayer_ffmpeg,15.87 KB, text/plain)
2012-02-09 14:40 UTC, Attila Stehr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Weedy 2012-01-29 14:26:38 UTC
mplayer bump broke all the things.

Sample file so I don't have to upload 4gigs of mkv.
Same error http://ff123.net/samples/DaFunk.flac 

I have rolled back to p20120109 in the mean time.

Reproducible: Always

Steps to Reproduce:
1. Woke up to fap
2. Queue some porn
3. Porn had no sound
Actual Results:  
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 131072 = 323072 bytes for output buffer.
FFmpeg's libavcodec audio codec
libavcodec version 53.60.100 (external)
Configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe' --extra-cflags='-march=native -O2 -pipe' --extra-cxxflags='-march=native -O2 -pipe' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --enable-gnutls --enable-libmp3lame --enable-libvo-aacenc --enable-libx264 --disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --enable-x11grab --disable-outdev=oss --enable-libass --enable-pthreads --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-avx --disable-mmx2 --disable-vis --disable-neon --disable-iwmmxt --cpu=host --enable-hardcoded-tables
[NULL @ 0x7f4cffaabda0]Value 2097152.000000 for parameter 'drc_scale' out of range
[NULL @ 0x7f4cffaabda0]Error setting option drc_scale to value 2097152.
Could not open codec.
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x43614C66.
Audio: no sound
Freeing 1 unused audio chunks.
Video: no video
Freeing 0 unused video chunks.

vo: x11 uninit called but X11 not initialized..

Exiting... (End of file)


Expected Results:  
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 131072 = 323072 bytes for output buffer.
FFmpeg's libavcodec audio codec
libavcodec version 53.60.100 (external)
Configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe' --extra-cflags='-march=native -O2 -pipe' --extra-cxxflags='-march=native -O2 -pipe' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --enable-gnutls --enable-libmp3lame --enable-libvo-aacenc --enable-libx264 --disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --enable-x11grab --disable-outdev=oss --enable-libass --enable-pthreads --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-avx --disable-mmx2 --disable-vis --disable-neon --disable-iwmmxt --cpu=host --enable-hardcoded-tables
[flac @ 0x7f19b093fda0]err{or,}_recognition separate: 1; 1
[flac @ 0x7f19b093fda0]err{or,}_recognition combined: 1; 10001
INFO: libavcodec "flac" init OK!
[NULL @ 0x7f19b093fda0]Junk frame till offset 4226
[flac @ 0x7f19b093fda0]  Max Blocksize: 4608
[flac @ 0x7f19b093fda0]  Max Framesize: 15233
[flac @ 0x7f19b093fda0]  Samplerate: 44100
[flac @ 0x7f19b093fda0]  Channels: 2
[flac @ 0x7f19b093fda0]  Bits: 16
AUDIO: 44100 Hz, 2 ch, s16le, 943.7 kbit/66.88% (ratio: 117968->176400)
Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)


Portage 2.2.0_alpha84 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r2, 3.2.1-zen+ x86_64)
=================================================================
System uname: Linux-3.2.1-zen+-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.1
Timestamp of tree: Sun, 29 Jan 2012 12:15:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.2-r1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo FuckYeah dropzone sabayon flora sunrise
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fprefetch-loop-arrays -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fprefetch-loop-arrays -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="assume-digests binpkg-logs candy ccache distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ 	http://mirror.lug.udel.edu/pub/gentoo/ 	http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ 	http://mirror.datapipe.net/gentoo 	http://distfiles.gentoo.org"
INSTALL_MASK="/lib/systemd/system /usr/lib/tmpfiles.d"
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--hash-style=gnu -Wl,-z,now -Wl,--as-needed -Wl,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/dropzone /var/lib/layman/sabayon /var/lib/layman/flora /var/lib/layman/sunrise"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 apng ass bash-completion berkdb bluetooth btrfs bzip2 cairo captcha cjk cli consolekit cracklib crypt cups cxx dbus dell device-mapper dmraid dri dvd exif extras fat ffmpeg flac fortran g3dvl gdbm gdu gif gio gnutls gpm graphite gtk gtk3 gtkstyle gudev hunspell iconv icu ioctl ipv6 java jpeg laptop libnotify lm_sensors lto mdadm mmx modules mp3 mp4 mplayer mudflap multilib ncurses network nls nptl nptlonly nvcontrol nvidia ogg ogm openmp optimized-qmake pam pch pcre pdf png policykit pppd qt4 readline sdl session spell sqlite sse sse2 sse3 ssh ssl ssse3 startup-notification sysfs tcpd threads thumbnail thunderbird tiff udev unicode usb vaapi vdpau wifi x264 xml xorg xv xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic auth_digest authn_file authz_host authz_user autoindex charset_lite cgi cgid deflate dir env expires filter headers include info log_config mime mime_magic negotiation rewrite setenvif status unique_id" APACHE2_MPMS="event" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="tarpit"
Unset:  CPPFLAGS, CTARGET, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Andreas Nüßlein 2012-01-29 14:50:25 UTC
same here =(
Comment 2 Nick Andrade 2012-02-01 20:39:47 UTC
Seeing the same issue in ~amd64 with ffmpeg-0.10 & mplayer-1.0_rc4_p20120128.  I updated both mplayer & ffmpeg at the same time; prior to the upgrade I was using ffmpeg-0.9.1 & mplayer-1.0_rc4_p20120109 and was not experiencing any issues.  When I downgrade just mplayer to 1.0_rc4_p20120109 (leaving ffmpeg at 0.10), the issue goes away.
Comment 3 Alexander Kyte 2012-02-06 23:28:02 UTC
I had this, but it was actually a pulseaudio problem. If you follow the wiki, and uncomment 

load-module module-alsa-sink device=hw:0
load-module module-alsa-source device=hw:0

in /etc/pulse/default.pa, it breaks everything.
Comment 4 Ivan 2012-02-08 12:33:58 UTC
same problem on ~amd64 
[ebuild   R    ] media-video/ffmpeg-0.10 
[ebuild   R    ] media-video/mplayer-1.0_rc4_p20120128 
i don't use pulseaudio
Comment 5 crabbed halo ablution 2012-02-08 14:46:27 UTC
The mplayer mailing list:
http://comments.gmane.org/gmane.comp.video.mplayer.user/67582
reports that this is fixed in latest SVN.
Comment 6 Attila Stehr 2012-02-09 14:39:40 UTC
On my system this is not a FLAC-only issue but happens when I try to play almost anything else.

As an example, when I try to play an audio stream (web radio) I get the following output.

[...]
--- HTTP DEBUG HEADER --- START ---
[...]
 0 - Content-Type: audio/mpeg
 1 - icy-br:128
 2 - icy-genre:LIVESTREAM mp3 Surround
[...]
Öffne Audiodecoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 131072 = 323072 bytes for output buffer.
FFmpeg's libavcodec audio codec
libavcodec version 53.60.100 (external)
Configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O1 -pipe -march=core2 -ggdb' --extra-cflags='-O1 -pipe -march=core2 -ggdb' --extra-cxxflags='-O1 -pipe -march=core2 -ggdb' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-vaapi --disable-vdpau --disable-bzlib --enable-gnutls --enable-libvo-amrwbenc --enable-libtheora --enable-libvorbis --enable-libxvid --disable-indev=v4l --disable-indev=oss --disable-indev=jack --enable-x11grab --enable-libpulse --disable-outdev=oss --enable-libfreetype --enable-pthreads --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libschroedinger --enable-libvpx --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-avx --disable-mmx2 --disable-vis --disable-neon --disable-iwmmxt --cpu=core2 --enable-hardcoded-tables
[NULL @ 0x7fcaaaf73e40]Value 1048576.000000 for parameter 'drc_scale' out of range
[NULL @ 0x7fcaaaf73e40]Error setting option drc_scale to value 1048576.
Konnte Codec nicht öffnen.
Initialisierung des Audiodecoders fehlgeschlagen :(
Initialisierung des Audiodecoders fehlgeschlagen :(
Comment 7 Attila Stehr 2012-02-09 14:40:22 UTC
Created attachment 301393 [details]
emerge --info mplayer ffmpeg
Comment 8 Alexis Ballier gentoo-dev 2012-02-13 11:16:20 UTC
media-video/mplayer-1.0_rc4_p20120213 should fix this