Downloading by URL from Youtube will get the 720p version even if video is in higher resolution
LolicoreExpress opened this issue · comments
And it seems to only happen with videos from Youtube.
I've tried with Dailymotion and Vimeo and they both download at a full 1080p just fine.
So I'm guessing that's an issue with yt-dlp too ?
Can you provide the YouTube video url?
Sure, I was trying it out with this video clip.
https://www.youtube.com/watch?v=uPD0QOGTmMI
and same video but on Dailymotion
https://www.dailymotion.com/video/x85szf0
Gets 720p on Youtube always
but 1080p everywhere else, Dailymotion for example.
But the video doesn't matter, really, it happens for every video from Youtube, and not for other websites.
In youtube's case the 'best' option currently being passed selects the best file with both audio and video, 22 in this list:
sb1 mhtml 80x45 │ mhtml │ images storyboard
sb0 mhtml 160x90 │ mhtml │ images storyboard
139 m4a │ 1.63MiB 48k https │ audio only mp4a.40.5 48k 22050Hz low, m4a_dash
249 webm │ 1.68MiB 50k https │ audio only opus 50k 48000Hz low, webm_dash
250 webm │ 2.22MiB 66k https │ audio only opus 66k 48000Hz low, webm_dash
140 m4a │ 4.32MiB 129k https │ audio only mp4a.40.2 129k 44100Hz medium, m4a_dash
251 webm │ 4.36MiB 130k https │ audio only opus 130k 48000Hz medium, webm_dash
17 3gp 176x144 12 │ 2.58MiB 77k https │ mp4v.20.3 77k mp4a.40.2 0k 22050Hz 144p
394 mp4 256x144 24 │ 2.11MiB 63k https │ av01.0.00M.08 63k video only 144p, mp4_dash
160 mp4 256x144 24 │ 1.42MiB 42k https │ avc1.4d400c 42k video only 144p, mp4_dash
278 webm 256x144 24 │ 2.66MiB 79k https │ vp9 79k video only 144p, webm_dash
395 mp4 426x240 24 │ 2.76MiB 82k https │ av01.0.00M.08 82k video only 240p, mp4_dash
133 mp4 426x240 24 │ 2.30MiB 68k https │ avc1.4d4015 68k video only 240p, mp4_dash
242 webm 426x240 24 │ 3.13MiB 93k https │ vp9 93k video only 240p, webm_dash
396 mp4 640x360 24 │ 4.96MiB 148k https │ av01.0.01M.08 148k video only 360p, mp4_dash
134 mp4 640x360 24 │ 4.11MiB 123k https │ avc1.4d401e 123k video only 360p, mp4_dash
18 mp4 640x360 24 │ 14.24MiB 426k https │ avc1.42001E 426k mp4a.40.2 0k 44100Hz 360p
243 webm 640x360 24 │ 5.01MiB 150k https │ vp9 150k video only 360p, webm_dash
397 mp4 854x480 24 │ 8.41MiB 251k https │ av01.0.04M.08 251k video only 480p, mp4_dash
135 mp4 854x480 24 │ 6.39MiB 191k https │ avc1.4d401e 191k video only 480p, mp4_dash
244 webm 854x480 24 │ 7.37MiB 220k https │ vp9 220k video only 480p, webm_dash
398 mp4 1280x720 24 │ 15.70MiB 470k https │ av01.0.05M.08 470k video only 720p, mp4_dash
136 mp4 1280x720 24 │ 11.87MiB 355k https │ avc1.4d401f 355k video only 720p, mp4_dash
22 mp4 1280x720 24 │ ~16.56MiB 484k https │ avc1.64001F 484k mp4a.40.2 0k 44100Hz 720p
247 webm 1280x720 24 │ 12.18MiB 364k https │ vp9 364k video only 720p, webm_dash
399 mp4 1920x1080 24 │ 26.84MiB 803k https │ av01.0.08M.08 803k video only 1080p, mp4_dash
137 mp4 1920x1080 24 │ 43.90MiB 1314k https │ avc1.640028 1314k video only 1080p, mp4_dash
248 webm 1920x1080 24 │ 32.70MiB 979k https │ vp9 979k video only 1080p, webm_dash
I'll expose options for other 'best' format sortings, including combining the best video+audio from separate files.
Oh I see, I didn't know that. Thanks again !