Wednesday, October 6, 2010

Installing ffmpeg and mplayer from source - LOTS of codecs (including w32) on Ubuntu maverick

apt-get source ffmeg
apt-get install build-dep ffmpeg


apt-get install "insertadditionaldepends"

cd ffmpeg-x.y-whatever
./configure --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-bzlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-zlib --enable-sram
make
sudo make install
sudo nano /etc/ld.so.conf.d/myincludes.d
#(add /usr/local/lib/)
#ffmpeg fails otherwise
sudo ldconfig
apt-get source mplayer
#i didn't get build-deps here because it pulls in a BUNCH of gui stuff i didn't want
cd mplayer-x.y-whatever
./configure --disable-libdvdcss-internal --disable-dvdread-internal
make
sudo make install
 and ---dum da dum it all works(all the command line stuff anyway, if you want guis go back to the build-deps step that i skipped and add --enable-gui to the mplayer ./configure)

Thoughts or problems?  I could add libnut, but my ISP firewalls svn and git...so...

No comments:

Post a Comment