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

Failed youtube download - format not available #1371

Closed
dru8274 opened this issue Sep 4, 2013 · 2 comments
Closed

Failed youtube download - format not available #1371

dru8274 opened this issue Sep 4, 2013 · 2 comments

Comments

@dru8274
Copy link

@dru8274 dru8274 commented Sep 4, 2013

I've looked on youtube, and this video does come in 480p. Yet it obstinately refuses to download. The commands and log output...

youtube_dl.py -U
youtube_dl.py --version
youtube_dl.py --rate-limit="1500k" --continue --console-title --retries=10 --title "http://www.youtube.com/watch?v=ojPci3fxkuI" --format=35

youtube-dl is up-to-date (2013.09.04)
2013.09.04
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--rate-limit=1500k', '--continue', '--console-title', '--retries=10', '--title', 'http://www.youtube.com/watch?v=ojPci3fxkuI', '--format=35']
[debug] youtube-dl version 2013.09.04
[debug] Python version 2.7.5+ - Linux-3.10-2-686-pae-i686-with-debian-jessie-sid
[debug] Proxy map: {}
[youtube] Setting language
[youtube] ojPci3fxkuI: Downloading video webpage
[youtube] ojPci3fxkuI: Downloading video info webpage
[youtube] ojPci3fxkuI: Extracting video information
ERROR: requested format not available; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/home/nostromo/bin/youtube_dl.py/youtube_dl/YoutubeDL.py", line 324, in extract_info
ie_result = ie.extract(url)
File "/home/nostromo/bin/youtube_dl.py/youtube_dl/extractor/common.py", line 103, in extract
return self._real_extract(url)
File "/home/nostromo/bin/youtube_dl.py/youtube_dl/extractor/youtube.py", line 850, in _real_extract
video_url_list = self._get_video_url_list(url_map)
File "/home/nostromo/bin/youtube_dl.py/youtube_dl/extractor/youtube.py", line 631, in _get_video_url_list
raise ExtractorError(u'requested format not available')
ExtractorError: requested format not available; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

@xanadu
Copy link
Contributor

@xanadu xanadu commented Sep 4, 2013

There is no itag 35 for this content. You can try -f 22 for 720p, or get -f 135 and -f 141 then combine them by ffmpeg.

$ ./youtube-dl -F ojPci3fxkuI
[youtube] Setting language
[youtube] ojPci3fxkuI: Downloading video webpage
[youtube] ojPci3fxkuI: Downloading video info webpage
[youtube] ojPci3fxkuI: Extracting video information
Available formats:
22      :       mp4     [720x1280]
18      :       mp4     [360x640]
5       :       flv     [240x400]
36      :       3gp     [240x320]
17      :       3gp     [144x176]
136     :       mp4     [720p] (DASH Video)
135     :       mp4     [480p] (DASH Video)
134     :       mp4     [360p] (DASH Video)
133     :       mp4     [240p] (DASH Video)
160     :       mp4     [192p] (DASH Video)
141     :       mp4     [256k] (DASH Audio)
140     :       mp4     [128k] (DASH Audio)
139     :       mp4     [48k] (DASH Audio)
@dru8274
Copy link
Author

@dru8274 dru8274 commented Sep 4, 2013

Ah yes, that makes sense. Thanks for the insight.

@dru8274 dru8274 closed this Sep 4, 2013
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.