Sunday 20 March 2016

youtube-dl avconv error when downloading video update Ubuntu libav-tools

Sometimes runnign youtube-dl to download video from a web page will give an error warning about your avconv being out of date, and suggesting that you upgrade.  Recently mine has been telling me to upgrade to  version 10 or later.  but Elementary (Ubuntu 14.04 based repository) was only on version 9.18-6:9.18

A post on the Ubuntu forums:
http://askubuntu.com/questions/563245/avconv-warning-while-downloading-youtube-video
had the answer.

There is a PPA available (at 20 March 2016) and running the following commands added it and updated my avconv.

sudo add-apt-repository ppa:heyarje/libav-11 && sudo apt-get update
sudo apt-get install libav-tools
Now, entering avconv -version in a terminal window tells me:

radu$ avconv -version
avconv version 11.3-6:11.3-1~trusty, Copyright (c) 2000-2014 the Libav developers
  built on Apr 13 2015 22:25:55 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
avconv 11.3-6:11.3-1~trusty
libavutil     54.  3. 0 / 54.  3. 0
libavcodec    56.  1. 0 / 56.  1. 0
libavformat   56.  1. 0 / 56.  1. 0
libavdevice   55.  0. 0 / 55.  0. 0
libavfilter    5.  0. 0 /  5.  0. 0
libavresample  2.  1. 0 /  2.  1. 0
libswscale     3.  0. 0 /  3.  0. 0
radu$


No comments:

Post a Comment