Homebrew’s package index. May 24, 2021 Go to your youtube-dl folder and run youtube-dl-gui.exe. At first, you’ll see their license agreement, the simplest one ever to read. Just click on Yes. Then you get a message concerning where to save your downloads. Choose No to download to your default download folder or Yes if you want to specify a folder.
Here are all the youtube-dl format codes I can find.Please let me know if there are more.
You can pass them to youtube-dl as --format a+b/c+d/e
,where a+b is your preferred video+audio pair, c+d is your second-bestpreference, and e is your last resort.Don't forget the magic words like 'bestvideo', 'bestaudio' to round out your selection.
See https://github.com/ytdl-org/youtube-dl/blob/master/README.md#format-selection
There are more formats listed in youtube-dl's source code,but some of them seem to be obsolete and are no longer returned by -F
even when using the example video IDs listed there. I will only includecodes for which I have an example.
id | quality | codec | examples |
---|---|---|---|
571 | 4320p60 | AV1 | youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ |
272 | 4320p30 | VP9 | youtube-dl -F i6fWG4FxDZw |
337 | 2160p60 HDR | VP9 | youtube-dl -F 1La4QzGeaaQ |
401 | 2160p60 | AV1 | youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ |
305 | 2160p60 | AVC | youtube-dl -F -xNN-bJQ4vI |
315 | 2160p60 | VP9 | youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI |
266 | 2160p30 | AVC | youtube-dl -F -xNN-bJQ4vI i6fWG4FxDZw |
313 | 2160p30 | VP9 | youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
336 | 1440p60 HDR | VP9 | youtube-dl -F 1La4QzGeaaQ |
400 | 1440p60 | AV1 | youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ |
304 | 1440p60 | AVC | youtube-dl -F -xNN-bJQ4vI |
308 | 1440p60 | VP9 | youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI |
264 | 1440p30 | AVC | youtube-dl -F -xNN-bJQ4vI i6fWG4FxDZw |
271 | 1440p30 | VP9 | youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
335 | 1080p60 HDR | VP9 | youtube-dl -F 1La4QzGeaaQ |
399 | 1080p60 | AV1 | youtube-dl -F 1La4QzGeaaQ |
299 | 1080p60 | AVC | youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI |
303 | 1080p60 | VP9 | youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI |
137 | 1080p30 | AVC | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
248 | 1080p30 | VP9 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
334 | 720p60 HDR | VP9 | youtube-dl -F 1La4QzGeaaQ |
398 | 720p60 | AV1 | youtube-dl -F 1La4QzGeaaQ |
298 | 720p60 | AVC | youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI |
302 | 720p60 | VP9 | youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI |
136 | 720p30 | AVC | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
247 | 720p30 | VP9 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
333 | 480p60 HDR | VP9 | youtube-dl -F 1La4QzGeaaQ |
397 | 480p30 | AV1 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ |
135 | 480p30 | AVC | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
244 | 480p30 | VP9 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
332 | 360p60 HDR | VP9 | youtube-dl -F 1La4QzGeaaQ |
396 | 360p30 | AV1 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ |
134 | 360p30 | AVC | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
243 | 360p30 | VP9 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
331 | 240p60 HDR | VP9 | youtube-dl -F 1La4QzGeaaQ |
395 | 240p30 | AV1 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ |
133 | 240p30 | AVC | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
242 | 240p30 | VP9 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
330 | 144p60 HDR | VP9 | youtube-dl -F 1La4QzGeaaQ |
394 | 144p30 | AV1 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ |
160 | 144p30 | AVC | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
278 | 144p30 | VP9 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
id | quality | codec | examples |
---|---|---|---|
305 | 2160p60 | AVC | youtube-dl -F -xNN-bJQ4vI |
266 | 2160p30 | AVC | youtube-dl -F -xNN-bJQ4vI i6fWG4FxDZw |
304 | 1440p60 | AVC | youtube-dl -F -xNN-bJQ4vI |
264 | 1440p30 | AVC | youtube-dl -F -xNN-bJQ4vI i6fWG4FxDZw |
299 | 1080p60 | AVC | youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI |
137 | 1080p30 | AVC | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
298 | 720p60 | AVC | youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI |
136 | 720p30 | AVC | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
135 | 480p30 | AVC | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
134 | 360p30 | AVC | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
133 | 240p30 | AVC | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
160 | 144p30 | AVC | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
id | quality | codec | examples |
---|---|---|---|
272 | 4320p30 | VP9 | youtube-dl -F i6fWG4FxDZw |
337 | 2160p60 HDR | VP9 | youtube-dl -F 1La4QzGeaaQ |
315 | 2160p60 | VP9 | youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI |
313 | 2160p30 | VP9 | youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
336 | 1440p60 HDR | VP9 | youtube-dl -F 1La4QzGeaaQ |
308 | 1440p60 | VP9 | youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI |
271 | 1440p30 | VP9 | youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
335 | 1080p60 HDR | VP9 | youtube-dl -F 1La4QzGeaaQ |
303 | 1080p60 | VP9 | youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI |
248 | 1080p30 | VP9 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
334 | 720p60 HDR | VP9 | youtube-dl -F 1La4QzGeaaQ |
302 | 720p60 | VP9 | youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI |
247 | 720p30 | VP9 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
333 | 480p60 HDR | VP9 | youtube-dl -F 1La4QzGeaaQ |
244 | 480p30 | VP9 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
332 | 360p60 HDR | VP9 | youtube-dl -F 1La4QzGeaaQ |
243 | 360p30 | VP9 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
331 | 240p60 HDR | VP9 | youtube-dl -F 1La4QzGeaaQ |
242 | 240p30 | VP9 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
330 | 144p60 HDR | VP9 | youtube-dl -F 1La4QzGeaaQ |
278 | 144p30 | VP9 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw |
id | quality | codec | examples |
---|---|---|---|
571 | 4320p60 | AV1 | youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ |
401 | 2160p60 | AV1 | youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ |
400 | 1440p60 | AV1 | youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ |
399 | 1080p60 | AV1 | youtube-dl -F 1La4QzGeaaQ |
398 | 720p60 | AV1 | youtube-dl -F 1La4QzGeaaQ |
397 | 480p30 | AV1 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ |
396 | 360p30 | AV1 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ |
395 | 240p30 | AV1 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ |
394 | 144p30 | AV1 | youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ |
id | quality | codec | examples |
---|---|---|---|
258 | 386k | m4a | youtube-dl -F NMANRHz4UAY |
256 | 195k | m4a | youtube-dl -F NMANRHz4UAY |
251 | 160k | Opus | youtube-dl -F S8Zt6cB_NPU |
140 | 128k | m4a | youtube-dl -F S8Zt6cB_NPU |
250 | 70k | Opus | youtube-dl -F S8Zt6cB_NPU |
249 | 50k | Opus | youtube-dl -F S8Zt6cB_NPU |
id | quality | codec | examples |
---|---|---|---|
22 | 720p30+128k | AVC+m4a | youtube-dl -F S8Zt6cB_NPU |
18 | 360p30+96k | AVC+m4a | youtube-dl -F S8Zt6cB_NPU |
This document is generated programmatically.
youtube-dl is an amazing and useful command line utility to download videos from YouTube, Vimeo, and more. This articles is about how to install youtube-dl on Windows, Linux, and Mac OSX. youtube-dl is written in Python
so it’s also referred to as youtube-dl.py or youtube-dl.exe when compiled on Windows.
youtube-dl depends on ffmpeg
or avconv
for video transcoding and audio/video merging. We will install ffmpeg in this tutorial since it can be installed via choco
on Windows.
DigitalOcean offers one-click deployment of popular applications such as WordPress, Django, MongoDB, Docker, and even preconfigured Kubernetes Clusters. Deploy your next app in seconds. Get $100 in cloud credits from DigitalOcean
Ad NoticeI will receive a small commission that helps support this blog at no cost to you.
youtube-dl can be installed on most Linux distributions using the built-in package manager (apt, yum, etc).
This method assumes you already have python and pip installed
Lets give it a try by downloading a youtube video from the command line.
Here are the video file’s properties and the downloaded video
Although the name implies that youtube-dl only works for downloading videos from youtube, I was shocked to discover it supports over 1,000 other websites. Some popular ones include….