目录
Yt-dlp
下载地址
作用就是用来下载Youtube视频
https://github.com/yt-dlp/yt-dlp
使用方法
# 使用方法
第一步:windows+r 弹出运行对话框
第二步:进入到桌面
第三步:yt-dlp_x86.exe PATH
小技巧
# 查看帮助
yt-dlp_x86.exe --help
-a, --batch-file FILE
# 批量下载
yt-dlp_x86.exe FILE
# 获取帮助
C:\Users\zhanghe>yt-dlp_x86.exe --help
Video Format Options:
-f, --format FORMAT Video format code, see "FORMAT SELECTION"
-F, --list-formats List available formats of each video.
# 查看视频都有什么画质
C:\Users\zhanghe>yt-dlp_x86.exe -F https://www.youtube.com/watch?v=R6Xv_0NAGyk&ab_channel=Sevblack
[youtube] R6Xv_0NAGyk: Downloading webpage
[youtube] R6Xv_0NAGyk: Downloading android player API JSON
[info] Available formats for R6Xv_0NAGyk:
ID EXT RESOLUTION FPS │ FILESIZE TBR PROTO │ VCODEC VBR ACODEC ABR ASR MORE INFO
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────
sb2 mhtml 48x27 │ mhtml │ images storyboard
sb1 mhtml 80x45 │ mhtml │ images storyboard
sb0 mhtml 160x90 │ mhtml │ images storyboard
139 m4a audio only │ 1.73MiB 48k https │ audio only mp4a.40.5 48k 22050Hz low, m4a_dash
249 webm audio only │ 1.87MiB 53k https │ audio only opus 53k 48000Hz low, webm_dash
250 webm audio only │ 2.50MiB 70k https │ audio only opus 70k 48000Hz low, webm_dash
140 m4a audio only │ 4.58MiB 129k https │ audio only mp4a.40.2 129k 44100Hz medium, m4a_dash
251 webm audio only │ 4.92MiB 139k https │ audio only opus 139k 48000Hz medium, webm_dash
17 3gp 176x144 7 │ 2.54MiB 71k https │ mp4v.20.3 71k mp4a.40.2 0k 22050Hz 144p
160 mp4 256x144 30 │ 3.18MiB 89k https │ avc1.4d400c 89k video only 144p, mp4_dash
278 webm 256x144 30 │ 3.46MiB 97k https │ vp9 97k video only 144p, webm_dash
133 mp4 426x240 30 │ 7.67MiB 217k https │ avc1.4d4015 217k video only 240p, mp4_dash
242 webm 426x240 30 │ 6.97MiB 197k https │ vp9 197k video only 240p, webm_dash
134 mp4 640x360 30 │ 15.97MiB 451k https │ avc1.4d401e 451k video only 360p, mp4_dash
18 mp4 640x360 30 │ ~ 21.06MiB 580k https │ avc1.42001E 580k mp4a.40.2 0k 44100Hz 360p
243 webm 640x360 30 │ 13.40MiB 379k https │ vp9 379k video only 360p, webm_dash
135 mp4 854x480 30 │ 33.35MiB 943k https │ avc1.4d401f 943k video only 480p, mp4_dash
244 webm 854x480 30 │ 25.78MiB 729k https │ vp9 729k video only 480p, webm_dash
136 mp4 1280x720 30 │ 65.89MiB 1864k https │ avc1.4d401f 1864k video only 720p, mp4_dash
22 mp4 1280x720 30 │ ~ 72.26MiB 1993k https │ avc1.64001F 1993k mp4a.40.2 0k 44100Hz 720p
247 webm 1280x720 30 │ 52.71MiB 1491k https │ vp9 1491k video only 720p, webm_dash
137 mp4 1920x1080 30 │ 137.75MiB 3897k https │ avc1.640028 3897k video only 1080p, mp4_dash
248 webm 1920x1080 30 │ 86.84MiB 2457k https │ vp9 2457k video only 1080p, webm_dash
271 webm 2560x1440 30 │ 258.57MiB 7316k https │ vp9 7316k video only 1440p, webm_dash
313 webm 3840x2160 30 │ 449.20MiB 12710k https │ vp9 12710k video only 2160p, webm_dash
# 下载最大画质
C:\Users\zhanghe>yt-dlp_x86.exe -f 313 https://www.youtube.com/watch?v=R6Xv_0NAGyk&ab_channel=Sevblack
[youtube] R6Xv_0NAGyk: Downloading webpage
[youtube] R6Xv_0NAGyk: Downloading android player API JSON
[info] R6Xv_0NAGyk: Downloading 1 format(s): 313
[download] Destination: 2020 川西风光4K [R6Xv_0NAGyk].webm
[download] 58.7% of 449.20MiB at 2.68MiB/s ETA 01:09
示例链接
## 批量下载
https://www.youtube.com/watch?v=xZNOFEtr_qQ&list=PLOLa3PbTjh1KNS4raYRCnKSy2B7DY0j2y&index=32&ab_channel=%E4%B8%AD%E5%9B%BD%E8%88%9E%E5%8F%B0
https://www.youtube.com/watch?v=cY_KoK2P25k&list=PLOLa3PbTjh1KNS4raYRCnKSy2B7DY0j2y&index=60&ab_channel=WimChannel
# 4K
https://www.youtube.com/watch?v=R6Xv_0NAGyk&ab_channel=Sevblack
标签:30,MiB,webm,dash,only,dlp,https,Yt
From: https://www.cnblogs.com/yizhangheka/p/17093326.html