Automatically Update FFMPEG and x264 From Source / SVN In Ubuntu

Whenever I wish to install and use the rather excellent video and audio transcode programs ffmpeg and x264 I have used FakeOutdoorsman’s excellent How To from the Ubuntu Forums. However, constantly typing out all the commands, especially when updating, is a pain in the arse.

I thus decided, with FakeOutdoorsman’s permission, to write some scripts to automate the task. They are, I hope, fairly comprehensive and allow a user to build and install the latest version of ffmpeg and x264, from source for Ubuntu Hardy, Intrepid, Jaunty, Karmic and Lucid. They allow this to be done automatically, after a few questions have been answered.

There are four scripts in total, one for the initial install, one for keeping everything up-to-date, one to reverse the changes with minimal impact and one to completely reverse all changes (this one I recommend no-one using, hence it is depreciated, but it is there in case some one wants it).

I am certainly not the best at bash, but I have done lots of Googling and I think the script is fairly robust, though I am sure there are errors.

I will be adding to the script over time, adding new features, combining things, adding better error checking etc, so for now consider them BETA releases. They have been tested on Lucid and Karmic only, but they appeared to work.

Please submit any questions here or at the project hosting page.

So, where are the files?

You can get all the scripts here:

http://code.google.com/p/x264-ffmpeg-up-to-date/

Have fun!

Friday, April 16th, 2010 Code, Scripts, Transcode

3 Comments to Automatically Update FFMPEG and x264 From Source / SVN In Ubuntu

  1. For x264 i need to use ./configure –disable-asm due to my AMD Thunderbird CPU. How should I best implement this in your script?

  2. kingfisher on April 17th, 2010
  3. Worked perfectly on ubuntu jaunty, thank you.

  4. Somer on November 13th, 2010
  5. Hi!

    I use your script since a while, thank you!

    Yesterday i tried to update, but the script ffmpegupv1.9.sh returns:


    Now updating x264.
    ////Done
    x264 updated.

    Now updating ffmpeg.
    -ffmpeg: error running svn update
    Done
    ffmpeg updated.

    That’s it, all done.

    With ffmpeginv1.4.sh is everything all right:


    installing dependencies
    //Done

    downlading, building and installing x264
    ////Done

    downloading, building and installing ffmpeg
    ///////////////////////////////Done

    Any idea?

  6. Adam on January 26th, 2011

Leave a comment

 

Search

 
If you like what you read, please donate via PayPal;)

Support Me

Get a free Giffgaff Sim

Sponsors

Sponsors