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 lacks an easy way to download best 4K format, adding sound and converting to mp4 #15593
Comments
|
youtube-dl does this by default out of the box if ffmpeg is installed. |
|
Can you please offer an example of how it works. I have ffmpeg installed. |
|
|
|
Really! I will give it a try. |
|
I am sorry, but this does not work on my machine as you say. I have recently updated youtube-dl to latest version. This example only downloaded the resolution 1280 x 676 mp4. No 4K video. Is this because for some reason youtube-dl has failed to detect that I have ffmpeg installed?
|
|
Here is my configuration
|
|
|
Remove avconv from |
|
Ok lets give that a go. |
|
I tried it but it only partially solves my problem. It does download the best 4K version and adds sound, but the V9 codec is not very portable. I won't be able to play it on my Playstation. Is there an easy way to make it re-encode with H.26x and make the container mp4? |
|
|
|
Thanks! will try later. Gotta go now. |
|
Finniarn did you successfully use recode video for your link? I failed anytime with zero warnings. Very strange |
A Better -best
It seems the -best option only selects streams which include both the video and sound in one container. However most UHD 4K is in a video only stream. If you want to watch 4K you have to merge it with the a separately downloaded sound stream. Also the youtube 4K format is more often than not webm, which is not very portable. Playstation consoles for example, cannot play it. It would be nice to have automatic conversion to mp4.
To solve this problem I created a utility wrapper for youtube-dl with the Eiffel programming language. See this article: https://groups.google.com/forum/#!topic/eiffel-users/DZHqE7EO3Ww
The nice thing about my tool is it very simple to use and just does this one thing well.
It would would be nice to see the youtube-dl development team making my utility redundant by improving youtube-dl. Or perhaps there is already a way to achieve what my utility does but I just didn't realise it?