How do you install avconv on Ubuntu 18.04?

30,353

Solution 1

sudo apt-get install ffmpeg

The sub-mentioned command installs all what should be contained within avconv

In fact, the python script used contains a call to avconv. I replaced avconv mnemonic by ffmpeg and it worked.

Solution 2

Try:

sudo apt install -y libav-tools

or:

sudo apt-get install -y libav-tools
Share:
30,353

Related videos on Youtube

YellowishLight
Author by

YellowishLight

Pursuing a PhD degree in Artificial Intelligence (Computer Science)

Updated on September 18, 2022

Comments

  • YellowishLight
    YellowishLight almost 2 years

    I am trying to install avconv by running the following command, but the library doesn't exist anymore for Ubuntu 18.04.

    sudo apt-get install avconv 
    

    It is told on other Ubuntu forums to replace the command by the following :

    sudo apt-get install ffmpeg
    

    But it doesn't contain libraries that can be used for sk-video

    • Abdullah Khan
      Abdullah Khan almost 5 years
      I am building from the binaries that requires avconv and not ffmeg. How to go about it? Would creating a symlink work in my case? how can i create a symlink?
    • HiTechHiTouch
      HiTechHiTouch over 4 years
      A touch confusing... The question is really "Since the avconv package went away with 18.04, where can I find it?" And the answers are "use ffmeg instead"... However, avconv seems to do some things that ffmeg can not, so if you need it, then you also need the answer to the original question "from where can I install avconv".
    • David Ljung Madison Stellar
      David Ljung Madison Stellar about 3 years
      The history of ffmpeg and avconv is a lurid and fascinating one and worth a read. The distro pretty much went from ffmpeg to avconv and back to ffmpeg. And there were some crazy politics behind it as well. Worth a web search and read if you're really curious - but more to the point, for the vast majority, ffmpeg does everything you need and you can generally just replace 'avconv' with 'ffmpeg' everywhere (as we were pushed to do in the other direction some years back).
  • Ng Sek Long
    Ng Sek Long almost 5 years
    Some application will get depressed when you didn't provide them with exactly avconv and avprobe, you can make them happy by cd /usr/bin && sudo ln ffmpeg avconv && sudo ln ffmpeg avprobe after your installation of ffmepg
  • Tomas Votruba
    Tomas Votruba over 4 years
    @NgSekLong Thank you! This should be part of the answer to make it fully work. I'm on Ubuntu 19.
  • Berkant Ipek
    Berkant Ipek about 3 years
    There is no libav-tools anymore, reporting from Ubuntu 20.04.
  • jeferod83
    jeferod83 over 2 years
    Ubuntu 16.04 now working avconv installing this package. Thanks!
  • s.ouchene
    s.ouchene about 2 years
    According to wikipedia, Libav is an abandoned project. (the final release was on Feb 2018).