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.
Merge issues due to outdated avconv #5661
Comments
|
It's a good idea.
I would prefer to avoid this option, it would make the code more complicated. I consider libav not being able to merge them into webm their bug and we shouldn't handle it specially; the user should either update libav or manually choose the output format. On 10.6 everything works the same except webm output, could it be caused by the configuration/libraries used? |
|
Forgot to mention, tests were (yet) performed on Windows only with original builds from here that ship all the necessary libs. So I doubt some misconfiguration/libs can affect the results. |
|
I encountered the same problem after updating youtube-dl . It looks to me as if the option Former youtube-dl appeared to download the best available mp4 (audio+video) by default, but now it downloads audio and video separately and then tries to merge the two using |
Ok. Maybe it's caused because they added the native Opus decoder in version 11 and the VP9 in 10. @Wikinaut youtube-dl now uses |
|
@jaimeMF thank you for swift reply and for the pointer to the detailed explanation in the FORMAT SELECTION readme, which I did not read when having this problem. The youtube-dl issue is solved for me, thanks. Also, the information about a way to set (The problem (on my computer) which brought up that problem is a problem with avconv and some libraries which are by some way not compatible with my current ffmpeg version. I have to fix this, too. No answer needed.) |
After switching to
-f bestvideo+bestaudio/bestas default format selection strategy we receive some bugreports caused by outdated avconv (e.g. #5659 #5595) (and probably ffmpeg). It would probably be reasonable to tweak format selection logic a bit, e.g. enable-f bestvideo+beastaudio/bestonly if merger version is new enough (capable of actual merging) and fallback to-f bestotherwise.I did some investigations with original Windows builds and here are the results.
Test video: http://www.youtube.com/watch?v=ScMOyURq9os
Test formats:
Results:
With libav 0.8.17 it's even worse.
So, we can for example:
-f bestif avconv is older than 10 and if avconv is 10 - force merge output format to mkv ifbestvideo+bestaudioturns out to be webm+webm.-f bestif avconv is older than 11.