Results 1 to 10 of 10

Thread: Install my own ffmpeg without popping out upgrading info.

  1. #1
    Join Date
    Jul 2006
    Location
    Surrey, BC, Canada
    Beans
    225
    Distro
    Ubuntu

    Install my own ffmpeg without popping out upgrading info.

    Hi, all:

    I installed ffmpeg from source. I seriously don't like the version of ffmpeg from current repository of Ubuntu 12.10 . I even specified a higher version number of my own ffmpeg. However, still, Ubuntu 12.10 frequently reports and asks me to upgrade my ffmpeg.

    Is there a method that I can avoid such upgrading notification for a particular package? I mean, maybe I'd love some other packages to be upgraded, but not this particular one "ffmpeg" ?


    Cheers
    Pei
    Welcome to Vision Open
    http://www.visionopen.com

  2. #2
    Join Date
    Jun 2007
    Beans
    12,300

    Re: Install my own ffmpeg without popping out upgrading info.


  3. #3
    Join Date
    Dec 2011
    Beans
    646
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Install my own ffmpeg without popping out upgrading info.

    Hi:

    I looked up "alternatives to ffmpeg" and found a few articles-
    Hope this helps-

    http://stackoverflow.com/questions/6...deo-thumbnails

    http://stackoverflow.com/questions/9...ffmpeg-for-ios

    http://drupal.org/node/127212

    And here are other freeware applications and other alternatives to choose from:
    http://www.techsupportalert.com/

    I don't think there is another method where you could avoid upgrading-
    "A morning w/o coffee is like something w/o something else"


    -:- Slackware, Linux Mint & Elementary OS Freya -:-


  4. #4
    Join Date
    Dec 2006
    Beans
    7,309

    Re: Install my own ffmpeg without popping out upgrading info.

    Have a look at the use of checkinstall here:

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

    Specifically the --pkgversion option...
    You think that's air you're breathing now?

  5. #5
    Join Date
    Sep 2006
    Beans
    3,707

    Re: Install my own ffmpeg without popping out upgrading info.

    The important number, last I checked, is the epoch: Debian Policy Manual. You can probably use an arbitrarily high number or cross-reference a package search and use a value that is at least one number higher.

    Code:
    --pkgversion="7:$(date +%Y%m%d%H%M)-git"
    Last edited by FakeOutdoorsman; February 5th, 2013 at 12:58 AM.

  6. #6
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    11,508
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Install my own ffmpeg without popping out upgrading info.

    Isn't the easiest solution to install to /usr/local with "sudo make install", then remove the repository version with "sudo apt-get remove ffmpeg"? Then there won't be a package for the system to try and update.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  7. #7
    Join Date
    Jun 2007
    Beans
    12,300

    Re: Install my own ffmpeg without popping out upgrading info.

    Isn't the easiest solution to install to /usr/local with "sudo make install", then remove the repository version with "sudo apt-get remove ffmpeg"? Then there won't be a package for the system to try and update.
    Except then all the packages that depend on ffmpeg get removed too... The checkinstall method is probably the best idea.

  8. #8
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    11,508
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Install my own ffmpeg without popping out upgrading info.

    OK, that makes sense, though I have to say I find that aspect of package management on Ubuntu annoying. I encounter it from time to time when I want to remove a package temporarily for whatever reason and suddenly a dozen other packages are removed as well. Looking at the man page for apt-get I don't see any way to override this behavior either.

    My other solution in these cases is simply to leave the package installed knowing that /usr/local/bin precedes /usr/bin in my PATH. So if I install to /usr/local, I'll get my compiled version regardless of whether it also exists as a package. I've done this lately with mplayer2, where my copy of smplayer has /usr/local/bin/mplayer as the player path. The attraction of this approach is being able to compare the behavior of the two programs just by specifying the full path at the command prompt.
    Last edited by SeijiSensei; February 5th, 2013 at 02:17 AM.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  9. #9

    Re: Install my own ffmpeg without popping out upgrading info.

    for a static build the instructions here should produce a ffmpeg package that will not be seen as an upgrade to whatever your Ubuntu release's ffmpeg package is providing (may just be some symlinks to avconv, ect.
    https://ffmpeg.org/trac/ffmpeg/wiki/...mpilationGuide

    With checkinstall you can also name it whatever you want & or install to /opt (for standalone or other specific purposes the package does not need to be named just "ffmpeg", nor does the binary need to be named ffmpeg

  10. #10
    Join Date
    Jul 2006
    Location
    Surrey, BC, Canada
    Beans
    225
    Distro
    Ubuntu

    Re: Install my own ffmpeg without popping out upgrading info.

    Fantastic....

    Thank you...


    Cheers
    Pei

    Welcome to Vision Open
    http://www.visionopen.com

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
  •