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

ERROR: no known formats available for video #724

Closed
tuyp opened this issue Mar 3, 2013 · 7 comments
Closed

ERROR: no known formats available for video #724

tuyp opened this issue Mar 3, 2013 · 7 comments

Comments

@tuyp
Copy link

tuyp commented Mar 3, 2013

I got the latest from http://rg3.github.com/youtube-dl/download.html
I renamed youtube-dl to youtube-dl.py got it to execute. But I get an error downloading a video.

C:>dir youtube-dl.py
Sun 03 Mar 2013 20:14 60,999 youtube-dl.py
C:>

C:>youtube-dl.py -t http://www.youtube.com/watch?v=h523JATNik8
[youtube] Setting language
[youtube] h523JATNik8: Downloading video webpage
[youtube] h523JATNik8: Downloading video info webpage
[youtube] h523JATNik8: Extracting video information
ERROR: no known formats available for video

C:\crp>

With verbose

C:\crp>youtube-dl.py -t -v http://www.youtube.com/watch?v=h523JATNik8
[debug] youtube-dl version 2013.02.25
[debug] Python version 3.3.0 - Windows-7-6.1.7600
[debug] Proxy map: {}
[youtube] Setting language
[youtube] h523JATNik8: Downloading video webpage
[youtube] h523JATNik8: Downloading video info webpage
[youtube] h523JATNik8: Extracting video information
ERROR: no known formats available for video
File "C:\Python33\lib\runpy.py", line 160, in run_module_as_main
"main", fname, loader, pkg_name)
File "C:\Python33\lib\runpy.py", line 73, in run_code
exec(code, run_globals)
File "C:\crp\youtube-dl.py__main
.py", line 17, in
youtube_dl.main()
File "C:\crp\youtube-dl.py\youtube_dl__init__.py", line 516, in main
real_main()
File "C:\crp\youtube-dl.py\youtube_dl__init
_.py", line 500, in _real_main
retcode = fd.download(all_urls)
File "C:\crp\youtube-dl.py\youtube_dl\FileDownloader.py", line 507, in downloa
d
videos = ie.extract(url)
File "C:\crp\youtube-dl.py\youtube_dl\InfoExtractors.py", line 93, in extract
return self._real_extract(url)
File "C:\crp\youtube-dl.py\youtube_dl\InfoExtractors.py", line 536, in _real_e
xtract
self._downloader.trouble(u'ERROR: no known formats available for video')
File "C:\crp\youtube-dl.py\youtube_dl\FileDownloader.py", line 230, in trouble

tb_data = traceback.format_list(traceback.extract_stack())

C:\crp>

@phihag
Copy link
Contributor

phihag commented Mar 3, 2013

Sorry, the video in question is blocked both in Germany and the US, so I can't really debug this. Do you have a global testcase?

@tuyp
Copy link
Author

tuyp commented Mar 3, 2013

It looks like there are two other examples that have been discussed here, that throw that error, but I suppose nobody has resolved them yet or at least, not to the level where I can download my one. I'm using the latest youtube-dl.py so I guess it hasn't been resolved yet.

Here are two others people have run into the issue with. I tried them and both give the same error for me too.

http://www.youtube.com/watch?v=hoJTBnIbAJI
#655

http://www.youtube.com/watch?v=xOjtMxUW0s0
#343

@phihag
Copy link
Contributor

phihag commented Mar 3, 2013

#665 has been solved, and #343 is an RTMP URL. Is yours one as well? I.e. can you the video in a modern webbrowser without Flash?

@tuyp
Copy link
Author

tuyp commented Mar 3, 2013

If I use the flashblock extension, for Chrome, then I can't even see the video in my browser.
It looks different to #343 'cos it doesn't say RTMP when it tries to download it.

this one is #655 not #665 http://www.youtube.com/watch?v=hoJTBnIbAJI

Do you run into the same error as I mention, when you try to download these?
http://www.youtube.com/watch?v=hoJTBnIbAJI
http://www.youtube.com/watch?v=xOjtMxUW0s0

You can control-c if it even reaches 1%. For me it doesn't even get that far

C:>youtube-dl.py http://www.youtube.com/watch?v=hoJTBnIbAJI
[youtube] Setting language
[youtube] hoJTBnIbAJI: Downloading video webpage
[youtube] hoJTBnIbAJI: Downloading video info webpage
[youtube] hoJTBnIbAJI: Extracting video information
ERROR: no known formats available for video

C:>

@sthen
Copy link

sthen commented Jul 10, 2013

Example for one of the above with --verbose:

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/watch?v=xOjtMxUW0s0']
[debug] youtube-dl version 2013.07.05
[debug] Python version 2.7.5 - OpenBSD-5.4-amd64-64bit
[debug] Proxy map: {}
[youtube] Setting language
[youtube] xOjtMxUW0s0: Downloading video webpage
[youtube] xOjtMxUW0s0: Downloading video info webpage
[youtube] xOjtMxUW0s0: Extracting video information
ERROR: no known formats available for video; 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.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 312, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 92, in extract
return self._real_extract(url)
File "/usr/local/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 581, in _real_extract
raise ExtractorError(u'no known formats available for video')
ExtractorError: no known formats available for video; 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.

@jaimeMF
Copy link
Collaborator

jaimeMF commented Jul 10, 2013

@sthen Thanks, this kind of video is being handled in #343

@dstftw
Copy link
Collaborator

dstftw commented May 8, 2017

All alive videos from this thread work with latest version.

@dstftw dstftw closed this as completed May 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants