Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-f best not downloading the best (picking 360p over 720p) #23797

Closed
raszpl opened this issue Jan 21, 2020 · 0 comments
Closed

-f best not downloading the best (picking 360p over 720p) #23797

raszpl opened this issue Jan 21, 2020 · 0 comments
Labels

Comments

@raszpl
Copy link

@raszpl raszpl commented Jan 21, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.01.15
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

youtube-dl --version
2020.01.15

youtube-dl.exe -F https://www.youtube.com/watch?v=mhrkdHshb3E
[youtube] mhrkdHshb3E: Downloading webpage
[youtube] mhrkdHshb3E: Downloading video info webpage
[info] Available formats for mhrkdHshb3E:
format code  extension  resolution note
249          webm       audio only tiny   64k , opus @ 50k (48000Hz), 10.72MiB
250          webm       audio only tiny   82k , opus @ 70k (48000Hz), 12.67MiB
140          m4a        audio only tiny  131k , m4a_dash container, mp4a.40.2@128k (44100Hz), 28.05MiB
251          webm       audio only tiny  161k , opus @160k (48000Hz), 23.23MiB
160          mp4        256x144    144p   89k , avc1.4d400c, 30fps, video only, 5.27MiB
278          webm       256x144    144p   97k , webm container, vp9, 30fps, video only, 11.13MiB
133          mp4        426x240    240p  149k , avc1.4d4015, 30fps, video only, 8.27MiB
242          webm       426x240    240p  222k , vp9, 30fps, video only, 12.05MiB
134          mp4        640x360    360p  296k , avc1.4d401e, 30fps, video only, 14.19MiB
243          webm       640x360    360p  379k , vp9, 30fps, video only, 19.69MiB
135          mp4        854x480    480p  444k , avc1.4d401f, 30fps, video only, 21.00MiB
244          webm       854x480    480p  536k , vp9, 30fps, video only, 28.12MiB
136          mp4        1280x720   720p  669k , avc1.4d401f, 30fps, video only, 36.62MiB
247          webm       1280x720   720p  872k , vp9, 30fps, video only, 46.97MiB
137          mp4        1920x1080  1080p 2392k , avc1.640028, 30fps, video only, 145.12MiB
248          webm       1920x1080  1080p 2426k , vp9, 30fps, video only, 165.42MiB
43           webm       640x360    360p , vp8.0, vorbis@128k, 80.38MiB
22           mp4        1280x720   720p  298k , avc1.64001F, mp4a.40.2@192k (44100Hz)
18           mp4        640x360    360p  354k , avc1.42001E, mp4a.40.2@ 96k (44100Hz), 76.74MiB (best)

Description

Video bitrate difference 298k vs 354k is -19%, but audio is +200% and pixel difference is +400%. Maybe "best" needs some more heuristics?

https://github.com/ytdl-org/youtube-dl#format-selection
just says "best available quality media", not "highest video bitrate ignoring everything else", and especially not marginally highest video bitrate using worse codec (H.264 Baseline), even if 4x higher density file using better codec (H.264 High) and similar bitrate is present.

Its happening on quite popular video, SpaceX 'Crew Dragon Launch Escape Demonstration'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.