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

Unable to get 480p videos when I ask for them #6749

Closed
keybounce opened this issue Sep 2, 2015 · 1 comment
Closed

Unable to get 480p videos when I ask for them #6749

keybounce opened this issue Sep 2, 2015 · 1 comment

Comments

@keybounce
Copy link

@keybounce keybounce commented Sep 2, 2015

I am getting an error trying to get stuff from crunchyroll.

keybounceMBP:Dungeon michael$ youtube-dl  -f 'bestvideo[height<=480]' --sub-lang enUS --write-sub --embed-subs --recode-video mp4 http://www.crunchyroll.com/is-it-wr
ong-to-try-to-pick-up-girls-in-a-dungeon
[crunchyroll:playlist] is-it-wrong-to-try-to-pick-up-girls-in-a-dungeon: Downloading webpage
[download] Downloading playlist: Is It Wrong to Try to Pick Up Girls in a Dungeon?
[crunchyroll:playlist] playlist Is It Wrong to Try to Pick Up Girls in a Dungeon?: Collected 13 video ids (downloading 13 of them)
[download] Downloading video 1 of 13
[Crunchyroll] 678135: Downloading webpage
[Crunchyroll] 678135: Downloading media info
[Crunchyroll] 678135: Downloading media info for 360p
[Crunchyroll] 678135: Checking 360p URL
[Crunchyroll] 678135: Downloading media info for 480p
[Crunchyroll] 678135: Checking 480p URL
[Crunchyroll] 678135: Downloading media info for 720p
[Crunchyroll] 678135: Checking 720p URL
[Crunchyroll] 678135: Downloading media info for 720p
[Crunchyroll] 678135: Checking 720p URL
[Crunchyroll] 678135: Downloading media info for 1080p
[Crunchyroll] 678135: Checking 1080p URL
[Crunchyroll] 678135: Downloading media info for 1080p
[Crunchyroll] 678135: Checking 1080p URL
[Crunchyroll] 678135: Downloading subtitles for English (US)
[Crunchyroll] 678135: Downloading subtitles for Español
[Crunchyroll] 678135: Downloading subtitles for Português (Brasil)
[Crunchyroll] 678135: Downloading subtitles for العربية
ERROR: requested format not available

However, if I remove the -f 'bestvideo[height<=480]', then it works:

keybounceMBP:Dungeon michael$ youtube-dl  --sub-lang enUS --write-sub --embed-subs --recode-video mp4 http://www.crunchyroll.com/is-it-wrong-to-try-to-pick-up-girls-
in-a-dungeon
[crunchyroll:playlist] is-it-wrong-to-try-to-pick-up-girls-in-a-dungeon: Downloading webpage
[download] Downloading playlist: Is It Wrong to Try to Pick Up Girls in a Dungeon?
[crunchyroll:playlist] playlist Is It Wrong to Try to Pick Up Girls in a Dungeon?: Collected 13 video ids (downloading 13 of them)
[download] Downloading video 1 of 13
[Crunchyroll] 678135: Downloading webpage
[Crunchyroll] 678135: Downloading media info
[Crunchyroll] 678135: Downloading media info for 360p
[Crunchyroll] 678135: Checking 360p URL
[Crunchyroll] 678135: Downloading media info for 480p
[Crunchyroll] 678135: Checking 480p URL
[Crunchyroll] 678135: Downloading media info for 720p
[Crunchyroll] 678135: Checking 720p URL
[Crunchyroll] 678135: Downloading media info for 720p
[Crunchyroll] 678135: Checking 720p URL
[Crunchyroll] 678135: Downloading media info for 1080p
[Crunchyroll] 678135: Checking 1080p URL
[Crunchyroll] 678135: Downloading media info for 1080p
[Crunchyroll] 678135: Checking 1080p URL
[Crunchyroll] 678135: Downloading subtitles for English (US)
[Crunchyroll] 678135: Downloading subtitles for Español
[Crunchyroll] 678135: Downloading subtitles for Português (Brasil)
[Crunchyroll] 678135: Downloading subtitles for العربية
[info] Writing video subtitles to: Is It Wrong to Try to Pick Up Girls in a Dungeon Episode 1 – Bell Cranel _ Adventurer.enUS.ass
[download] Destination: Is It Wrong to Try to Pick Up Girls in a Dungeon Episode 1 – Bell Cranel _ Adventurer.mp4
[download]  95.6% of 147.00MiB at  1.30MiB/s ETA 00:04
...

The files that are obtained are 480p.
Yet asking for [height<=480] fails; removing the height works.

What am I doing wrong? This same clause works on YouTube and other sites.

@jaimeMF jaimeMF closed this in 725d1c5 Sep 3, 2015
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 3, 2015

Thanks for the report, the height and width are being extracted now and 'best[height<=480]' will work in the next version. bestvideo only selects formats that doesn't have audio (mainly YouTube DASH formats), so it doesn't work in most sites.

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.