[MPlayer-users] MEncode fails to find codecs

Ulf Magnusson ulfalizer at gmail.com
Wed Dec 26 01:32:13 CET 2007


Hi,

I've installed the latest version of MPlayer from SVN with the
following commands:

$ configure --prefix=/Users/ulf/svnmp
$ make
$ make install

I had installed x264 prior to this. MEncoder reports the following
codecs to be available:

$ mencoder -ocv help
MEncoder dev-SVN-r25528-4.0.1 (C) 2000-2007 MPlayer Team
CPU: Genuine Intel(R) CPU            1400  @ 1.83GHz (Family: 6,
Model: 14, Stepping: 8)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Available codecs:
   copy     - frame copy, without re-encoding. Doesn't work with filters.
   frameno  - special audio-only file for 3-pass encoding, see DOCS.
   raw      - uncompressed video. Use fourcc option to set format explicitly.
   lavc     - libavcodec codecs - best quality!
   vfw      - VfW DLLs, read DOCS/HTML/en/encoding-guide.html.
   qtvideo  - QuickTime DLLs, currently only SVQ1/3 are supported.
   x264     - H.264 encoding

When I try to encode a file using the command (I realize this might
not produce good output for other reasons):

$ mencoder ocourse.rm -o ipod.mp4                   \
-of lavf -lavfopts format=mp4         \
-ovc x264                             \
-oac lavc -lavcopts acodec=aac        \
-vf scale=320:240

I get the following error:

"
Couldn't find video filter 'x264'.
Failed to open the encoder.

Exiting...
"

If I instead try

$ mencoder ocourse.rm -o ipod.mp4     \
-of lavf -lavfopts format=mp4         \
-ovc lavc -lavcopts vcodec=libx264    \
-oac lavc -lavcopts acodec=aac        \
-vf scale=320:240

I get the error

"
Couldn't open video filter 'lavc'.
Failed to open the encoder.

Exiting...
"

I believe this suggests that something has gone wrong with the
installation. Any ideas what it could be?

System specs:
Macbook Pro
MEncoder dev-SVN-r25528-4.0.1
x264 core:57 svn-714M

I'll attach the output from ./configure:

Detected operating system: Darwin
Detected host architecture: i386
Checking for cc version ... 4.0.1, ok
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for CPU vendor ... GenuineIntel (6:14:8)
Checking for CPU type ...  Genuine Intel(R) CPU            1400  @ 1.83GHz
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... pentium-m
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for GCC support of -mstackrealign ... yes
Checking for assembler (as 1.38) ... ok
Checking for .align is a power of two ... yes
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... yes
Checking for language ... using en (man pages: en )
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
Checking for mkstemp ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes
Checking for inet_pton() ... yes (using )
Checking for network ... yes
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for word size ... 32
Checking for malloc.h ... no
Checking for memalign() ... no
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using )
Checking for w32threads ... no (using pthread instead)
Checking for rpath ... no
Checking for iconv ... yes
Checking for soundcard.h ... no
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... no
Checking for dvd.h ... no
Checking for termcap ... yes (using -lncurses)
Checking for termios ... yes (sys/termios.h)
Checking for shm ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for POSIX select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for sys/sysinfo.h ... no
Checking for Mac OS X APIs ... yes
Checking for Mac OS X Finder Support ... no
Checking for Mac OS X Bundle file locations ... no
Checking for Apple Remote ... yes
Checking for pkg-config ... yes
Checking for Samba support (libsmbclient) ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for tdfxvid ... no
Checking for xvr100 ... no
Checking for tga ... yes
Checking for md5sum support ... yes
Checking for bl ... no
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/X11R6/include)
Checking for X11 ... yes
Checking for Xss screensaver extensions ... no
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for XvMC ... no
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for XF86keysym ... yes
Checking for DGA ... no
Checking for 3dfx ... no
Checking for OpenGL ... yes
Checking for VIDIX ... no
Checking for VIDIX PCI device name database ... yes
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... no
Checking for DVB ... no
Checking for DVB HEAD ... no
Checking for zr ... no
Checking for PNG support ... yes
Checking for JPEG support ... no
Checking for PNM support ... yes
Checking for GIF support ... no
Checking for VESA support ... no
Checking for SDL ... yes (using sdl-config)
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out ... no
Checking for V4L2 MPEG Decoder ... no
Checking for OSS Audio ... no
Checking for aRts ... no
Checking for EsounD ... no
Checking for pulse ... no
Checking for JACK ... no
Checking for OpenAL ... yes
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for VCD support ... yes
Checking for dvdread ... yes (internal)
Checking for internal libdvdcss ... yes
Checking for cdparanoia ... no
Checking for libcdio ... no
Checking for bitmap font support ... yes
Checking for freetype >= 2.0.9 ... no
Checking for fontconfig ... no (freetype support needed)
Checking for SSA/ASS support ... no (FreeType support needed)
Checking for fribidi with charsets ... no
Checking for ENCA ... no
Checking for zlib ... yes
Checking for RTC ... no
Checking for liblzo2 support ... no
Checking for mad support ... no
Checking for Twolame ... no
Checking for Toolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... no
Checking for OggTheora support ... no
Checking for internal mp3lib support ... yes
Checking for internal liba52 support ... yes
Checking for libdca support ... no
Checking for internal libmpeg2 support ... yes
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC (AAC encoder) support ... no (in libavcodec: )
Checking for FAAD2 (AAC) support ... yes (internal floating-point)
Checking for LADSPA plugin support ... no
Checking for Win32 codecs ... yes (using /usr/local/lib/codecs)
Checking for XAnim codecs ... yes (using /usr/local/lib/codecs)
Checking for RealPlayer codecs ... yes (using /usr/local/lib/codecs)
Checking for QuickTime codecs ... yes
Checking for Nemesi Streaming Media libraries ... no
Checking for LIVE555 Streaming Media libraries ... no
Checking for FFmpeg libavutil ... yes (static)
Checking for FFmpeg libavcodec ... yes (static)
Checking for FFmpeg libavformat ... yes (static)
Checking for FFmpeg libpostproc ... yes (static)
Checking for libamr narrowband ... no
Checking for libamr wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for XviD ... no
Checking for x264 ... yes (in libavcodec: yes)
Checking for libnut ... no
Checking for libmp3lame (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UnRAR executable ... yes
Checking for TV interface ... yes
Checking for DirectShow TV interface ... no
Checking for Video 4 Linux TV interface ... no
Checking for Video 4 Linux 2 TV interface ... no
Checking for TV teletext interface ... no
Checking for Radio interface ... no
Checking for Capture for Radio interface ... no
Checking for Video 4 Linux 2 Radio interface ... no
Checking for Video 4 Linux Radio interface ... no
Checking for Video 4 Linux 2 MPEG PVR interface ... no
Checking for audio select() ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for byte order ... little-endian
Checking for OSD menu ... no
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for GUI ... no
Checking for automatic gdb attach ... no
Checking for compiler support for noexecstack ... no
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Checking for color console output ... no
Checking for DVD support (libdvdnav) ... no
Creating config.mak
Creating config.h

Config files successfully generated by ./configure --prefix=/Users/ulf/svnmp !

  Install prefix: /Users/ulf/svnmp
  Data directory: /Users/ulf/svnmp/share/mplayer
  Config direct.: /Users/ulf/svnmp/etc/mplayer

  Byte order: little-endian
  Optimizing for: pentium-m

  Languages:
    Messages/GUI: en
    Manual pages: en

  Enabled optional drivers:
    Input: ftp tv libdvdcss(internal) dvdread(internal) vcd network
    Codecs: x264 libavcodec qtx real xanim win32 faad2 libmpeg2 liba52
mp3lib tremor(internal)
    Audio output: openal sdl mpegpes(file) macosx
    Video output: sdl pnm png mpegpes(file) opengl xv x11 xover md5sum
tga macosx quartz
    Audio filters:
  Disabled optional drivers:
    Input: dvdnav vstream pvr radio tv-teletext tv-v4l2 tv-v4l1
tv-dshow live555 nemesi cddb cdda dvb smb
    Codecs: xvid libdv libamr_wb libamr_nb faac musepack libdca
libtheora speex toolame twolame libmad liblzo gif
    Audio output: sun alsa jack pulse esd arts oss v4l2 ivtv dxr2 nas
    Video output: v4l2 ivtv dxr3 dxr2 vesa gif89a jpeg zr zr2 fbdev
svga caca aa ggi xmga mga xvidix winvidix cvidix 3dfx dga xvmc dfbmga
directfb bl xvr100 tdfx_vid s3fb tdfxfb
    Audio filters: ladspa

*message at end of ./configure output removed*

/Ulf



More information about the MPlayer-users mailing list