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

Crunchyroll RTMPDump Exited with code 1 #9760

Closed
majorcyto opened this issue Jun 12, 2016 · 7 comments
Closed

Crunchyroll RTMPDump Exited with code 1 #9760

majorcyto opened this issue Jun 12, 2016 · 7 comments

Comments

@majorcyto
Copy link

@majorcyto majorcyto commented Jun 12, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

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

  • [x ] I've verified and I assure that I'm running youtube-dl 2016.06.11.3

Before submitting an issue make sure you have:

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

What is the purpose of your issue?

  • [x ] Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

# youtube-dl 'http://www.crunchyroll.com/rezero-starting-life-in-another-world-/rezero-starting-life-in-another-world-das-ende-vom-anfang-und-der-anfang-vom-ende-teil-1-702401' -f 'best' --recode-video 'mp4' -k -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.crunchyroll.com/rezero-starting-life-in-another-world-/rezero-starting-life-in-another-world-das-ende-vom-anfang-und-der-anfang-vom-ende-teil-1-702401', u'-f', u'best', u'--recode-video', u'mp4', u'-k', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.06.11.3
[debug] Python version 2.7.5 - Linux-3.14.32-xxxx-grs-ipv6-64-x86_64-with-centos-7.2.1511-Core
[debug] exe versions: ffmpeg 2.6.8, ffprobe 2.6.8, rtmpdump 2.3
[debug] Proxy map: {}
[Crunchyroll] 702401: Downloading webpage
[Crunchyroll] 702401: Downloading media info for 360p
[Crunchyroll] 702401: Downloading media info for 480p
[Crunchyroll] 702401: Downloading media info for 720p
[Crunchyroll] 702401: Downloading media info for 1080p
[Crunchyroll] 702401: Downloading media info
[debug] Invoking downloader on u'rtmpe://cp150757.edgefcs.net/ondemand/?auth=daEagbkaiamcyaNbTbkd8dNaybBaidtbidy-bxxmhd-dHa-rBDwtqJCBuD&aifp=0009&slist=c21/s/ve2189043/video.mp4'
[download] Destination: Re -ZERO -Starting Life in Another World- Episode 1A – The End of the Beginning and the Beginning of the End (Part 1)-702401.flv
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmpe://cp150757.edgefcs.net/ondemand/?auth=daEagbkaiamcyaNbTbkd8dNaybBaidtbidy-bxxmhd-dHa-rBDwtqJCBuD&aifp=0009&slist=c21/s/ve2189043/video.mp4' -o 'Re -ZERO -Starting Life in Another World- Episode 1A – The End of the Beginning and the Beginning of the End (Part 1)-702401.flv.part' --playpath mp4:c21/s/ve2189043/video.mp4 --resume --skip 1
[rtmpdump] RTMPDump v2.3
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 2
[rtmpdump] DEBUG: Parsed host    : cp150757.edgefcs.net
[rtmpdump] DEBUG: Parsed app     : ondemand/?auth=daEagbkaiamcyaNbTbkd8dNaybBaidtbidy-bxxmhd-dHa-rBDwtqJCBuD&aifp=0009&slist=c21/s/ve2189043/video.mp4
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPE
[rtmpdump] DEBUG: Hostname : cp150757.edgefcs.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:c21/s/ve2189043/video.mp4
[rtmpdump] DEBUG: tcUrl    : rtmpe://cp150757.edgefcs.net:1935/ondemand/?auth=daEagbkaiamcyaNbTbkd8dNaybBaidtbidy-bxxmhd-dHa-rBDwtqJCBuD&aifp=0009&slist=c21/s/ve2189043/video.mp4
[rtmpdump] DEBUG: app      : ondemand/?auth=daEagbkaiamcyaNbTbkd8dNaybBaidtbidy-bxxmhd-dHa-rBDwtqJCBuD&aifp=0009&slist=c21/s/ve2189043/video.mp4
[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.3
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 2
[rtmpdump] DEBUG: Parsed host    : cp150757.edgefcs.net
[rtmpdump] DEBUG: Parsed app     : ondemand/?auth=daEagbkaiamcyaNbTbkd8dNaybBaidtbidy-bxxmhd-dHa-rBDwtqJCBuD&aifp=0009&slist=c21/s/ve2189043/video.mp4
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPE
[rtmpdump] DEBUG: Hostname : cp150757.edgefcs.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:c21/s/ve2189043/video.mp4
[rtmpdump] DEBUG: tcUrl    : rtmpe://cp150757.edgefcs.net:1935/ondemand/?auth=daEagbkaiamcyaNbTbkd8dNaybBaidtbidy-bxxmhd-dHa-rBDwtqJCBuD&aifp=0009&slist=c21/s/ve2189043/video.mp4
[rtmpdump] DEBUG: app      : ondemand/?auth=daEagbkaiamcyaNbTbkd8dNaybBaidtbidy-bxxmhd-dHa-rBDwtqJCBuD&aifp=0009&slist=c21/s/ve2189043/video.mp4
[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/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/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 <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 420, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 410, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1740, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 687, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 733, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1386, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1648, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1590, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 350, 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 161, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 550, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 512, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())
...
<end of log>

Description of your issue, suggested solution and other information

I am on CentOS7, i installed RTMPDump (V. 2.3) and FFMPEG (V. 2.6.8) and used the command as seen above to try to download from CrunchyRoll however i get an error, and i am not sure what its needing. I have used Youtube-Dl before but its been months, and that was on an Ubuntu server back then. Any help is appreciated.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 12, 2016

Update rtmpdump.

@dstftw dstftw closed this Jun 12, 2016
@majorcyto
Copy link
Author

@majorcyto majorcyto commented Jun 12, 2016

Hi, @dstftw as mentioned i upgraded it but am getting an error still as seen below.

# youtube-dl 'http://www.crunchyroll.com/rezero-starting-life-in-another-world-/rezero-starting-life-in-another-world-das-ende-vom-anfang-und-der-anfang-vom-ende-teil-1-702401' -f 'best' --recode-video 'mp4' -k -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.crunchyroll.com/rezero-starting-life-in-another-world-/rezero-starting-life-in-another-world-das-ende-vom-anfang-und-der-anfang-vom-ende-teil-1-702401', u'-f', u'best', u'--recode-video', u'mp4', u'-k', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.06.11.3
[debug] Python version 2.7.5 - Linux-3.14.32-xxxx-grs-ipv6-64-x86_64-with-centos-7.2.1511-Core
[debug] exe versions: ffmpeg 2.6.8, ffprobe 2.6.8, rtmpdump 2.4
[debug] Proxy map: {}
[Crunchyroll] 702401: Downloading webpage
[Crunchyroll] 702401: Downloading media info for 360p
[Crunchyroll] 702401: Downloading media info for 480p
[Crunchyroll] 702401: Downloading media info for 720p
[Crunchyroll] 702401: Downloading media info for 1080p
[Crunchyroll] 702401: Downloading media info
[debug] Invoking downloader on u'rtmpe://cp150757.edgefcs.net/ondemand/?auth=daEakd1bLdgbQc2cibBbTdAdka5b_aXaGdG-bxxokT-dHa-lDGxstNBzwy&aifp=0009&slist=c21/s/ve2189043/video.mp4'
[download] Destination: Re -ZERO -Starting Life in Another World- Episode 1A – The End of the Beginning and the Beginning of the End (Part 1)-702401.flv
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmpe://cp150757.edgefcs.net/ondemand/?auth=daEakd1bLdgbQc2cibBbTdAdka5b_aXaGdG-bxxokT-dHa-lDGxstNBzwy&aifp=0009&slist=c21/s/ve2189043/video.mp4' -o 'Re -ZERO -Starting Life in Another World- Episode 1A – The End of the Beginning and the Beginning of the End (Part 1)-702401.flv.part' --playpath mp4:c21/s/ve2189043/video.mp4 --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: 2
[rtmpdump] DEBUG: Parsed host    : cp150757.edgefcs.net
[rtmpdump] DEBUG: Parsed app     : ondemand/?auth=daEakd1bLdgbQc2cibBbTdAdka5b_aXaGdG-bxxokT-dHa-lDGxstNBzwy&aifp=0009&slist=c21/s/ve2189043/video.mp4
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPE
[rtmpdump] DEBUG: Hostname : cp150757.edgefcs.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:c21/s/ve2189043/video.mp4
[rtmpdump] DEBUG: tcUrl    : rtmpe://cp150757.edgefcs.net:1935/ondemand/?auth=daEakd1bLdgbQc2cibBbTdAdka5b_aXaGdG-bxxokT-dHa-lDGxstNBzwy&aifp=0009&slist=c21/s/ve2189043/video.mp4
[rtmpdump] DEBUG: app      : ondemand/?auth=daEakd1bLdgbQc2cibBbTdAdka5b_aXaGdG-bxxokT-dHa-lDGxstNBzwy&aifp=0009&slist=c21/s/ve2189043/video.mp4
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Last keyframe is first frame in stream, switching from resume to normal mode!
[rtmpdump] DEBUG: Setting buffer time to: 36000000ms
[rtmpdump] Connecting ...
[rtmpdump] ERROR: RTMP_Connect0, failed to connect socket. 110 (Connection timed out)
[rtmpdump] DEBUG: Closing connection.
ERROR: [rtmpdump] Could not connect to RTMP server.
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/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 <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 420, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 410, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1740, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 687, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 733, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1386, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1648, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1590, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 350, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/rtmp.py", line 169, in real_download
    self.report_error('[rtmpdump] Could not connect to RTMP server.')
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 161, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 550, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 512, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 12, 2016

Can you watch it in browser in the first place?

@majorcyto
Copy link
Author

@majorcyto majorcyto commented Jun 12, 2016

@dstftw - Yes, the link itself works fine for me on my browser on Windows 10, however i am trying to download via one of my CentOS 7 Servers.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 12, 2016

Can you watch it from the same network interface you are trying to download?

@majorcyto
Copy link
Author

@majorcyto majorcyto commented Jun 12, 2016

Odd, it worked on my Ubuntu 14.04 server but refuses to on my CentOS 7 server. The servers are in Datacenters not my home network. I am not sure, but i guess its not a big deal.

Are you aware of Crunchyroll has enabled some type of stream download limiter on their site? I feel like i used to download at 15mb/s and now i cant get past 1.3mb/s

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 12, 2016

Never saw anything faster than 1.2MiB/s from them via rtmp.

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.