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

bestvideo[height<=480][ext=mp4]+bestaudio/best not working as intended #6445

Closed
Steveland opened this issue Aug 3, 2015 · 2 comments
Closed

bestvideo[height<=480][ext=mp4]+bestaudio/best not working as intended #6445

Steveland opened this issue Aug 3, 2015 · 2 comments

Comments

@Steveland
Copy link

@Steveland Steveland commented Aug 3, 2015

Hello,

I'm using the following command line to download mp4 videos in 480p max:
youtube-dl.exe -f "bestvideo[height<=480][ext=mp4]+bestaudio/best" https://www.youtube.com/watch?v=InxwGZ_PgC4

The problem here is that youtube-dl is downloading f133 (240p) + f141, while f18 (360p) alone would be more appropriate. Is this a bug or my command line that is wrong?

Here are the list of available formats for the videos:

[info] Available formats for InxwGZ_PgC4:
format code  extension  resolution note
140          m4a        audio only DASH audio  129k , m4a_dash container, aac  @128k (44100Hz), 4.20MiB
171          webm       audio only DASH audio  138k , vorbis@128k (44100Hz), 4.19MiB
141          m4a        audio only DASH audio  256k , m4a_dash container, aac  @256k (44100Hz), 8.35MiB
134          mp4        640x360    DASH video   28k , avc1.4d401e, 30fps, video only, 766.85KiB
242          webm       426x240    DASH video   29k , vp9, 1fps, video only, 859.75KiB
135          mp4        854x480    DASH video   39k , avc1.4d401f, 30fps, video only, 1.05MiB
243          webm       640x360    DASH video   44k , vp9, 1fps, video only, 1.26MiB
136          mp4        1280x720   DASH video   56k , avc1.4d401f, 30fps, video only, 1.59MiB
160          mp4        256x144    DASH video   64k , avc1.4d400c, 15fps, video only, 1.15MiB
244          webm       854x480    DASH video   69k , vp9, 1fps, video only, 1.90MiB
137          mp4        1920x1080  DASH video   83k , avc1.640028, 30fps, video only, 2.37MiB
133          mp4        426x240    DASH video  111k , avc1.4d4015, 30fps, video only, 2.13MiB
247          webm       1280x720   DASH video  118k , vp9, 1fps, video only, 2.98MiB
248          webm       1920x1080  DASH video  176k , vp9, 1fps, video only, 4.36MiB
17           3gp        176x144
36           3gp        320x240
5            flv        400x240
43           webm       640x360
18           mp4        640x360
22           mp4        1280x720   (best)
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Aug 3, 2015

It's working as expected, since best is only selected if bestvideo[height<=480][ext=mp4]+bestaudio doesn't match any format. See #5242 for a proposal for adding support for choosing the best formats between two.

@jaimeMF jaimeMF closed this Aug 3, 2015
@khilangudka
Copy link

@khilangudka khilangudka commented Aug 14, 2015

Should it not have selected f135 though? Is bestvideo supposed to be dependent on bitrate or resolution?

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
3 participants
You can’t perform that action at this time.