Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279995 - =media-video/mplayer-1.0_rc2_p20090731 has automagic depend on opencore-amr libs
Summary: =media-video/mplayer-1.0_rc2_p20090731 has automagic depend on opencore-amr libs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-02 05:30 UTC by Rabbe Fogelholm
Modified: 2009-08-04 20:34 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 Rabbe Fogelholm 2009-08-02 05:30:24 UTC
Mplayer version 1.0_rc2_p20090530 does not play 3GPP AMR files correctly. No sound is produced. Other file formats, such as MP3, seem to be handled well.

I masked version 1.0_rc2_p20090530 in /etc/portage/package.mask and re-emerged. This caused version 1.0_rc2_p20090322 to be installed. Having done that I can again play 3GPP AMR files.

My USE flags for mplayer (in /etc/portage/package.use) are: win32codecs.

Output of `emerge --info' below:

Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 01 Aug 2009 14:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.mdfnet.se/mirror/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/layman/voip /usr/local/portage/layman/kvm /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb branding bzip2 cairo canon cdr cli corefonts cracklib crypt cups dbus dri dvd dvdr dvdread eds emacs emboss encode esd evo fam firefox gdbm gif gnome gpm gstreamer gtk hal iconv isdnlog java jpeg kde libnotify mad midi mikmod mmx mp3 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification subversion svg sysfs tcpd tiff truetype unicode usb vorbis xine xml xorg xulrunner 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="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-08-03 19:04:39 UTC
In 20090530 you are supposed to enable amrwb and amrnb codecs for this... and newer version is using the opencore ones, iirc.
Comment 2 Rabbe Fogelholm 2009-08-04 05:52:50 UTC
When I do `emerge -pv mplayer' and the selected version is 20090731 I get this,

[ebuild   R   ] media-video/mplayer-1.0_rc2_p20090731  USE="X a52 aac alsa ass cddb cdio dirac dts dv dvd dvdnav enca encode esd faac faad gif iconv jpeg live mad mmx mp2 mp3 nemesi network opengl osdmenu png quicktime rar real rtc schroedinger sdl shm speex sse sse2 theora tremor truetype unicode vorbis x264 xscreensaver xv xvid xvmc -3dnow -3dnowext -aalib (-altivec) -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -custom-cpuopts -debug -dga -directfb -doc -dvb -dxr3 -fbcon -ftp -ggi -gmplayer -ipv6 -jack -joystick -ladspa -libcaca -lirc -lzo -md5sum -mmxext -mng -nas -nut -openal -oss -pnm -pulseaudio -pvr -radio -samba -ssse3 (-svga) -teletext -tga -v4l -v4l2 -vdpau (-vidix) (-win32codecs) -xanim -xinerama -zoran" VIDEO_CARDS="nvidia vesa -mga -s3virge -tdfx" 0 kB

There is no "iirc" appearing. What to do?
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-08-04 07:29:37 UTC
Since 20090731 mplayer has internal codecs to play AMR. See,

# mplayer -ac help | grep amr

ffamrnb     ffmpeg    working   AMR Narrowband  [libopencore_amrnb]
ffamrwb     ffmpeg    working   AMR Wideband  [libopencore_amrwb]

But 20090531 has the old ones if that doesn't work for some reason:

USE="amrnb amrwb" emerge -av =mplayer-1.0_rc2_p20090530

Difference is that the old ones are not "free" like the new ones are...

(IIRC == If I remember Correctly)
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-08-04 07:44:29 UTC
Try this:

emerge -av opencore-amr mplayer

Reopening. We are missing USE="opencore-amrnb opencore-amrwb" in mplayer's ebuild and it's on autodetect now:

  --disable-libopencore_amrnb disable libopencore_amr narrowband [autodetect]
  --disable-libopencore_amrwb disable libopencore_amr wideband [autodetect]

NEEDED               libopencore-amrnb.so.0
NEEDED               libopencore-amrwb.so.0
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-08-04 09:15:22 UTC
+*mplayer-1.0_rc2_p20090731-r1 (04 Aug 2009)
+
+  04 Aug 2009; Samuli Suominen <ssuominen@gentoo.org>
+  +mplayer-1.0_rc2_p20090731-r1.ebuild, metadata.xml:
+  Raise x264 depend wrt #240347. Fix automagic opencore-amr depend wrt
+  #279995.
Comment 6 Rabbe Fogelholm 2009-08-04 20:34:56 UTC
I have now re-synced and tweaked my /etc/portage/* files. My emerged versions are: 

media-libs/opencore-amr-0.1.1
media-video/mplayer-1.0_rc2_p20090731-r1

Sorry to say this but the mplayer (p20090731-r1) still does not play .amr files: It just reports "Exiting... (End of file)" very quickly and no sound is produced.