Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123759 - mplayer-1.0.20060217: mencoder LAVC couldn't find mp3 encoder
Summary: mplayer-1.0.20060217: mencoder LAVC couldn't find mp3 encoder
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-22 15:10 UTC by Nikhil Sethi
Modified: 2006-05-01 14:24 UTC (History)
1 user (show)

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 Nikhil Sethi 2006-02-22 15:10:54 UTC
Hi,

I am getting this error when trying to use mencoder after upgrading mplayer.
rebuilding mplayer/ffmpeg/lame did not help. revdep-rebuild does not show any broken dependancies.

The output:

nsethi@Gandalf Movies $ mencoder dvd:// -ovc lavc -oac lavc -lavcopts acodec=mp3:vcodec=mpeg4 -o test.avi

MEncoder dev-CVS-060217-05:46-3.4.4 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon Prestonia,Gallatin (Family: 15, Stepping: 7)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

91 audio & 206 video codecs
libdvdread: Using libdvdcss version 1.2.9 for DVD access
Reading disc structure, please wait...
There are 17 titles on this DVD.
There are 15 chapters in this DVD title.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000198
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000052c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00009eeb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x002b576d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x002b57db
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x002b63e7
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x002faac1
libdvdread: Elapsed time 0
libdvdread: Found 4 VTS's
libdvdread: Elapsed time 0
DVD successfully opened.
success: format: 0  data: 0x0 - 0x55995800
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Audio LAVC, couldn't find encoder for codec mp3

Exiting...

Gandalf root # emerge info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -pipe -O2 -ffast-math -fomit-frame-pointer -frename-registers"
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/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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -pipe -O2 -ffast-math -fomit-frame-pointer -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://adelie.polymtl.ca/ ftp://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa audiofile bitmap-fonts bzip2 caps cdr crypt cups curl dbus dts dvdr emacs encode exif expat fam ffmpeg flac foomaticdb fortran gd gif glut gmp gpm gstreamer gtk2 ieee1394 imap imlib jpeg lcms ldap libwww mad mikmod mmap mmx mmxext mng mp3 mpeg ncurses nptl ogg oggvorbis opengl pam pcmcia pdflib png readline recode sdl spell sse sse2 ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis wifi xml2 xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


I will be happy to provide any other info.
Thanks
Comment 1 Luca Barbato gentoo-dev 2006-02-23 23:17:30 UTC
emerge -vp mplayer please
Comment 2 Nikhil Sethi 2006-02-24 07:56:23 UTC
(In reply to comment #1)
> emerge -vp mplayer please
> 

Gandalf root # emerge -pv mplayer

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] media-video/mplayer-1.0.20060217 [1.0_pre7-r1] -3dfx -3dnow -3dnowext +X +aac +aalib +alsa (-altivec) -arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc +dts +dv -dvb +dvd +dvdread -edl +encode -esd -fbcon -ggi +gif +gtk -i8x0 -ipv6 -jack -joystick +jpeg -libcaca -lirc +live -livecd +lzo +mad -matroska -matrox +mmx +mmxext -musepack -nas -nls -nvidia -openal +opengl -oss +png +real -rtc -samba +sdl +sse +sse2 -svga -tga -theora +truetype -v4l -v4l2 +vorbis +win32codecs -xanim -xinerama +xmms +xv +xvid -xvmc 0 kB

thanks
PS: Ignore that update flag, I reinstalled the older version after I ran into the problem described.
Comment 3 Pascal BERTIN 2006-03-01 05:04:48 UTC
same problem here on three different systems (amd64, x86, x86)

in case : 

emerge -pv from x86_1 (core_duo) : 
[ebuild   R   ] media-video/mplayer-1.0.20060217  -3dfx -3dnow -3dnowext +X +aac +aalib +alsa (-altivec) +arts -bidi -bindist -bl +cdparanoia -cpudetection +custom-cflags -debug -dga +directfb +doc -dts +dv +dvb +dvd -dvdread -edl +encode +esd +fbcon -ggi +gif +gtk -i8x0 +ipv6 +jack -joystick +jpeg +libcaca +lirc -live -livecd +lzo +mad +matroska -matrox +mmx -mmxext +musepack -nas +nls +nvidia -openal +opengl +oss +png -real -rtc +samba +sdl +sse +sse2 -svga +tga +theora +truetype +v4l +v4l2 +vorbis +win32codecs -xanim +xinerama +xmms +xv +xvid -xvmc

CFLAGS="-O2 -mmmx -msse -msse2 -msse3 -mfpmath=sse -march=pentium4 -pipe"

emerge -pv from amd64
[ebuild   R   ] media-video/mplayer-1.0.20060217  (-3dfx) (-3dnow) (-3dnowext) +X -aac +aalib +alsa (-altivec) +arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga +directfb +doc -dts +dv +dvb +dvd +dvdread -edl +encode +esd +fbcon -ggi +gif +gtk -i8x0 +ipv6 -jack -joystick +jpeg +libcaca +lirc -live -livecd -lzo +mad +matroska -matrox (-mmx) (-mmxext) -musepack -nas +nls +nvidia +openal +opengl +oss +png +real -rtc +samba +sdl (-sse) (-sse2) (-svga) +tga -theora +truetype +v4l -v4l2 +vorbis (-win32codecs) -xanim -xinerama -xmms +xv +xvid -xvmc 0 kB

CFLAGS="-march=k8 -Os -pipe -fweb -frename-registers -funit-at-a-time"
Comment 4 Pascal BERTIN 2006-04-24 06:39:26 UTC
upgrading to media-video/mplayer-1.0.20060415 fixed this for me
Comment 5 Nikhil Sethi 2006-05-01 14:24:50 UTC
(In reply to comment #4)
> upgrading to media-video/mplayer-1.0.20060415 fixed this for me
> 

yes. same here. we can probably close the bug now.