Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

i try to compile ffmpeg in ubuntu 12.04 with this tuto But i had a error with a library so i use this to solve it:

sudo apt-get update
sudo apt-get -y install build-essential checkinstall git libfaac-dev libgpac-dev \
  libjack-jackd2-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev \
  libsdl1.2-dev libtheora-dev libva-dev libvdpau-dev libvorbis-dev libx11-dev \
  libxfixes-dev texi2html yasm zlib1g-dev

and this

cd git clone git://git.videolan.org/x264 cd x264 ./configure --enable-static make sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | \ awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \ --fstrans=no --default

then i have a problem with another library so i use a apt-get install to add libgsm1-dev, then i could install it, but now when i tried to execute it said: ffmpeg: relocation error: /usr/local/lib/libavfilter.so.3: symbol swr_get_class, version LIBSWRESAMPLE_0 not defined in file libswresample.so.0 with link time reference So i look for help, and tried

export LD_LIBRARY_PATH=/usr/local/lib

and sudo ldconfig -v but it didn't work, could you help me? Thz

PS:When i tried to install WINFF with synaptic or apt-get it said that it will install ffmpeg.

Hello i tried but i have another error:

ffmpeg: error while loading shared libraries: libx264.so.120: cannot open shared object file: No such file or directory

so i make a:

sudo find /usr -iname 'libx264.so.*'

but i had a newest version:


What i could do?

Thz, LordNeckbeard the link that you post move me to AACEncodingGuide, but if is the guide in the oficcial web i used it too, thz

share|improve this question
Sounds like a version mismatch somewhere...I'd recommend recompiling ffmpeg from scratch, or are you doing that already? –  rogerdpack Sep 30 '13 at 15:28
What a mess. See FFmpeg Wiki: How to Compile FFmpeg on Ubuntu. –  LordNeckbeard Oct 2 '13 at 20:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.