查看下载视频的所有画质
youtube-dl.exe -F https://www.youtube.com/watch?v=XYWS8J1yrVw
[youtube] XYWS8J1yrVw: Downloading webpage
[youtube] XYWS8J1yrVw: Downloading video info webpage
[info] Available formats for XYWS8J1yrVw:
format code extension resolution note
249 webm audio only DASH audio 56k , opus @ 50k, 4.62MiB
250 webm audio only DASH audio 75k , opus @ 70k, 6.06MiB
171 webm audio only DASH audio 126k , vorbis@128k, 9.24MiB
140 m4a audio only DASH audio 128k , m4a_dash container, mp4a.40.2@128k, 11.54MiB
251 webm audio only DASH audio 156k , opus @160k, 11.22MiB
160 mp4 256x144 144p 68k , avc1.4d400c, 30fps, video only, 1.60MiB
278 webm 256x144 144p 96k , webm container, vp9, 30fps, video only, 3.79MiB
133 mp4 426x240 240p 121k , avc1.4d4015, 30fps, video only, 2.78MiB
242 webm 426x240 240p 203k , vp9, 30fps, video only, 5.57MiB
134 mp4 640x360 360p 355k , avc1.4d401e, 30fps, video only, 5.80MiB
243 webm 640x360 360p 384k , vp9, 30fps, video only, 10.43MiB
244 webm 854x480 480p 717k , vp9, 30fps, video only, 16.21MiB
135 mp4 854x480 480p 768k , avc1.4d401f, 30fps, video only, 10.31MiB
247 webm 1280x720 720p 1455k , vp9, 30fps, video only, 34.70MiB
136 mp4 1280x720 720p 1495k , avc1.4d401f, 30fps, video only, 18.79MiB
248 webm 1920x1080 1080p 2575k , vp9, 30fps, video only, 63.95MiB
137 mp4 1920x1080 1080p 2627k , avc1.640028, 30fps, video only, 34.07MiB
43 webm 640x360 medium , vp8.0, vorbis@128k, 27.54MiB
18 mp4 640x360 medium , avc1.42001E, mp4a.40.2@ 96k, 31.68MiB
22 mp4 1280x720 hd720 , avc1.64001F, mp4a.40.2@192k (best)
下载链接的指定画质,如下载上图 倒数第四个1928*1080 的mp4格式视频,执行如下命令
youtube-dl -f 137 http://www.youtube.com/watch?v=XYWS8J1yrVw