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

Livestream download fail #2838

Closed
karrikas opened this issue Apr 30, 2014 · 2 comments
Closed

Livestream download fail #2838

karrikas opened this issue Apr 30, 2014 · 2 comments

Comments

@karrikas
Copy link

@karrikas karrikas commented Apr 30, 2014

Hello,

I am trying to download the next video [1] in livestream but youtube-dl gives me an error. I can download videos from livestream like [2]. I have the same result in Windows vista.

[1] http://www.livestream.com/donostiakoudala/video?clipId=pla_6b833b81-b430-463d-b58c-d89db7493e06
[2] http://www.livestream.com/nytschoolsfortomorrow/video?clipId=pla_e47dee05-6b65-491e-8690-8262b1d30ddf

The output in verbose mode:
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.livestream.com/donostiakoudala/video?clipId=pla_6b833b81-b430-463d-b58c-d89db7493e06', '--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.04.30
[debug] Python version 2.7.5+ - Linux-3.11.0-20-generic-x86_64-with-Ubuntu-13.10-saucy
[debug] Proxy map: {}
[livestream:original] pla_6b833b81-b430-463d-b58c-d89db7493e06: Downloading XML
[download] Destination: 2014-03-27 Udalbatzarra - Pleno Ordinario-pla_6b833b81-b430-463d-b58c-d89db7493e06.flv
[debug] rtmpdump command line: rtmpdump --verbose -r rtmp://extondemand.livestream.com/ondemand -o '2014-03-27 Udalbatzarra - Pleno Ordinario-pla_6b833b81-b430-463d-b58c-d89db7493e06.flv.part' --playpath mp4:trans/dv15/mogulus-user-files/chdonostiakoudala/2014/03/28/3d5b6a4c-d9d9-4de7-8fe5-494fcd6d8cae.mp4 --resume --skip 1
[rtmpdump] RTMPDump v2.4
rtmpdump 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 0
[rtmpdump] DEBUG: Parsed host : extondemand.livestream.com
[rtmpdump] DEBUG: Parsed app : ondemand
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMP
[rtmpdump] DEBUG: Hostname : extondemand.livestream.com
[rtmpdump] DEBUG: Port : 1935
[rtmpdump] DEBUG: Playpath : mp4:trans/dv15/mogulus-user-files/chdonostiakoudala/2014/03/28/3d5b6a4c-d9d9-4de7-8fe5-494fcd6d8cae.mp4
[rtmpdump] DEBUG: tcUrl : rtmp://extondemand.livestream.com:1935/ondemand
[rtmpdump] DEBUG: app : ondemand
[rtmpdump] DEBUG: live : no
[rtmpdump] DEBUG: timeout : 30 sec
[rtmpdump] DEBUG: Failed to get last keyframe.
[rtmpdump] DEBUG: Closing connection.
[rtmpdump] 0 bytes
[rtmpdump] RTMPDump v2.4
rtmpdump 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 0
[rtmpdump] DEBUG: Parsed host : extondemand.livestream.com
[rtmpdump] DEBUG: Parsed app : ondemand
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMP
[rtmpdump] DEBUG: Hostname : extondemand.livestream.com
[rtmpdump] DEBUG: Port : 1935
[rtmpdump] DEBUG: Playpath : mp4:trans/dv15/mogulus-user-files/chdonostiakoudala/2014/03/28/3d5b6a4c-d9d9-4de7-8fe5-494fcd6d8cae.mp4
[rtmpdump] DEBUG: tcUrl : rtmp://extondemand.livestream.com:1935/ondemand
[rtmpdump] DEBUG: app : ondemand
[rtmpdump] DEBUG: live : no
[rtmpdump] DEBUG: timeout : 30 sec
[rtmpdump] DEBUG: Failed to get last keyframe.
[rtmpdump] DEBUG: Closing connection.

ERROR: rtmpdump exited with code 1
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 18, in
youtube_dl.main()
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 845, in main
_real_main(argv)
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 835, in _real_main
retcode = ydl.download(all_urls)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1036, in download
self.extract_info(url)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 525, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 562, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 817, in process_video_result
self.process_info(new_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1007, in process_info
success = dl(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 983, in dl
return fd.download(name, info)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 291, in download
return self.real_download(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/rtmp.py", line 194, in real_download
self.report_error('rtmpdump exited with code %d' % retval)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 144, in report_error
self.ydl.report_error(_args, *_kargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 404, in report_error
self.trouble(error_message, tb)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 366, in trouble
tb_data = traceback.format_list(traceback.extract_stack())

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Jun 25, 2014

My best guess is that the not working video requires you watching an ad. I have the same problem with a video requiring my email.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented May 4, 2015

The first video you posted is no longer available, do you have more examples?

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
4 participants
@karrikas @FiloSottile @jaimeMF and others
You can’t perform that action at this time.