But based on yt-dlp -F, there should be better video formats than 399:
[info] Available formats for P_XguuxLo10:
ID EXT RESOLUTION FPS CH │ FILESIZE TBR PROTO │ VCODEC VBR ACODEC ABR ASR MORE INFO
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
sb3 mhtml 48x27 0 │ mhtml │ images storyboard
sb2 mhtml 80x45 0 │ mhtml │ images storyboard
sb1 mhtml 160x90 0 │ mhtml │ images storyboard
sb0 mhtml 320x180 0 │ mhtml │ images storyboard
233 mp4 audio only │ m3u8 │ audio only unknown Default
234 mp4 audio only │ m3u8 │ audio only unknown Default
139 m4a audio only 2 │ 10.10MiB 49k https │ audio only mp4a.40.5 49k 22k low, m4a_dash
249 webm audio only 2 │ 10.49MiB 51k https │ audio only opus 51k 48k low, webm_dash
250 webm audio only 2 │ 13.80MiB 67k https │ audio only opus 67k 48k low, webm_dash
140 m4a audio only 2 │ 26.81MiB 129k https │ audio only mp4a.40.2 129k 44k medium, m4a_dash
251 webm audio only 2 │ 27.08MiB 131k https │ audio only opus 131k 48k medium, webm_dash
17 3gp 176x144 12 1 │ 15.73MiB 76k https │ mp4v.20.3 mp4a.40.2 22k 144p
394 mp4 256x144 24 │ 12.07MiB 58k https │ av01.0.00M.08 58k video only 144p, mp4_dash
269 mp4 256x144 24 │ ~ 33.35MiB 157k m3u8 │ avc1.4D400C 157k video only
160 mp4 256x144 24 │ 11.91MiB 58k https │ avc1.4D400C 58k video only 144p, mp4_dash
603 mp4 256x144 24 │ ~ 35.80MiB 169k m3u8 │ vp09.00.11.08 169k video only
278 webm 256x144 24 │ 14.52MiB 70k https │ vp09.00.11.08 70k video only 144p, webm_dash
395 mp4 426x240 24 │ 21.84MiB 105k https │ av01.0.00M.08 105k video only 240p, mp4_dash
229 mp4 426x240 24 │ ~ 56.58MiB 267k m3u8 │ avc1.4D4015 267k video only
133 mp4 426x240 24 │ 24.36MiB 118k https │ avc1.4D4015 118k video only 240p, mp4_dash
604 mp4 426x240 24 │ ~ 59.95MiB 283k m3u8 │ vp09.00.20.08 283k video only
242 webm 426x240 24 │ 22.41MiB 108k https │ vp09.00.20.08 108k video only 240p, webm_dash
396 mp4 640x360 24 │ 38.99MiB 188k https │ av01.0.01M.08 188k video only 360p, mp4_dash
230 mp4 640x360 24 │ ~110.71MiB 522k m3u8 │ avc1.4D401E 522k video only
134 mp4 640x360 24 │ 45.97MiB 222k https │ avc1.4D401E 222k video only 360p, mp4_dash
18 mp4 640x360 24 2 │ ≈ 74.46MiB 351k https │ avc1.42001E mp4a.40.2 44k 360p
605 mp4 640x360 24 │ ~132.74MiB 626k m3u8 │ vp09.00.21.08 626k video only
243 webm 640x360 24 │ 54.47MiB 263k https │ vp09.00.21.08 263k video only 360p, webm_dash
397 mp4 854x480 24 │ 71.33MiB 344k https │ av01.0.04M.08 344k video only 480p, mp4_dash
231 mp4 854x480 24 │ ~154.20MiB 727k m3u8 │ avc1.4D401E 727k video only
135 mp4 854x480 24 │ 84.16MiB 406k https │ avc1.4D401E 406k video only 480p, mp4_dash
606 mp4 854x480 24 │ ~194.21MiB 916k m3u8 │ vp09.00.30.08 916k video only
244 webm 854x480 24 │ 78.55MiB 379k https │ vp09.00.30.08 379k video only 480p, webm_dash
22 mp4 1280x720 24 2 │ ≈194.08MiB 915k https │ avc1.64001F mp4a.40.2 44k 720p
398 mp4 1280x720 24 │ 129.21MiB 624k https │ av01.0.05M.08 624k video only 720p, mp4_dash
232 mp4 1280x720 24 │ ~281.07MiB 1326k m3u8 │ avc1.4D401F 1326k video only
136 mp4 1280x720 24 │ 162.82MiB 786k https │ avc1.4D401F 786k video only 720p, mp4_dash
609 mp4 1280x720 24 │ ~332.93MiB 1570k m3u8 │ vp09.00.31.08 1570k video only
247 webm 1280x720 24 │ 145.73MiB 704k https │ vp09.00.31.08 704k video only 720p, webm_dash
399 mp4 1920x1080 24 │ 226.80MiB 1095k https │ av01.0.08M.08 1095k video only 1080p, mp4_dash
270 mp4 1920x1080 24 │ ~735.93MiB 3471k m3u8 │ avc1.640028 3471k video only
137 mp4 1920x1080 24 │ 395.03MiB 1908k https │ avc1.640028 1908k video only 1080p, mp4_dash
614 mp4 1920x1080 24 │ ~592.76MiB 2796k m3u8 │ vp09.00.40.08 2796k video only
248 webm 1920x1080 24 │ 258.40MiB 1248k https │ vp09.00.40.08 1248k video only 1080p, webm_dash
616 mp4 1920x1080 24 │ ~993.02MiB 4683k m3u8 │ vp09.00.40.08 4683k video only Premium
I'd expect 616 to be picked, but there seems to be several higher quality 1080p videos than 399. Using --format "bestvideo+bestaudio" seems to pick 616. Is there a need to use the longer format string from this repo still?
Testing out the scripts on https://www.youtube.com/watch?v=P_XguuxLo10 seems to download the format:
399+251
.But based on
yt-dlp -F
, there should be better video formats than399
:I'd expect
616
to be picked, but there seems to be several higher quality 1080p videos than399
. Using--format "bestvideo+bestaudio"
seems to pick 616. Is there a need to use the longer format string from this repo still?