FFMPEG normally doesn\'t build with codecs that require \"system dependencies\". That in particular applies to h.
264 codec, it can use it as input but not as ou tput. So in order to use it (in my case I wanted to used it as it was the same codec a s my input and I liked the results there) you must compile ffmpeg and libx264 fr om source. You might see in some places the \"solution\" of running ./configure --enable-encoder=libx264. This didn\'t work for me, it might have been something good for a previous version\'s configurefile. As of this post, the correct way is \"--enable-libx264 --enable-gpl\" but again, the repository version of libx246 i s outdated, so... First you must remove libx264-dev: sudo apt-get remove libx264-dev Get the latest x264 from vlc: wget ftp://ftp.videolan.org/pub/x264/snapshots/last_x264.tar.bz2 tar --bzip2 -xvf last_x264.tar.bz2 cd x264-snapshot-XXXXXXXX-XXXX/ sudo ./configure --enable-static sudo make sudo make install And finally get the ffmpeg sourcecode: cd ../ git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg cd ffmpeg/ If you don\'t have git, just download the release (for example 0.11.2) wget http://ffmpeg.org/releases/ffmpeg-0.11.2.tar.bz2 tar --bzip2 -xvf ffmpeg-0.11.2.tar.bz2 cd ffmpeg-0.11.2/ And then compile: sudo ./configure --enable-encoder=libx264 sudo make sudo make install