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] Unable to play any video. #5855

Closed
almostalive opened this issue May 30, 2015 · 3 comments
Closed

[Crunchyroll] Unable to play any video. #5855

almostalive opened this issue May 30, 2015 · 3 comments

Comments

@almostalive
Copy link

@almostalive almostalive commented May 30, 2015

This is on an Arch linux x86_64 machine. Any video I try from crunchyroll fails and ends with

[rtmpdump] 0 bytes


ERROR: rtmpdump exited with code 1

this is the verbose output of me using the lastest commit at the time of writing (96b9690). If there is anything you want me to do or try to help fix the problem let me know.

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.crunchyroll.com/fatestay-night/episode-1-winter-days-a-fateful-night-661415']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.05.29
[debug] Python version 3.4.3 - Linux-4.0.4-3-ck-x86_64-with-arch
[debug] exe versions: ffmpeg 2.6.3, ffprobe 2.6.3, rtmpdump 2.4
[debug] Proxy map: {}
[Crunchyroll] 661415: Downloading webpage
[Crunchyroll] 661415: Downloading media info
[Crunchyroll] 661415: Downloading media info for 360p
[Crunchyroll] 661415: Downloading media info for 480p
[Crunchyroll] 661415: Downloading media info for 720p
[Crunchyroll] 661415: Downloading media info for 720p
[Crunchyroll] 661415: Downloading media info for 1080p
[Crunchyroll] 661415: Downloading media info for 1080p
[debug] Invoking downloader on 'rtmpe://c2fs.fplive.net/c2?nvb=20150530222722&nva=20150531022822&token=07a90836d43880d487927'
[download] Destination: Fate_stay night Episode 1 – Winter Days, A Fateful Night-661415.flv
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmpe://c2fs.fplive.net/c2?nvb=20150530222722&nva=20150531022822&token=07a90836d43880d487927' -o 'Fate_stay night Episode 1 – Winter Days, A Fateful Night-661415.flv.part' --playpath mp4:s/ve1547931/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    : c2fs.fplive.net
[rtmpdump] DEBUG: Parsed app     : c2?nvb=20150530222722&nva=20150531022822&token=07a90836d43880d487927
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPE
[rtmpdump] DEBUG: Hostname : c2fs.fplive.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:s/ve1547931/video.mp4
[rtmpdump] DEBUG: tcUrl    : rtmpe://c2fs.fplive.net:1935/c2?nvb=20150530222722&nva=20150531022822&token=07a90836d43880d487927
[rtmpdump] DEBUG: app      : c2?nvb=20150530222722&nva=20150531022822&token=07a90836d43880d487927
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Setting buffer time to: 36000000ms
[rtmpdump] Connecting ...
[rtmpdump] DEBUG: RTMP_Connect1, ... connected, handshaking
[rtmpdump] DEBUG: HandShake: Client type: 06
[rtmpdump] DEBUG: HandShake: DH pubkey position: 472
[rtmpdump] DEBUG: HandShake: Client digest offset: 1383
[rtmpdump] DEBUG: HandShake: Initial client digest: 
[rtmpdump] DEBUG: c5 59 c2 9a ca 3e 69 e4 4d 54 27 a7 e4 67 da 72
[rtmpdump] DEBUG: 9c 14 88 67 90 e0 b9 c2 9c ce fc 24 d4 21 b4 77
[rtmpdump] DEBUG: HandShake: Type Answer   : 09
[rtmpdump] WARNING: HandShake: Type mismatch: client sent 6, server answered 9
[rtmpdump] DEBUG: HandShake: Server Uptime : 1100353848
[rtmpdump] DEBUG: HandShake: FMS Version   : 4.5.3.1
[rtmpdump] DEBUG: HandShake: Server DH public key offset: 358
[rtmpdump] DEBUG: HandShake: Secret key: 
[rtmpdump] DEBUG: f2 e8 31 1e 04 c9 80 ee ee b7 f3 f7 83 75 82 e7
[rtmpdump] DEBUG: fb d1 4a 14 1d 76 5f e6 9f a3 29 c5 82 6a 15 07
[rtmpdump] DEBUG: 4e 77 fb 76 e8 15 4d 67 4b ba 03 65 cd 49 70 4c
[rtmpdump] DEBUG: 24 2d 24 d8 bf f5 b2 99 d1 bb f3 21 8b f8 e0 cc
[rtmpdump] DEBUG: f9 85 ed 89 db 6d 2a 6c 15 74 85 27 a7 55 84 0f
[rtmpdump] DEBUG: a3 0c ea a8 dc 60 6b 2f 17 fd e1 73 10 8c 33 64
[rtmpdump] DEBUG: f4 2c 66 a1 f6 de 42 fd b7 7b bb e6 7e f7 2c 66
[rtmpdump] DEBUG: 09 7f 09 0c 77 55 31 25 5a 28 1e c1 62 ce 6d 18
[rtmpdump] DEBUG: RC4 Out Key: 
[rtmpdump] DEBUG: 5f a4 35 50 69 60 07 ed 08 98 25 1a bd b4 e1 ae
[rtmpdump] DEBUG: RC4 In Key: 
[rtmpdump] DEBUG: e5 d6 36 db f0 fd 72 91 99 40 08 8b f8 36 80 5b
[rtmpdump] DEBUG: HandShake: Calculated digest key from secure key and server digest: 
[rtmpdump] DEBUG: 53 4e 3d 48 af 93 4f a3 8d 32 6f 85 7a 71 00 15
[rtmpdump] DEBUG: 39 8c f8 5b 2e b4 e8 df 3c 1a 51 5c 7f 01 56 53
[rtmpdump] DEBUG: HandShake: Client signature calculated:
[rtmpdump] DEBUG: e3 3c a7 a2 6b bf 1b 6a 5c f5 ea 0c 37 5f 59 ec
[rtmpdump] DEBUG: fd 74 52 bf 53 fd 0e db ff 70 79 ec 13 a4 d0 8f
[rtmpdump] DEBUG: HandShake: Server sent signature:
[rtmpdump] DEBUG: be e8 8c 43 96 1b 8f ff d4 83 cf 8d f3 74 04 76
[rtmpdump] DEBUG: e4 3f ca 87 18 b5 f8 89 81 08 7a 61 a8 95 f7 0c
[rtmpdump] DEBUG: HandShake: Digest key: 
[rtmpdump] DEBUG: cb b7 5d b2 8c 59 0e 6d 20 ff fa a9 51 ee 52 ef
[rtmpdump] DEBUG: 0b 98 00 1f e2 64 5a e5 b6 1c 83 99 3d bf ce af
[rtmpdump] DEBUG: HandShake: Signature calculated:
[rtmpdump] DEBUG: be e8 8c 43 96 1b 8f ff d4 83 cf 8d f3 74 04 76
[rtmpdump] DEBUG: e4 3f ca 87 18 b5 f8 89 81 08 7a 61 a8 95 f7 0c
[rtmpdump] DEBUG: HandShake: Genuine Adobe Flash Media Server
[rtmpdump] DEBUG: HandShake: Handshaking finished....
[rtmpdump] DEBUG: RTMP_Connect1, handshaked
[rtmpdump] DEBUG: Invoking connect
[rtmpdump] INFO: Connected...
[rtmpdump] DEBUG: HandleChangeChunkSize, received: chunk size change to 128
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 165 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:              level, STRING:  error>
[rtmpdump] DEBUG: Property: <Name:               code, STRING:  NetConnection.Connect.Rejected>
[rtmpdump] DEBUG: Property: <Name:        description, STRING:  Connection failed.>
[rtmpdump] DEBUG: Property: <Name:        description, STRING:  [ Server.Reject ] : Connection failed.>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_error>
[rtmpdump] ERROR: rtmp server sent error
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <close>
[rtmpdump] ERROR: rtmp server requested close
[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: 2
[rtmpdump] DEBUG: Parsed host    : c2fs.fplive.net
[rtmpdump] DEBUG: Parsed app     : c2?nvb=20150530222722&nva=20150531022822&token=07a90836d43880d487927
[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 : c2fs.fplive.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:s/ve1547931/video.mp4
[rtmpdump] DEBUG: tcUrl    : rtmpe://c2fs.fplive.net:1935/c2?nvb=20150530222722&nva=20150531022822&token=07a90836d43880d487927
[rtmpdump] DEBUG: app      : c2?nvb=20150530222722&nva=20150531022822&token=07a90836d43880d487927
[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/bin/youtube-dl", line 9, in <module>
    load_entry_point('youtube-dl==2015.5.29', 'console_scripts', 'youtube-dl')()
  File "/usr/lib/python3.4/site-packages/youtube_dl/__init__.py", line 405, in main
    _real_main(argv)
  File "/usr/lib/python3.4/site-packages/youtube_dl/__init__.py", line 395, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1502, in download
    res = self.extract_info(url)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 661, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 707, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1173, in process_video_result
    self.process_info(new_info)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1435, in process_info
    success = dl(filename, info_dict)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1377, in dl
    return fd.download(name, info)
  File "/usr/lib/python3.4/site-packages/youtube_dl/downloader/common.py", line 342, in download
    return self.real_download(filename, info_dict)
  File "/usr/lib/python3.4/site-packages/youtube_dl/downloader/rtmp.py", line 202, in real_download
    self.report_error('rtmpdump exited with code %d' % retval)
  File "/usr/lib/python3.4/site-packages/youtube_dl/downloader/common.py", line 155, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 528, in report_error
    self.trouble(error_message, tb)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 490, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())
@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 30, 2015

Which country(ies) does this video georestricted to?

@almostalive
Copy link
Author

@almostalive almostalive commented May 30, 2015

I not sure, the pages do not list any location restrictions that I can see. I guess I should mention I am in the USA. I can watch videos just fine in a web broswer and they work with livestreamer (both of those methods suck compared to youtube-dl).

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 5, 2015

This issue will be fixed in the next version. Thanks for the report.

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.