Install ffmpeg in Ubuntu 12.04 LTS

Solution 1:

The ffmpeg versions available in the Ubuntu repositories may not be up to date. Therefore, if you want the latest features, download the latest ffmpeg static build (32/64) with given link and follow the instructions.

http://johnvansickle.com/ffmpeg/

  • Download and extract the latest archive:

    wget https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-64bit-static.tar.xz
    tar xvf ffmpeg-git-*.tar.xz
    
  • Place the ffmpeg and other binaries whereever you need to run that command, for example into /usr/local/bin in order to have it to your $PATH:

    cd ./ffmpeg-git-*
    sudo cp ff* qt-faststart /usr/local/bin/
    
  • Run ffmpeg using: ffmpeg