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 #2759

Closed
googleguy opened this issue Apr 17, 2014 · 12 comments
Closed

crunchyroll rtmpdump exited with code 1 #2759

googleguy opened this issue Apr 17, 2014 · 12 comments

Comments

@googleguy
Copy link

@googleguy googleguy commented Apr 17, 2014

WARNING: Assuming --restrict-filenames since file system encoding cannot encode all charactes. Set the LC_ALL environment variable to fix this.
[debug] Encodings: locale ANSI_X3.4-1968, fs ascii, out ANSI_X3.4-1968, pref ANSI_X3.4-1968
[debug] youtube-dl version 2014.04.13
[debug] Python version 3.3.5 - Linux-2.6.32-358.14.1.el6.x86_64-x86_64-with-centos-6.4-Final
[debug] Proxy map: {'https': '173.192.59.130:8888', 'http': '173.192.59.130:8888'}
[Crunchyroll] 652167: Downloading webpage
[Crunchyroll] 652167: Downloading media info
[Crunchyroll] 652167: Downloading media info for 360p
[Crunchyroll] 652167: Downloading media info for 480p
[Crunchyroll] 652167: Downloading media info for 720p
[Crunchyroll] 652167: Downloading media info for 1080p
[Crunchyroll] 652167: Downloading subtitles for English (US)
[download] Destination: Fairy_Tail_Series_2_Episode_1_The_Dragon_King-652167.flv
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmpe://c11fs.fplive.net/c11?nvb=20140417040745&nva=20140417080845&token=0ee7362434c326f1b0970' -o Fairy_Tail_Series_2_Episode_1_The_Dragon_King-652167.flv.part --playpath mp4:s/ve1348719/video.mp4 --resume --skip 1
[rtmpdump] RTMPDump v2.3
rtmpdump 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 2
[rtmpdump] DEBUG: Parsed host : c11fs.fplive.net
[rtmpdump] DEBUG: Parsed app : c11?nvb=20140417040745&nva=20140417080845&token=0ee7362434c326f1b0970
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPE
[rtmpdump] DEBUG: Hostname : c11fs.fplive.net
[rtmpdump] DEBUG: Port : 1935
[rtmpdump] DEBUG: Playpath : mp4:s/ve1348719/video.mp4
[rtmpdump] DEBUG: tcUrl : rtmpe://c11fs.fplive.net:1935/c11?nvb=20140417040745&nva=20140417080845&token=0ee7362434c326f1b0970
[rtmpdump] DEBUG: app : c11?nvb=20140417040745&nva=20140417080845&token=0ee7362434c326f1b0970
[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 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 2
[rtmpdump] DEBUG: Parsed host : c11fs.fplive.net
[rtmpdump] DEBUG: Parsed app : c11?nvb=20140417040745&nva=20140417080845&token=0ee7362434c326f1b0970
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPE
[rtmpdump] DEBUG: Hostname : c11fs.fplive.net
[rtmpdump] DEBUG: Port : 1935
[rtmpdump] DEBUG: Playpath : mp4:s/ve1348719/video.mp4
[rtmpdump] DEBUG: tcUrl : rtmpe://c11fs.fplive.net:1935/c11?nvb=20140417040745&nva=20140417080845&token=0ee7362434c326f1b0970
[rtmpdump] DEBUG: app : c11?nvb=20140417040745&nva=20140417080845&token=0ee7362434c326f1b0970
[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/local/bin/youtube-dl", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.3/site-packages/youtube_dl/init.py", line 845, in main
_real_main(argv)
File "/usr/local/lib/python3.3/site-packages/youtube_dl/init.py", line 835, in _real_main
retcode = ydl.download(all_urls)
File "/usr/local/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 1036, in download
self.extract_info(url)
File "/usr/local/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 525, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/local/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 562, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/local/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 817, in process_video_result
self.process_info(new_info)
File "/usr/local/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 1007, in process_info
success = dl(filename, info_dict)
File "/usr/local/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 983, in dl
return fd.download(name, info)
File "/usr/local/lib/python3.3/site-packages/youtube_dl/downloader/common.py", line 291, in download
return self.real_download(filename, info_dict)
File "/usr/local/lib/python3.3/site-packages/youtube_dl/downloader/rtmp.py", line 194, in real_download
self.report_error('rtmpdump exited with code %d' % retval)
File "/usr/local/lib/python3.3/site-packages/youtube_dl/downloader/common.py", line 144, in report_error
self.ydl.report_error(_args, *_kargs)
File "/usr/local/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 404, in report_error
self.trouble(error_message, tb)
File "/usr/local/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 366, in trouble
tb_data = traceback.format_list(traceback.extract_stack())

@ghost
Copy link

@ghost ghost commented Dec 4, 2014

Same issue. Anyone understand the problem?

[Crunchyroll] Logging in
[Crunchyroll] 662275: Downloading webpage
[Crunchyroll] 662275: Downloading media info
[Crunchyroll] 662275: Downloading media info for 360p
[Crunchyroll] 662275: Downloading media info for 480p
[Crunchyroll] 662275: Downloading media info for 720p
[Crunchyroll] 662275: Downloading media info for 1080p
[Crunchyroll] 662275: Downloading subtitles for English (US)
[Crunchyroll] 662275: Downloading subtitles for Español
[Crunchyroll] 662275: Downloading subtitles for Português (Brasil)
[debug] Invoking downloader on 'rtmpe://c17fs.fplive.net/c17?nvb=20141204001753&nva=20141204041853&token=040a6e6ba351537e8acd9'
[download] Destination: Akame ga Kill! Episode 22 – Kill the Little Sister-662275.flv
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmpe://c17fs.fplive.net/c17?nvb=20141204001753&nva=20141204041853&token=040a6e6ba351537e8acd9' -o 'Akame ga Kill! Episode 22 – Kill the Little Sister-662275.flv.part' --playpath mp4:s/ve1619445/video.mp4 --resume --skip 1
[rtmpdump] RTMPDump 2.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    : c17fs.fplive.net
[rtmpdump] DEBUG: Parsed app     : c17?nvb=20141204001753&nva=20141204041853&token=040a6e6ba351537e8acd9
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPE
[rtmpdump] DEBUG: Hostname : c17fs.fplive.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:s/ve1619445/video.mp4
[rtmpdump] DEBUG: tcUrl    : rtmpe://c17fs.fplive.net:1935/c17?nvb=20141204001753&nva=20141204041853&token=040a6e6ba351537e8acd9
[rtmpdump] DEBUG: app      : c17?nvb=20141204001753&nva=20141204041853&token=040a6e6ba351537e8acd9
[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 2.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    : c17fs.fplive.net
[rtmpdump] DEBUG: Parsed app     : c17?nvb=20141204001753&nva=20141204041853&token=040a6e6ba351537e8acd9
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPE
[rtmpdump] DEBUG: Hostname : c17fs.fplive.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:s/ve1619445/video.mp4
[rtmpdump] DEBUG: tcUrl    : rtmpe://c17fs.fplive.net:1935/c17?nvb=20141204001753&nva=20141204041853&token=040a6e6ba351537e8acd9
[rtmpdump] DEBUG: app      : c17?nvb=20141204001753&nva=20141204041853&token=040a6e6ba351537e8acd9
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Failed to get last keyframe.
[rtmpdump] DEBUG: Closing connection.
@Arfrever
Copy link

@Arfrever Arfrever commented Feb 9, 2015

I also can reproduce this bug:

$ youtube-dl http://www.crunchyroll.com/fate-zero/episode-1-the-summoning-of-heroes-585390 -o 'FZ_01.%(ext)s'
[Crunchyroll] 585390: Downloading webpage
[Crunchyroll] 585390: Downloading media info
[Crunchyroll] 585390: Downloading media info for 360p
[Crunchyroll] 585390: Downloading media info for 480p
[Crunchyroll] 585390: Downloading media info for 720p
[Crunchyroll] 585390: Downloading media info for 720p
[Crunchyroll] 585390: Downloading media info for 1080p
[Crunchyroll] 585390: Downloading media info for 1080p
[Crunchyroll] 585390: Downloading subtitles for English (US)
[Crunchyroll] 585390: Downloading subtitles for Español
[Crunchyroll] 585390: Downloading subtitles for Português (Brasil)
[download] Destination: FZ_01.flv
[rtmpdump] 0 bytes


ERROR: rtmpdump exited with code 1
$ youtube-dl http://www.crunchyroll.com/fate-zero/episode-1-the-summoning-of-heroes-585390 -o 'FZ_01.%(ext)s' --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.crunchyroll.com/fate-zero/episode-1-the-summoning-of-heroes-585390', '-o', 'FZ_01.%(ext)s', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.02.09.3
[debug] Git HEAD: 28f1272
[debug] Python version 3.4.2+
[debug] exe versions: ffmpeg 2.5.3, ffprobe 2.5.3, rtmpdump 2.4
[debug] Proxy map: {}
[Crunchyroll] 585390: Downloading webpage
[Crunchyroll] 585390: Downloading media info
[Crunchyroll] 585390: Downloading media info for 360p
[Crunchyroll] 585390: Downloading media info for 480p
[Crunchyroll] 585390: Downloading media info for 720p
[Crunchyroll] 585390: Downloading media info for 720p
[Crunchyroll] 585390: Downloading media info for 1080p
[Crunchyroll] 585390: Downloading media info for 1080p
[Crunchyroll] 585390: Downloading subtitles for English (US)
[Crunchyroll] 585390: Downloading subtitles for Español
[Crunchyroll] 585390: Downloading subtitles for Português (Brasil)
[debug] Invoking downloader on 'rtmpe://c7fs.fplive.net/c7?nvb=20150209194432&nva=20150209234532&token=0d6da2ca41bc38ccdb25e'
[download] Destination: FZ_01.flv
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmpe://c7fs.fplive.net/c7?nvb=20150209194432&nva=20150209234532&token=0d6da2ca41bc38ccdb25e' -o FZ_01.flv.part --playpath mp4:s/ve784341/video.mp4
[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    : c7fs.fplive.net
[rtmpdump] DEBUG: Parsed app     : c7?nvb=20150209194432&nva=20150209234532&token=0d6da2ca41bc38ccdb25e
[rtmpdump] DEBUG: Protocol : RTMPE
[rtmpdump] DEBUG: Hostname : c7fs.fplive.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:s/ve784341/video.mp4
[rtmpdump] DEBUG: tcUrl    : rtmpe://c7fs.fplive.net:1935/c7?nvb=20150209194432&nva=20150209234532&token=0d6da2ca41bc38ccdb25e
[rtmpdump] DEBUG: app      : c7?nvb=20150209194432&nva=20150209234532&token=0d6da2ca41bc38ccdb25e
[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: 69 5b 73 d2 95 45 89 96 16 a8 72 a6 f3 37 23 3f
[rtmpdump] DEBUG: 51 fe 9e 7d b3 af 49 61 df e5 7e fc 0e a4 01 7c
[rtmpdump] DEBUG: HandShake: Type Answer   : 09
[rtmpdump] WARNING: HandShake: Type mismatch: client sent 6, server answered 9
[rtmpdump] DEBUG: HandShake: Server Uptime : 1522005052
[rtmpdump] DEBUG: HandShake: FMS Version   : 4.5.3.1
[rtmpdump] DEBUG: HandShake: Server DH public key offset: 471
[rtmpdump] DEBUG: HandShake: Secret key: 
[rtmpdump] DEBUG: 6d 9e 1d 52 dc c2 d4 03 72 45 ab a3 0b c0 27 02
[rtmpdump] DEBUG: 56 4e 3b b4 f8 ec 26 05 93 03 fb 8e 29 14 9e 8f
[rtmpdump] DEBUG: 7e 6d ae 51 d3 6e 7f 76 75 0f fd d2 74 4a 4b 08
[rtmpdump] DEBUG: c7 6b eb d1 f3 a3 d7 09 06 f6 0f 9f 85 a9 a7 62
[rtmpdump] DEBUG: 99 7f b2 90 5b 22 6b 87 30 87 aa 4e c6 a1 22 f4
[rtmpdump] DEBUG: 18 f3 37 c7 28 b0 f0 8a 01 03 00 b8 36 bc 30 34
[rtmpdump] DEBUG: 77 03 7b 0f e4 5b a1 5f e2 41 bf 51 19 8c be 78
[rtmpdump] DEBUG: f9 72 22 e0 a5 68 e4 22 79 82 89 11 5c b7 d9 70
[rtmpdump] DEBUG: RC4 Out Key: 
[rtmpdump] DEBUG: 4b 21 4b b9 d0 a5 c1 54 4f 6c d1 68 2e 93 b3 ea
[rtmpdump] DEBUG: RC4 In Key: 
[rtmpdump] DEBUG: eb 11 79 80 ef 76 48 9f f7 93 2e 96 99 31 57 c7
[rtmpdump] DEBUG: HandShake: Calculated digest key from secure key and server digest: 
[rtmpdump] DEBUG: 24 75 5f e9 27 6f 04 25 d6 92 7d 45 1a 22 7d 2c
[rtmpdump] DEBUG: 9f fd 30 98 98 03 7e 8f cf d2 f6 54 40 92 11 28
[rtmpdump] DEBUG: HandShake: Client signature calculated:
[rtmpdump] DEBUG: 90 93 2b 2f 2a 7a 5e 09 c5 3f 7e a8 23 92 2b 0c
[rtmpdump] DEBUG: 82 ff b4 85 c7 c2 f3 ce bc ec 82 4d 30 4d 12 e3
[rtmpdump] DEBUG: HandShake: Server sent signature:
[rtmpdump] DEBUG: 50 64 c1 3d de d2 20 f4 6e af 80 ae c5 47 85 bd
[rtmpdump] DEBUG: dc 42 a0 e3 3e c7 7c ca 12 9a f1 0a 01 5a d3 60
[rtmpdump] DEBUG: HandShake: Digest key: 
[rtmpdump] DEBUG: b3 83 aa a3 dd b1 74 a8 ba 80 1e b3 86 85 65 76
[rtmpdump] DEBUG: e8 5d 29 a3 a9 cb bf ca 74 8a fa 9e db 91 7e e9
[rtmpdump] DEBUG: HandShake: Signature calculated:
[rtmpdump] DEBUG: 50 64 c1 3d de d2 20 f4 6e af 80 ae c5 47 85 bd
[rtmpdump] DEBUG: dc 42 a0 e3 3e c7 7c ca 12 9a f1 0a 01 5a d3 60
[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    : c7fs.fplive.net
[rtmpdump] DEBUG: Parsed app     : c7?nvb=20150209194432&nva=20150209234532&token=0d6da2ca41bc38ccdb25e
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPE
[rtmpdump] DEBUG: Hostname : c7fs.fplive.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:s/ve784341/video.mp4
[rtmpdump] DEBUG: tcUrl    : rtmpe://c7fs.fplive.net:1935/c7?nvb=20150209194432&nva=20150209234532&token=0d6da2ca41bc38ccdb25e
[rtmpdump] DEBUG: app      : c7?nvb=20150209194432&nva=20150209234532&token=0d6da2ca41bc38ccdb25e
[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 6, in <module>
    youtube_dl.main()
  File "/root/youtube-dl/youtube_dl/__init__.py", line 382, in main
    _real_main(argv)
  File "/root/youtube-dl/youtube_dl/__init__.py", line 372, in _real_main
    retcode = ydl.download(all_urls)
  File "/root/youtube-dl/youtube_dl/YoutubeDL.py", line 1373, in download
    res = self.extract_info(url)
  File "/root/youtube-dl/youtube_dl/YoutubeDL.py", line 630, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/root/youtube-dl/youtube_dl/YoutubeDL.py", line 676, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/root/youtube-dl/youtube_dl/YoutubeDL.py", line 1131, in process_video_result
    self.process_info(new_info)
  File "/root/youtube-dl/youtube_dl/YoutubeDL.py", line 1306, in process_info
    success = dl(filename, info_dict)
  File "/root/youtube-dl/youtube_dl/YoutubeDL.py", line 1281, in dl
    return fd.download(name, info)
  File "/root/youtube-dl/youtube_dl/downloader/common.py", line 316, in download
    return self.real_download(filename, info_dict)
  File "/root/youtube-dl/youtube_dl/downloader/rtmp.py", line 204, in real_download
    self.report_error('rtmpdump exited with code %d' % retval)
  File "/root/youtube-dl/youtube_dl/downloader/common.py", line 151, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/root/youtube-dl/youtube_dl/YoutubeDL.py", line 505, in report_error
    self.trouble(error_message, tb)
  File "/root/youtube-dl/youtube_dl/YoutubeDL.py", line 467, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Feb 12, 2015

@googleguy I can download http://www.crunchyroll.com/fairy-tail/episode-1-the-dragon-king-652167 ( I think that's what you were trying), but I have rtmpdump 2.4, could you try upgrading it?

@olliesable I can't find the url you are trying to download, could you share it?

@Arfrever could you find a url that is not georestricted?

@reddraggone9
Copy link
Contributor

@reddraggone9 reddraggone9 commented Feb 21, 2015

Hmm, my first thought was Naruto episode 13 because that was where I first experienced this problem, but that is US and Canada only. However, I do have a problem with that Fairy Tail link even with rtmpdump 2.4:

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-u', u'PRIVATE', '-p', u'PRIVATE', '--write-sub', '--sub-lang', 'en', '-v', 'http://www.crunchyroll.com/fairy-tail/episode-1-the-dragon-king-652167']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.02.20
[debug] Python version 2.7.8 - Linux-3.16.0-30-generic-x86_64-with-Ubuntu-14.10-utopic
[debug] exe versions: avconv 11-6, avprobe 11-6, rtmpdump 2.4
[debug] Proxy map: {}
[Crunchyroll] Logging in
[Crunchyroll] 652167: Downloading webpage
[Crunchyroll] 652167: Downloading media info
[Crunchyroll] 652167: Downloading media info for 360p
[Crunchyroll] 652167: Downloading media info for 480p
[Crunchyroll] 652167: Downloading media info for 720p
[Crunchyroll] 652167: Downloading media info for 1080p
[Crunchyroll] 652167: Downloading subtitles for English (US)
[info] Writing video subtitles to: Fairy Tail Series 2 Episode 1 – The Dragon King-652167.enUS.srt
[debug] Invoking downloader on 'rtmpe://c13fs.fplive.net/c13?nvb=20150221172417&nva=20150221212517&token=07ff59c000006d903cfac'
[download] Destination: Fairy Tail Series 2 Episode 1 – The Dragon King-652167.flv
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmpe://c13fs.fplive.net/c13?nvb=20150221172417&nva=20150221212517&token=07ff59c000006d903cfac' -o 'Fairy Tail Series 2 Episode 1 – The Dragon King-652167.flv.part' --playpath mp4:s/ve1348725/video.mp4
[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    : c13fs.fplive.net
[rtmpdump] DEBUG: Parsed app     : c13?nvb=20150221172417&nva=20150221212517&token=07ff59c000006d903cfac
[rtmpdump] DEBUG: Protocol : RTMPE
[rtmpdump] DEBUG: Hostname : c13fs.fplive.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:s/ve1348725/video.mp4
[rtmpdump] DEBUG: tcUrl    : rtmpe://c13fs.fplive.net:1935/c13?nvb=20150221172417&nva=20150221212517&token=07ff59c000006d903cfac
[rtmpdump] DEBUG: app      : c13?nvb=20150221172417&nva=20150221212517&token=07ff59c000006d903cfac
[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: ea a6 66 89 f4 47 c4 cb 8c 47 90 37 ad e6 b9 85
[rtmpdump] DEBUG: bb 6e ce 51 65 d1 35 a4 58 a0 f8 fe 4b 1e a9 55
[rtmpdump] DEBUG: HandShake: Type Answer   : 09
[rtmpdump] WARNING: HandShake: Type mismatch: client sent 6, server answered 9
[rtmpdump] DEBUG: HandShake: Server Uptime : 1392275275
[rtmpdump] DEBUG: HandShake: FMS Version   : 4.5.3.1
[rtmpdump] DEBUG: HandShake: Server DH public key offset: 606
[rtmpdump] DEBUG: HandShake: Secret key: 
[rtmpdump] DEBUG: 87 cf 90 b5 c7 8d 10 b6 ab 3f b9 2d e4 4d 1d a0
[rtmpdump] DEBUG: 35 c4 3d 65 10 ec ae fe 62 41 02 00 b8 dc c0 1f
[rtmpdump] DEBUG: f7 fe d5 6b 32 cf e7 dd c4 15 96 46 74 a7 78 93
[rtmpdump] DEBUG: dc 86 a5 a1 65 d4 a7 fd b8 1f 58 7b 64 af ba f7
[rtmpdump] DEBUG: 3d d0 3d ce c2 3a dd d5 68 7e d1 0e 38 8c 30 bb
[rtmpdump] DEBUG: 22 99 e0 72 ba 40 73 9b e7 ee 64 be 1b aa a7 c5
[rtmpdump] DEBUG: 9e 9c 87 40 dd 16 61 92 f3 3c 7c a6 55 21 bb 03
[rtmpdump] DEBUG: f0 5e 5f 79 b2 79 3f e7 0a d8 42 f3 0d ea 2d 07
[rtmpdump] DEBUG: RC4 Out Key: 
[rtmpdump] DEBUG: 3d 53 11 e2 f6 ac 00 c7 60 97 88 4c 3a 0c f2 44
[rtmpdump] DEBUG: RC4 In Key: 
[rtmpdump] DEBUG: b2 59 62 dd ff d0 3c 0b bc 08 7a 35 51 2a 86 47
[rtmpdump] DEBUG: HandShake: Calculated digest key from secure key and server digest: 
[rtmpdump] DEBUG: f4 c3 64 71 ae 53 d2 95 52 28 91 70 eb 61 2d b4
[rtmpdump] DEBUG: a2 a8 31 8c b4 6e 8c 9f c5 a0 d5 4e 95 53 b1 69
[rtmpdump] DEBUG: HandShake: Client signature calculated:
[rtmpdump] DEBUG: a9 0c f4 31 ab e5 08 f1 83 36 32 17 99 ab 77 9e
[rtmpdump] DEBUG: 66 5f ce 08 1f d6 3e 43 02 60 90 f8 21 c1 16 32
[rtmpdump] DEBUG: HandShake: Server sent signature:
[rtmpdump] DEBUG: f2 fd 14 96 37 71 17 97 41 62 e3 2e c6 b1 69 c1
[rtmpdump] DEBUG: 6b cf 76 3b 26 3e 4b d0 be 1c bd ab 22 64 cf 9d
[rtmpdump] DEBUG: HandShake: Digest key: 
[rtmpdump] DEBUG: 33 31 d5 1b 2a a7 b2 62 a1 28 88 0b df 55 2d d1
[rtmpdump] DEBUG: 36 ea 0e 92 b0 ef f0 77 56 0b 59 b4 72 65 93 05
[rtmpdump] DEBUG: HandShake: Signature calculated:
[rtmpdump] DEBUG: f2 fd 14 96 37 71 17 97 41 62 e3 2e c6 b1 69 c1
[rtmpdump] DEBUG: 6b cf 76 3b 26 3e 4b d0 be 1c bd ab 22 64 cf 9d
[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    : c13fs.fplive.net
[rtmpdump] DEBUG: Parsed app     : c13?nvb=20150221172417&nva=20150221212517&token=07ff59c000006d903cfac
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPE
[rtmpdump] DEBUG: Hostname : c13fs.fplive.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:s/ve1348725/video.mp4
[rtmpdump] DEBUG: tcUrl    : rtmpe://c13fs.fplive.net:1935/c13?nvb=20150221172417&nva=20150221212517&token=07ff59c000006d903cfac
[rtmpdump] DEBUG: app      : c13?nvb=20150221172417&nva=20150221212517&token=07ff59c000006d903cfac
[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 <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 390, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 380, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1376, in download
    res = self.extract_info(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 654, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 700, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1134, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1309, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1284, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 339, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/rtmp.py", line 203, in real_download
    self.report_error('rtmpdump exited with code %d' % retval)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 152, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 521, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 483, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())
@Arfrever
Copy link

@Arfrever Arfrever commented Feb 22, 2015

I can reproduce the failure with http://www.crunchyroll.com/fairy-tail/episode-1-the-dragon-king-652167 when downloading to a computer in USA, but not when downloading to a computer in Europe.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Feb 26, 2015

In my case, I get this rtmp command line:

[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmpe://cp150757.edgefcs.net/ondemand/?auth=daEaUcebdaTd5cydFaKafc4bidRbxcLavda-bu7W8e-dHa-rCHxoqMDEwy&aifp=0009&slist=c17/s/ve1348725/video.mp4' -o 'Fairy Tail Series 2 Episode 1 – The Dragon King-652167.flv.part' --playpath mp4:c17/s/ve1348725/video.mp4

While in your case you get --playpath mp4:s/ve1348725/video.mp4 (the url is also in a different format), that could be the problem. It would be great if someone from USA could inspect the rtmp connection with wireshark or similar.

@jillesme
Copy link

@jillesme jillesme commented Apr 5, 2015

Got an error too for http://www.crunchyroll.com/akame-ga-kill/episode-13-kill-the-nuisances-656919

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.crunchyroll.com/akame-ga-kill/episode-13-kill-the-nuisances-656919', u'-v']
[debug] Encodings: locale UTF-8, fs utf-8, out None, pref UTF-8
[debug] youtube-dl version 2015.04.03
[debug] Python version 2.7.9 - Darwin-14.1.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.6.1, ffprobe 2.6.1, rtmpdump 2.4
[debug] Proxy map: {}
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/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 <module>
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 408, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 398, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1446, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 662, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 708, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1150, in process_video_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1379, in process_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1354, in dl
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 341, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/rtmp.py", line 166, in real_download
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 375, in _debug_cmd
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 371, in <lambda>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 27: ordinal not in range(128)
@Arfrever
Copy link

@Arfrever Arfrever commented Apr 6, 2015

jillesme: Your error is different. Please file a separate bug (after checking if it is reproducible with newest version of youtube-dl).

@zJoul
Copy link

@zJoul zJoul commented Apr 12, 2015

I have the same problem with all the Blue Spring Ride episodes

[debug] System config: []
[debug] User config: ['--sub-format', 'srt', '--sub-lang', 'enUS,frFR', '--prefer-ffmpeg', '--fixup', 'detect_or_warn', '--recode-video', 'mkv', '--add-metadata', '--write-sub', '--prefer-free-formats']
[debug] Command-line args: ['--proxy', 'http://us04.sq.proxmate.me:8000', '--username', 'PRIVATE', '--output', '[Crunchyroll] %(title)s.%(ext)s', '--verbose', 'http://www.crunchyroll.com/blue-spring-ride/episode-1-page-1-657031']
Type account password and press [Return]: 
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.03.28
[debug] Python version 3.4.3 - Linux-3.19.2-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 2.6.1, ffprobe 2.6.1, rtmpdump 2.4
[debug] Proxy map: {'https': 'http://us04.sq.proxmate.me:8000', 'http': 'http://us04.sq.proxmate.me:8000'}
[Crunchyroll] Logging in
[Crunchyroll] 657031: Downloading webpage
[Crunchyroll] 657031: Downloading media info
[Crunchyroll] 657031: Downloading media info for 360p
[Crunchyroll] 657031: Downloading media info for 480p
[Crunchyroll] 657031: Downloading media info for 720p
[Crunchyroll] 657031: Downloading media info for 1080p
[Crunchyroll] 657031: Downloading subtitles for English (US)
WARNING: frFR subtitles not available for 657031
[info] Writing video subtitles to: [Crunchyroll] Blue Spring Ride Episode 1 – Page. 1.enUS.srt
[debug] Invoking downloader on 'rtmpe://c18fs.fplive.net/c18?nvb=20150412124913&nva=20150412165013&token=008ae5206970353ce2de4'
[download] Destination: [Crunchyroll] Blue Spring Ride Episode 1 – Page. 1.flv
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmpe://c18fs.fplive.net/c18?nvb=20150412124913&nva=20150412165013&token=008ae5206970353ce2de4' -o '[Crunchyroll] Blue Spring Ride Episode 1 – Page. 1.flv.part' --playpath mp4:s/ve1441511/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    : c18fs.fplive.net
[rtmpdump] DEBUG: Parsed app     : c18?nvb=20150412124913&nva=20150412165013&token=008ae5206970353ce2de4
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPE
[rtmpdump] DEBUG: Hostname : c18fs.fplive.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:s/ve1441511/video.mp4
[rtmpdump] DEBUG: tcUrl    : rtmpe://c18fs.fplive.net:1935/c18?nvb=20150412124913&nva=20150412165013&token=008ae5206970353ce2de4
[rtmpdump] DEBUG: app      : c18?nvb=20150412124913&nva=20150412165013&token=008ae5206970353ce2de4
[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: a6 59 b5 bf cd 01 ee 3f 97 81 f4 9f 21 18 41 46
[rtmpdump] DEBUG: e8 17 90 d8 30 1d ce dd aa c9 c3 ac 5a 4b 1a 97
[rtmpdump] DEBUG: HandShake: Type Answer   : 09
[rtmpdump] WARNING: HandShake: Type mismatch: client sent 6, server answered 9
[rtmpdump] DEBUG: HandShake: Server Uptime : 2135264415
[rtmpdump] DEBUG: HandShake: FMS Version   : 4.5.3.1
[rtmpdump] DEBUG: HandShake: Server DH public key offset: 378
[rtmpdump] DEBUG: HandShake: Secret key: 
[rtmpdump] DEBUG: 1b c5 6e 13 01 05 67 b7 c4 85 9d 09 84 86 37 26
[rtmpdump] DEBUG: b2 ae 88 6f a1 d2 b0 79 f7 a9 6f 80 8d 13 25 89
[rtmpdump] DEBUG: 2e a6 ff 12 ef 9e c4 eb 73 2c b0 f1 9c f8 83 90
[rtmpdump] DEBUG: ba b1 5a 3d 84 99 62 37 3a 81 7c dc 22 be 73 56
[rtmpdump] DEBUG: 87 7c b6 77 26 0c 60 e9 67 12 5b a4 cf 9e ea 14
[rtmpdump] DEBUG: 28 c9 38 bf 09 08 f6 45 10 8d 19 bc ec c4 c0 55
[rtmpdump] DEBUG: 21 e1 69 57 a9 d5 99 21 36 01 82 28 c8 fe 4c 5e
[rtmpdump] DEBUG: 1a 8c 96 58 13 3f 9c b5 28 d1 fe c5 ff 82 15 15
[rtmpdump] DEBUG: RC4 Out Key: 
[rtmpdump] DEBUG: ce b6 d3 4d 05 75 49 37 9c 2c 95 9d d5 e9 8a d4
[rtmpdump] DEBUG: RC4 In Key: 
[rtmpdump] DEBUG: 26 e8 dd ad 46 95 60 0e ce 4d 48 42 55 24 1f e8
[rtmpdump] DEBUG: HandShake: Calculated digest key from secure key and server digest: 
[rtmpdump] DEBUG: 59 64 46 a9 59 e8 13 d4 fb ae 44 ab 66 69 f0 9f
[rtmpdump] DEBUG: 8f 8d b5 c9 54 6f 97 86 d0 aa d5 a8 b9 57 00 a8
[rtmpdump] DEBUG: HandShake: Client signature calculated:
[rtmpdump] DEBUG: 1d bc 99 c8 80 49 63 8b ed 5b 49 03 21 04 31 39
[rtmpdump] DEBUG: 76 e1 2b fe ad bc 51 24 93 9a 54 ef cd 48 8d 55
[rtmpdump] DEBUG: HandShake: Server sent signature:
[rtmpdump] DEBUG: 11 d1 2a be 1d 59 56 be 83 c2 a3 a6 36 cd 5b 2f
[rtmpdump] DEBUG: cc 05 2b 0f c7 c8 73 4a a6 d9 59 1b b6 b8 8c 45
[rtmpdump] DEBUG: HandShake: Digest key: 
[rtmpdump] DEBUG: d5 f1 6f 78 7d 4c fa 12 1e e1 50 f6 b2 f8 90 2b
[rtmpdump] DEBUG: 28 32 5e e7 12 cd 32 03 06 57 09 d4 18 af d4 a3
[rtmpdump] DEBUG: HandShake: Signature calculated:
[rtmpdump] DEBUG: 11 d1 2a be 1d 59 56 be 83 c2 a3 a6 36 cd 5b 2f
[rtmpdump] DEBUG: cc 05 2b 0f c7 c8 73 4a a6 d9 59 1b b6 b8 8c 45
[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    : c18fs.fplive.net
[rtmpdump] DEBUG: Parsed app     : c18?nvb=20150412124913&nva=20150412165013&token=008ae5206970353ce2de4
[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 : c18fs.fplive.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:s/ve1441511/video.mp4
[rtmpdump] DEBUG: tcUrl    : rtmpe://c18fs.fplive.net:1935/c18?nvb=20150412124913&nva=20150412165013&token=008ae5206970353ce2de4
[rtmpdump] DEBUG: app      : c18?nvb=20150412124913&nva=20150412165013&token=008ae5206970353ce2de4
[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.3.28', 'console_scripts', 'youtube-dl')()
  File "/usr/lib/python3.4/site-packages/youtube_dl/__init__.py", line 408, in main
    _real_main(argv)
  File "/usr/lib/python3.4/site-packages/youtube_dl/__init__.py", line 398, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1446, in download
    res = self.extract_info(url)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 662, 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 708, 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 1150, in process_video_result
    self.process_info(new_info)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1379, in process_info
    success = dl(filename, info_dict)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1354, in dl
    return fd.download(name, info)
  File "/usr/lib/python3.4/site-packages/youtube_dl/downloader/common.py", line 341, in download
    return self.real_download(filename, info_dict)
  File "/usr/lib/python3.4/site-packages/youtube_dl/downloader/rtmp.py", line 205, 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 154, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 529, in report_error
    self.trouble(error_message, tb)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 491, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

Also, I've tried t download the Fairy Tail episode 1 from Europe, and I've the same error

@Arfrever
Copy link

@Arfrever Arfrever commented Apr 12, 2015

zJoul: Which country in Europe? (Downloading of Fairy Tail episode 1 is working in Poland. I suspect that this error is more likely in Britain / Ireland, for whom Crunchyroll offers behavior more similar to USA...)

@zJoul
Copy link

@zJoul zJoul commented Apr 12, 2015

@Arfrever From France

To be clear, I use a proxy to watch geo restricted shows (like Blue Spring Ride or Fairy Tail in these examples)

I have no problem with some other geo restricted content. Last season, I watched Kofuku graffiti (which is not licensed in France) without issues

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 18, 2015

Should work in the next version.

@dstftw dstftw closed this Aug 18, 2015
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
7 participants
You can’t perform that action at this time.