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

youtube-dl fails to download from bbc iplayer (ERROR: rtmpdump exited with code 1) #2732

Closed
aloniv opened this issue Apr 10, 2014 · 0 comments
Closed

Comments

@aloniv
Copy link

@aloniv aloniv commented Apr 10, 2014

Here is the log:

youtube-dl http://www.bbc.co.uk/iplayer/episode/p01wp49h/Outside_Source_09_04_2014/ -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.bbc.co.uk/iplayer/episode/p01wp49h/Outside_Source_09_04_2014/', '-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.04.07.4
[debug] Python version 2.7.3 - Linux-3.2.0-60-generic-x86_64-with-Trisquel-6.0.1-toutatis
[debug] Proxy map: {}
[bbc.co.uk] p01wp49h: Downloading video page
[bbc.co.uk] p01wp49h: Downloading playlist XML
[bbc.co.uk] p01wp4cj: Downloading media selection XML
[download] Destination: Outside Source - 09_04_2014-p01wp4cj.flv
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmp://wsondemandflash.bbc.co.uk/ondemand?auth=daEbwb1aWa_biaIdibtasc0bfbIaccIaNdb-btrTPD-bWG-DooDInzoNBrHvxL&aifp=v001&slist=/48502/worldservice/css/40002778011397037960.mp4' -o 'Outside Source - 09_04_2014-p01wp4cj.flv.part' --swfVfy http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf --pageUrl http://www.bbc.co.uk --app 'ondemand?auth=daEbwb1aWa_biaIdibtasc0bfbIaccIaNdb-btrTPD-bWG-DooDInzoNBrHvxL&aifp=v001&slist=/48502/worldservice/css/40002778011397037960.mp4' --playpath mp4:/48502/worldservice/css/40002778011397037960.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 : wsondemandflash.bbc.co.uk
[rtmpdump] DEBUG: Parsed app : ondemand?auth=daEbwb1aWa_biaIdibtasc0bfbIaccIaNdb-btrTPD-bWG-DooDInzoNBrHvxL&aifp=v001&slist=/48502/worldservice/css/40002778011397037960.mp4
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMP
[rtmpdump] DEBUG: Hostname : wsondemandflash.bbc.co.uk
[rtmpdump] DEBUG: Port : 1935
[rtmpdump] DEBUG: Playpath : mp4:/48502/worldservice/css/40002778011397037960.mp4
[rtmpdump] DEBUG: tcUrl : rtmp://wsondemandflash.bbc.co.uk:1935/ondemand?auth=daEbwb1aWa_biaIdibtasc0bfbIaccIaNdb-btrTPD-bWG-DooDInzoNBrHvxL&aifp=v001&slist=/48502/worldservice/css/40002778011397037960.mp4
[rtmpdump] DEBUG: swfUrl : http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf
[rtmpdump] DEBUG: pageUrl : http://www.bbc.co.uk
[rtmpdump] DEBUG: app : ondemand?auth=daEbwb1aWa_biaIdibtasc0bfbIaccIaNdb-btrTPD-bWG-DooDInzoNBrHvxL&aifp=v001&slist=/48502/worldservice/css/40002778011397037960.mp4
[rtmpdump] DEBUG: live : no
[rtmpdump] DEBUG: timeout : 30 sec
[rtmpdump] DEBUG: SWFSHA256:
[rtmpdump] DEBUG: b6 74 7f 89 f9 ec 6a 60 c1 a4 b5 8b b1 18 b0 fa
[rtmpdump] DEBUG: 65 18 86 24 c2 8a 1a a3 2f 72 0f 0b 80 59 dd 7f
[rtmpdump] DEBUG: SWFSize : 595316
[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 : wsondemandflash.bbc.co.uk
[rtmpdump] DEBUG: Parsed app : ondemand?auth=daEbwb1aWa_biaIdibtasc0bfbIaccIaNdb-btrTPD-bWG-DooDInzoNBrHvxL&aifp=v001&slist=/48502/worldservice/css/40002778011397037960.mp4
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMP
[rtmpdump] DEBUG: Hostname : wsondemandflash.bbc.co.uk
[rtmpdump] DEBUG: Port : 1935
[rtmpdump] DEBUG: Playpath : mp4:/48502/worldservice/css/40002778011397037960.mp4
[rtmpdump] DEBUG: tcUrl : rtmp://wsondemandflash.bbc.co.uk:1935/ondemand?auth=daEbwb1aWa_biaIdibtasc0bfbIaccIaNdb-btrTPD-bWG-DooDInzoNBrHvxL&aifp=v001&slist=/48502/worldservice/css/40002778011397037960.mp4
[rtmpdump] DEBUG: swfUrl : http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf
[rtmpdump] DEBUG: pageUrl : http://www.bbc.co.uk
[rtmpdump] DEBUG: app : ondemand?auth=daEbwb1aWa_biaIdibtasc0bfbIaccIaNdb-btrTPD-bWG-DooDInzoNBrHvxL&aifp=v001&slist=/48502/worldservice/css/40002778011397037960.mp4
[rtmpdump] DEBUG: live : no
[rtmpdump] DEBUG: timeout : 30 sec
[rtmpdump] DEBUG: SWFSHA256:
[rtmpdump] DEBUG: b6 74 7f 89 f9 ec 6a 60 c1 a4 b5 8b b1 18 b0 fa
[rtmpdump] DEBUG: 65 18 86 24 c2 8a 1a a3 2f 72 0f 0b 80 59 dd 7f
[rtmpdump] DEBUG: SWFSize : 595316
[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/bin/youtube-dl/main.py", line 18, in
youtube_dl.main()
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 837, in main
_real_main(argv)
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 827, in _real_main
retcode = ydl.download(all_urls)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1036, in download
self.extract_info(url)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 525, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 562, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 817, in process_video_result
self.process_info(new_info)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1007, in process_info
success = dl(filename, info_dict)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 983, in dl
return fd.download(name, info)
File "/usr/bin/youtube-dl/youtube_dl/downloader/common.py", line 291, in download
return self.real_download(filename, info_dict)
File "/usr/bin/youtube-dl/youtube_dl/downloader/rtmp.py", line 194, in real_download
self.report_error('rtmpdump exited with code %d' % retval)
File "/usr/bin/youtube-dl/youtube_dl/downloader/common.py", line 144, in report_error
self.ydl.report_error(_args, *_kargs)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 404, in report_error
self.trouble(error_message, tb)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 366, in trouble
tb_data = traceback.format_list(traceback.extract_stack())

I can download the video using this command:

rtmpdump -r "rtmp://wsondemandflash.bbc.co.uk:1935/ondemand?auth=daEatcUcha5amcibLdrbQcgc4dHc8c4a0b6-btrTJp-bWG-KprFHnDnHDvFuzJ&aifp=v001&slist=/48502/worldservice/css/40002778011397037960.mp4" -o test.flv

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
1 participant
You can’t perform that action at this time.