Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
youtube-dl complains about outdated avconv on Debian #10673
Comments
|
Yeah it's a known bug. #8720 tries to fix it but there are still some problems. |
|
Been Strugling with this warning. If this can temporary help as it remove your warning and install latest version
|
|
I've submitted a new PR to fix this, #15108. I took a slightly more sophisticated approach than #8720. It works like this: If the user doesn't express a preference between ffmpeg and avconv, examine the versions of those programs. If avconv is outdated, but ffmpget isn't outdated, us ffmpeg. In all other cases, continue to default to avconv. |
|
would it be viable, including the following check (writing it in bash): if [ $(avconv 2>&1 | head -n1 | grep -o '^.*?\>')==ffmpeg ]
then
echo prefer-ffmpeg
fiI mean: the system clearly prefers ffmpeg, since avconv is symlinked to it. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.09.15. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add
-vflag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Description of your issue, suggested solution and other information
On Debian, avconv and friends get symlinked to ffmpeg when you have ffmpeg installed, instead of libav.
youtube-dl therefore tries to use avconv preferentially by default, but notices the version string is not what it would prefer, yielding things like the above log, where it concludes the version of avconv is stale, and changes its behavior.
I can work around this by defining --prefer-ffmpeg in ~/.config/youtube-dl.conf, but it would be nice if youtube-dl could, in addition to parsing the version string out of the first line of the {av,ff}* utilities, parse the utility name out of the first line, and decide that it's not executing the utility it thinks it is (e.g. determining that libav is not actually available on the system when avconv/avplay/etc report ffmpeg/ffplay/..., versus reporting the same version string for both).