Youtube-dl

    Table of contents
  1. Video formats

R/youtubedl: youtube-dl is a command-line program to download videos from YouTube.com and many other sites. It requires the Python interpreter, so. 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. GitHub repo now also hosting YouTube-dl's source code. Besides the huge number of new YouTube-dl repos that popped up since October 23, a copy of YouTube-dl's source code was also added to an.

It determines the binary filename. The default binary file could be youtube-dl or youtube-dl.exe, depending of the YOUTUBEDLPLATFORM value. It determines the architecture of the machine that will use the youtube-dl binary. The default value will computed from process.platform, being 'unix' or 'win32. See full list on wikihow.com.

Youtube-dl update

Here are all the youtube-dl format codes I can find.Please let me know if there are more.

Youtube-dl githubDownload youtube-dl - MajorGeeks

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

Cached

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 -Feven when using the example video IDs listed there. I will only includecodes for which I have an example.

Video formats (¶)

idqualitycodecexamples
5714320p60AV1youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ
2724320p30VP9youtube-dl -F i6fWG4FxDZw
3372160p60 HDRVP9youtube-dl -F 1La4QzGeaaQ
4012160p60AV1youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ
3052160p60AVCyoutube-dl -F -xNN-bJQ4vI
3152160p60VP9youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI
2662160p30AVCyoutube-dl -F -xNN-bJQ4vI i6fWG4FxDZw
3132160p30VP9youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
3361440p60 HDRVP9youtube-dl -F 1La4QzGeaaQ
4001440p60AV1youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ
3041440p60AVCyoutube-dl -F -xNN-bJQ4vI
3081440p60VP9youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI
2641440p30AVCyoutube-dl -F -xNN-bJQ4vI i6fWG4FxDZw
2711440p30VP9youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
3351080p60 HDRVP9youtube-dl -F 1La4QzGeaaQ
3991080p60AV1youtube-dl -F 1La4QzGeaaQ
2991080p60AVCyoutube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI
3031080p60VP9youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI
1371080p30AVCyoutube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
2481080p30VP9youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
334720p60 HDRVP9youtube-dl -F 1La4QzGeaaQ
398720p60AV1youtube-dl -F 1La4QzGeaaQ
298720p60AVCyoutube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI
302720p60VP9youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI
136720p30AVCyoutube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
247720p30VP9youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
333480p60 HDRVP9youtube-dl -F 1La4QzGeaaQ
397480p30AV1youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ
135480p30AVCyoutube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
244480p30VP9youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
332360p60 HDRVP9youtube-dl -F 1La4QzGeaaQ
396360p30AV1youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ
134360p30AVCyoutube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
243360p30VP9youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
331240p60 HDRVP9youtube-dl -F 1La4QzGeaaQ
395240p30AV1youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ
133240p30AVCyoutube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
242240p30VP9youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
330144p60 HDRVP9youtube-dl -F 1La4QzGeaaQ
394144p30AV1youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ
160144p30AVCyoutube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
278144p30VP9youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw

AVC only (¶)

idqualitycodecexamples
3052160p60AVCyoutube-dl -F -xNN-bJQ4vI
2662160p30AVCyoutube-dl -F -xNN-bJQ4vI i6fWG4FxDZw
3041440p60AVCyoutube-dl -F -xNN-bJQ4vI
2641440p30AVCyoutube-dl -F -xNN-bJQ4vI i6fWG4FxDZw
2991080p60AVCyoutube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI
1371080p30AVCyoutube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
298720p60AVCyoutube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI
136720p30AVCyoutube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
135480p30AVCyoutube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
134360p30AVCyoutube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
133240p30AVCyoutube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
160144p30AVCyoutube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw

VP9 only (¶)

idqualitycodecexamples
2724320p30VP9youtube-dl -F i6fWG4FxDZw
3372160p60 HDRVP9youtube-dl -F 1La4QzGeaaQ
3152160p60VP9youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI
3132160p30VP9youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
3361440p60 HDRVP9youtube-dl -F 1La4QzGeaaQ
3081440p60VP9youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI
2711440p30VP9youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
3351080p60 HDRVP9youtube-dl -F 1La4QzGeaaQ
3031080p60VP9youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI
2481080p30VP9youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
334720p60 HDRVP9youtube-dl -F 1La4QzGeaaQ
302720p60VP9youtube-dl -F 1La4QzGeaaQ -xNN-bJQ4vI
247720p30VP9youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
333480p60 HDRVP9youtube-dl -F 1La4QzGeaaQ
244480p30VP9youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
332360p60 HDRVP9youtube-dl -F 1La4QzGeaaQ
243360p30VP9youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
331240p60 HDRVP9youtube-dl -F 1La4QzGeaaQ
242240p30VP9youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw
330144p60 HDRVP9youtube-dl -F 1La4QzGeaaQ
278144p30VP9youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ -xNN-bJQ4vI i6fWG4FxDZw

AV1 only (¶)

idqualitycodecexamples
5714320p60AV1youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ
4012160p60AV1youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ
4001440p60AV1youtube-dl -F kFz9afj8lu0 1La4QzGeaaQ
3991080p60AV1youtube-dl -F 1La4QzGeaaQ
398720p60AV1youtube-dl -F 1La4QzGeaaQ
397480p30AV1youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ
396360p30AV1youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ
395240p30AV1youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ
394144p30AV1youtube-dl -F S8Zt6cB_NPU 1La4QzGeaaQ

Audio formats (¶)

Youtube-dl Github

idqualitycodecexamples
258386km4ayoutube-dl -F NMANRHz4UAY
256195km4ayoutube-dl -F NMANRHz4UAY
251160kOpusyoutube-dl -F S8Zt6cB_NPU
140128km4ayoutube-dl -F S8Zt6cB_NPU
25070kOpusyoutube-dl -F S8Zt6cB_NPU
24950kOpusyoutube-dl -F S8Zt6cB_NPU

Combined formats (¶)

Youtube-dl Apk

idqualitycodecexamples
22720p30+128kAVC+m4ayoutube-dl -F S8Zt6cB_NPU
18360p30+96kAVC+m4ayoutube-dl -F S8Zt6cB_NPU

This document is generated programmatically.