PDA

View Full Version : MPlayer: Compiling optional drivers, codecs/input/output


nfm
29th May 2007, 07:40
I have been using mplayer for some time now, I always tried it to compile with as much of features as possible thinking that I may use them later. This is an output from ./configure:
Enabled optional drivers:
Input: ftp pvr tv-v4l2 tv-v4l tv libdvdcss(internal) dvdread(internal) vcd dvb smb network
Codecs: xvid libdv libavcodec real xanim faad2 faac musepack libmpeg2 liba52 mp3lib libtheora speex tremor(internal) twolame libmad liblzo
Audio output: alsa openal esd oss nas sdl mpegpes(dvb)
Video output: xvidix cvidix md5sum sdl pnm jpeg png mpegpes(dvb) opengl xv x11 xover tga
Audio filters: ladspa
Disabled optional drivers:
Input: dvdnav vstream radio live555 cddb cdda
Codecs: qtx x264 libamr_wb libamr_nb win32 toolame gif
Audio output: sun jack polyp arts ivtv dxr2
Video output: winvidix bl zr zr2 ivtv dxr3 dxr2 vesa gif89a fbdev svga caca aa ggi xmga mga dga xvmc dfbmga directfb tdfx_vid s3fb tdfxfb 3dfx
Audio filters:
Ignore x264 for now since I could not download source.

The problem is that I never been able to compile with 'libamr_wb libamr_nb'. I can't find source/headers anywhere. same thing with vstream. I'm not familiar with other features such as radio or live555, can someone help me getting missing headers? What viedo output plugin do ou guys use on linux with nvidia drivers, (opengl or x11/xv)?

nfm
3rd June 2007, 05:22
I'm getting closer, 'radio' and 'libamr' are the ones left. gif dev package is broken on Ubuntu. Here are prerequisites for optional features (Ubuntu):
sudo apt-get install libmpcdec-dev libspeex-dev liblzo2-dev libtwolame-dev libxvidcore4-dev libvorbis-dev \
libsdl1.2-dev libasound2-dev libfaac-dev libfaad2-dev libdvdread-dev libdvdnav-dev libdv4-dev libtheora-dev \
libmad0-dev libopenal-dev libsmbclient-dev ladspa-sdk libxv-dev libjack0.100.0-dev libcdparanoia0-dev \
liblame-dev libjpeg62-dev libdts-dev liblivemedia-dev
I had to get vstream-client and x264 from the net and compile them. Here's what I get now './configure --enable-gui --enable-menu --enable-qtx --enable-dvdnav':
Enabled optional drivers:
Input: dvdnav vstream ftp pvr tv-v4l2 tv-v4l tv live555 cddb cdda libdvdcss(internal) dvdread(internal) vcd dvb smb network
Codecs: qtx x264 xvid libdv libavcodec real xanim faad2 faac musepack libmpeg2 liba52 mp3lib libtheora speex tremor(internal) twolame libmad liblzo
Audio output: alsa openal jack esd oss sdl mpegpes(dvb)
Video output: xvidix cvidix md5sum sdl pnm jpeg png mpegpes(dvb) opengl xv x11 xover tga
Audio filters: ladspa
Disabled optional drivers:
Input: radio
Codecs: libamr_wb libamr_nb win32 toolame gif
Audio output: sun polyp arts ivtv dxr2 nas
Video output: winvidix bl zr zr2 ivtv dxr3 dxr2 vesa gif89a fbdev svga caca aa ggi xmga mga dga xvmc dfbmga directfb tdfx_vid s3fb tdfxfb 3dfx
Audio filters:

Lokean
5th June 2007, 22:42
For AMR, you need the libraries from http://www.penguin.cz/~utx/amr