Results 1 to 2 of 2

Thread: ffmpeg 2.0 installation in Ubuntu

  1. #1
    Join Date
    Nov 2009
    Beans
    84

    ffmpeg 2.0 installation in Ubuntu

    Hi,

    I compiled ffmpeg 2.0 as per the guide in Ubuntu 13.04

    http://ffmpeg.org/trac/ffmpeg/wiki/U...mpilationGuide

    Now the binaries are installed in ~/bin and other related files are in ~/ffmpeg_build/{include, lib, share}

    How can I move these into the default installation locations such as /usr/local without conflicting (if any) with the avconv installed from Ubuntu repository?

    Thanking You,
    Ras

  2. #2
    Join Date
    Sep 2006
    Beans
    3,589

    Re: ffmpeg 2.0 installation in Ubuntu

    If you just want the binary you can simply use checkinstall:
    Code:
    sudo checkinstall --pkgname=ffmpeg2 --pkgversion="2.0" --default --backup=no install -Dm755 ~/bin/ffmpeg /usr/local/bin/ffmpeg
    hash -r
    This will add a ffmpeg2 package to your package management system. It may still cause issues for packages that directly use the ffmpeg binary supplied by the so-called "ffmpeg" package.

    Another method is to move the files wherever you want and add the directory to your path: How to add a directory to my path?

    Note that the guide you linked to will install the most recent ffmpeg code, and not necessarily a particular release. This is just fine for normal users since the releases are generally used by distros.
    Last edited by FakeOutdoorsman; July 20th, 2013 at 08:25 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •