7

Background :

I used ffmpeg to merge two videos side by side. First I install ffmpeg by following command as it suggest by Ubuntu itself.

sudo apt-get install libav-tools

or

sudo apt-get install ffmpeg

But then I realize it is not the correct version since it doesn't support for -filter_complex and few other functions.

After a few hours researcher I found real ffmpeg and I succeed with video conversion as well. As per that article, it is suggesting we need to build it our own.

https://trac.ffmpeg.org/wiki/UbuntuCompilationGuide

Question :

What is easiest way to install that ffmpeg version (which is support for -filter_complex ) without following all those steps ?

  • Do you insist on using ffmpeg for merging two videos or a better tool having a GUI will be fine? – jobin Feb 26 '14 at 12:00
  • I need to do it in programmatic way not manually. I have tried gstreamer as well. – Janith Chinthana Feb 26 '14 at 12:18
  • 2
    You can try this builds already compiled: ffmpeg.gusari.org/static – bob Feb 26 '14 at 13:06
  • alternatively, I suggest WinFF winff.org/html_new which supports ffmpeg command line – bob Feb 26 '14 at 13:09
10

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

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.