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.
Add support for option to select bestvideo quality and preserve audio track #24303
Comments
|
Have you read format selection section at all? |
|
What if I want to select best video based on video quality, but by preserving audio track ? |
By default youtube-dl provides wide range of options to select specific format, however -
-f bestnot always downloads best quality video. I have tried quite many other alternatives, but if you specify-f bestvideo, bestaudio- then audio is download in separate from video, or you need to have ffmpeg toolset installed.I would prefer that it would be possible to select best video and preserve any audio, which was originally in youtube video.
youtube-dl.exe -f "(mp4)[width>=1920],keep" https://www.youtube.com/watch?v=O_t3w_jyrGQhere is an example of command line, from my perspective it should download best video, and preserve audio. External tools (ffmpeg) should not be required.