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

[BUG] rtmpdump exited with code 1 - viki.com #11255

Closed
Animis09 opened this issue Nov 21, 2016 · 1 comment
Closed

[BUG] rtmpdump exited with code 1 - viki.com #11255

Animis09 opened this issue Nov 21, 2016 · 1 comment

Comments

@Animis09
Copy link

@Animis09 Animis09 commented Nov 21, 2016

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.11.18. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.11.18

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)

:~# youtube-dl www.viki.com/videos/1066308v-who-are-you-school-2015-episode-7 -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'www.viki.com/videos/1066308v-who-are-you-school-2015-episode-7', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.11.18
[debug] Proxy map: {}
WARNING: The url doesn't specify the protocol, trying with http
[viki] 1066308v: Downloading video JSON
[viki] 1066308v: Downloading video streams JSON
[viki] 1066308v: Downloading m3u8 information
[debug] Invoking downloader on u'rtmps://viki.fcod.llnwd.net/a7881/e2/mp4:1066308v/1066308v_high_480p_1505190538.mp4?e=1479722624&h=b8a57908d7d36ce16dd448387fbd17ca'
[download] Destination: Who Are You - School 2015 - Episode 7-1066308v.mp4
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmps://viki.fcod.llnwd.net/a7881/e2/mp4:1066308v/1066308v_high_480p_1505190538.mp4?e=1479722624&h=b8a57908d7d36ce16dd448387fbd17ca' -o 'Who Are You - School 2015 - Episode 7-1066308v.mp4.part' --resume --skip 1
[rtmpdump] RTMPDump v2.4
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 4
[rtmpdump] DEBUG: Parsed host : viki.fcod.llnwd.net
[rtmpdump] DEBUG: Parsed app : a7881/e2
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPS
[rtmpdump] DEBUG: Hostname : viki.fcod.llnwd.net
[rtmpdump] DEBUG: Port : 443
[rtmpdump] DEBUG: Playpath : mp4:1066308v/1066308v_high_480p_1505190538.mp4?e=1479722624&h=b8a57908d7d36ce16dd448387fbd17ca
[rtmpdump] DEBUG: tcUrl : rtmps://viki.fcod.llnwd.net:443/a7881/e2
[rtmpdump] DEBUG: app : a7881/e2
[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] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 4
[rtmpdump] DEBUG: Parsed host : viki.fcod.llnwd.net
[rtmpdump] DEBUG: Parsed app : a7881/e2
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPS
[rtmpdump] DEBUG: Hostname : viki.fcod.llnwd.net
[rtmpdump] DEBUG: Port : 443
[rtmpdump] DEBUG: Playpath : mp4:1066308v/1066308v_high_480p_1505190538.mp4?e=1479722624&h=b8a57908d7d36ce16dd448387fbd17ca
[rtmpdump] DEBUG: tcUrl : rtmps://viki.fcod.llnwd.net:443/a7881/e2
[rtmpdump] DEBUG: app : a7881/e2
[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 19, in
youtube_dl.main()
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 444, in main
_real_main(argv)
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 434, in _real_main
retcode = ydl.download(all_urls)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1791, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 705, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 758, in process_ie_result
extra_info=extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 705, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 751, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1435, in process_video_result
self.process_info(new_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1699, in process_info
success = dl(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1641, in dl
return fd.download(name, info)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 353, in download
return self.real_download(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/rtmp.py", line 202, in real_download
self.report_error('rtmpdump exited with code %d' % retval)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 162, in report_error
self.ydl.report_error(*args, **kargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 568, in report_error
self.trouble(error_message, tb)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 530, in trouble
tb_data = traceback.format_list(traceback.extract_stack())

Thank you for your help.

@Animis09
Copy link
Author

@Animis09 Animis09 commented Nov 25, 2016

That has worked very well up until this week.

@dstftw dstftw closed this in 9338a0e Nov 25, 2016
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.