I want to start watching the downloading file immediately, so if youtube-dl downloads video and audio separately I'll be foiled. I.e, I want youtube-dl to choose the best format that has both video and audio.
Asked
Active
Viewed 500 times
-1
-
5Possible duplicate of [Can I directly download audio using youtube-dl?](https://askubuntu.com/questions/423508/can-i-directly-download-audio-using-youtube-dl) – xiota May 09 '18 at 08:12
-
`youtube-dl -f 'bestaudio[ext=m4a]' "http://youtu.be/hTvJoYnpeRQ"` – xiota May 09 '18 at 08:17
1 Answers
1
From the project's README:
If you want to preserve the old format selection behavior (prior to youtube-dl 2015.04.26), i.e. you want to download the best available quality media served as a single file, you should explicitly specify your choice with
-f best.
Tom Brossman
- 12,953
- 11
- 66
- 134