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.
Download video and audio from YouTube in a single step without muxing them together #3793
Comments
|
As is the convention for many shell programs, the latest option ( SInce youtube-dl 2014.09.18 (type |
|
Excellent. I will try the last youtube-dl version after my next system update cycle. |
I currently download videos from YouTube with two steps: video stream first and then audio stream. I'd like instead to download video and audio streams from YouTube with a single invocation of the
youtube-dlcommand, so the webpage needs to be fetched just one time. I also prefer not to mux streams them together with ffmpeg/avconv because I experienced synchronization issues in the past. Keeping them separate is fine for me because I use mplayer's-audiofileoption, even if it's a little bit inconvenient. What I have in mind is something like this (for a 1080p Dash video and 128k Dash audio):Instead of:
In the former example
youtube-dljust ignores the first instance of the-foption and it only downloads the audio stream.