Enabling lame for ffmpeg when converting mpg to flv
Athough more extensive directions can be found here, I had a hard time using it without getting a bunch of errors in the process, so I've set up this up as a guide that worked for me. I'm assuming you are using Intrepid Ubuntu on a 32-bit machine. Make sure you have enabled multiverse, universe, and the various source code repos.
On the command line:
Assuming everything goes through:
Then finally,
To test your installation:
On the command line:
sudo apt-get remove ffmpeg
wget http://ffmpeg.mplayerhq.hu/ffmpeg-export-snapshot.tar.bz2
tar jxvf ffmpeg-export-snapshot.tar.bz2
cd ffmpeg-*/
sudo apt-get install liba52-dev libdts-dev libgsm1-dev libvorbis-dev libxvidcore4 libxvidcore-dev libdc1394-22-dev libfaac-dev libmp3lame-dev libx264-dev libfaad-dev libtheora-dev libsdl1.2-dev
./configure --prefix=/usr/local --disable-debug --enable-shared --enable-gpl --enable-postproc --enable-swscale --enable-pthreads --enable-x11grab --enable-libdc1394 --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libxvid
Assuming everything goes through:
make
sudo make install
Then finally,
export LD_LIBRARY_PATH=/usr/local/lib/
To test your installation:
ffmpeg -version
Comments