These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

rtmpdump stops downloading at 70-80%

user-622

I've been trying all day with no success to download episode 4 of death in paradise and episode 8 of spiral (though I downloaded successfully episode 7).
All downloads fail at the beginning, then, after a number of retries, it works until 70-80% and there's no way to resume the download from that point.
I'm using debian wheezy on an armel box, get_iplayer from git and the debian packaged rtmpdump (an old version), though I'm having the same results with a locally compiled one from git.
I'm outside the UK and using a vpn (for metadata only) but if that was a problem the download wouldn't even start, would it?
This is an example at the end of a failed download in verbose mode (note that I modified the timeout from 10 to 30 in case that was the problem, but it isn't)

Code:
INFO: Command: "rtmpdump" "--port" "1935" "--protocol" "0" "--playpath" "mp4:3200kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991737103" "--host" "iplayertokfs.fplive.net" "--swfVfy" "http://emp.bbci.co.uk/emp/SMPf/1.10.2/StandardMediaPlayerChromelessFlash.swf" "--tcUrl" "rtmp://iplayertokfs.fplive.net:1935/iplayertok?token=c3RhcnRfdGltZT0yMDE1MDIwMTE3MTM0NyZlbmRfdGltZT0yMDE1MDIwMTIxMTM0NyZkaWdlc3Q9NmIwN2Y0ZjI5ZWExMWQ2NjI5Y2Y3MDU1MGE3NGY5YTg=" "--app" "iplayertok?token=c3RhcnRfdGltZT0yMDE1MDIwMTE3MTM0NyZlbmRfdGltZT0yMDE1MDIwMTIxMTM0NyZkaWdlc3Q9NmIwN2Y0ZjI5ZWExMWQ2NjI5Y2Y3MDU1MGE3NGY5YTg=" "--pageUrl" "http://www.bbc.co.uk/iplayer/episode/b051gn9k" "--resume" "-o" "/mnt/disk1/video/torrents/Spiral_Series_5/Spiral_Series_5-8._Episode_8.partial.ts.flv" "--timeout" "30" "--verbose"

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : iplayertokfs.fplive.net
DEBUG: Port     : 1935
DEBUG: Playpath : mp4:3200kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991737103
DEBUG: tcUrl    : rtmp://iplayertokfs.fplive.net:1935/iplayertok?token=c3RhcnRfdGltZT0yMDE1MDIwMTE3MTM0NyZlbmRfdGltZT0yMDE1MDIwMTIxMTM0NyZkaWdlc3Q9NmIwN2Y0ZjI5ZWExMWQ2NjI5Y2Y3MDU1MGE3NGY5YTg=
DEBUG: swfUrl   : http://emp.bbci.co.uk/emp/SMPf/1.10.2/StandardMediaPlayerChromelessFlash.swf
DEBUG: pageUrl  : http://www.bbc.co.uk/iplayer/episode/b051gn9k
DEBUG: app      : iplayertok?token=c3RhcnRfdGltZT0yMDE1MDIwMTE3MTM0NyZlbmRfdGltZT0yMDE1MDIwMTIxMTM0NyZkaWdlc3Q9NmIwN2Y0ZjI5ZWExMWQ2NjI5Y2Y3MDU1MGE3NGY5YTg=
DEBUG: live     : no
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
DEBUG: db fc 74 e9 51 dc f0 b6 7a 43 d5 31 73 9b b4 5e
DEBUG: ef fd e9 03 2a 4d 78 7f fa fd 91 3a 6a c0 da d5
DEBUG: SWFSize  : 974043
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:           duration, NUMBER:     3220.08>
DEBUG: Property: <Name:       moovPosition, NUMBER:     36.00>
DEBUG: Property: <Name:              width, NUMBER:     1280.00>
DEBUG: Property: <Name:             height, NUMBER:     720.00>
DEBUG: Property: <Name:       videocodecid, STRING:     avc1>
DEBUG: Property: <Name:       audiocodecid, STRING:     mp4a>
DEBUG: Property: <Name:         avcprofile, NUMBER:     100.00>
DEBUG: Property: <Name:           avclevel, NUMBER:     41.00>
DEBUG: Property: <Name:             aacaot, NUMBER:     2.00>
DEBUG: Property: <Name:     videoframerate, NUMBER:     25.00>
DEBUG: Property: <Name:    audiosamplerate, NUMBER:     48000.00>
DEBUG: Property: <Name:      audiochannels, NUMBER:     2.00>
DEBUG: Property: <Name:          trackinfo, STRICT_ARRAY>
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:             length, NUMBER:     80502000.00>
DEBUG: Property: <Name:          timescale, NUMBER:     25000.00>
DEBUG: Property: <Name:           language, STRING:     und>
DEBUG: Property: <Name:  sampledescription, STRICT_ARRAY>
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:         sampletype, STRING:     avc1>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object begin)
DEBUG: Property: <Name:             length, NUMBER:     154563584.00>
DEBUG: Property: <Name:          timescale, NUMBER:     48000.00>
DEBUG: Property: <Name:           language, STRING:     und>
DEBUG: Property: <Name:  sampledescription, STRICT_ARRAY>
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:         sampletype, STRING:     mp4a>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: File has duration: 3220.080000
DEBUG: bAudioOnly: 0, size: 704730067
DEBUG: Last keyframe found at: 2375000 ms, size: 59237, type: 09
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 03
DEBUG: HandShake: Client digest offset: 430
DEBUG: HandShake: Initial client digest:
DEBUG: da 3c 29 e3 a2 2f 0d c0 9e 38 f2 ce 8e f3 1a 1f
DEBUG: e7 03 cb b3 e3 2d ec ef 2a ed 95 ab 68 12 ab a7
DEBUG: HandShake: Type Answer   : 03
DEBUG: HandShake: Server Uptime : 714139456
DEBUG: HandShake: FMS Version   : 4.5.3.1
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: 30 4e 46 d7 cf 9c e7 1d 3c b0 de 32 76 b5 98 b6
DEBUG: 2a f9 a0 c2 80 88 36 6a e7 66 e5 f1 c0 d7 e6 c1
DEBUG: HandShake: Client signature calculated:
DEBUG: 19 6c fc 06 51 4b d3 2c 9f 5c c9 6c 15 93 ff 21
DEBUG: 78 91 f1 31 cc 75 03 f6 69 ff a5 6e 8e 49 5e e7
DEBUG: HandShake: Server sent signature:
DEBUG: 5a a3 a3 7f e6 31 9d 30 6e 46 54 a6 8d 93 ce 99
DEBUG: ea 62 5e 02 aa e7 d6 ec 33 04 23 e4 bb 67 de ff
DEBUG: HandShake: Digest key:
DEBUG: 95 85 bf c9 d5 27 78 04 93 0b f1 4c 9d 9f a1 dd
DEBUG: 99 f1 c7 25 3c 69 e2 41 61 58 ea b0 fc e5 18 1a
DEBUG: HandShake: Signature calculated:
DEBUG: 5a a3 a3 7f e6 31 9d 30 6e 46 54 a6 8d 93 ce 99
DEBUG: ea 62 5e 02 aa e7 d6 ec 33 04 23 e4 bb 67 de ff
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleChangeChunkSize, received: chunk size change to 16384
DEBUG: RTMP_ClientPacket, received: invoke 240 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:             fmsVer, STRING:     FMS/4,5,3,101>
DEBUG: Property: <Name:       capabilities, NUMBER:     255.00>
DEBUG: Property: <Name:               mode, NUMBER:     1.00>
DEBUG: (object end)
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:     NetConnection.Connect.Success>
DEBUG: Property: <Name:        description, STRING:     Connection succeeded.>
DEBUG: Property: <Name:     objectEncoding, NUMBER:     0.00>
DEBUG: Property: <Name:               data, ECMA_ARRAY>
DEBUG: (object begin)
DEBUG: Property: <Name:            version, STRING:     4,5,3,101>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking createStream
DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onBWDone>
DEBUG: Invoking _checkbw
DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=2375000, stopTime=0, sending play: mp4:3200kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991737103
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: RTMP_ClientPacket, received: invoke 16419 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_onbwcheck>
DEBUG: Invoking _result
DEBUG: RTMP_ClientPacket, received: invoke 32803 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_onbwcheck>
DEBUG: Invoking _result
DEBUG: HandleCtrl, received ctrl. type: 4, len: 6
DEBUG: HandleCtrl, Stream IsRecorded 1
DEBUG: HandleChangeChunkSize, received: chunk size change to 16384
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 1
DEBUG: RTMP_ClientPacket, received: invoke 316 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:     NetStream.Play.Reset>
DEBUG: Property: <Name:        description, STRING:     Playing and resetting 3200kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991737103.mp4.>
DEBUG: Property: <Name:            details, STRING:     3200kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991737103.mp4>
DEBUG: Property: <Name:           clientid, STRING:     pAA^Q4lA>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Reset
DEBUG: RTMP_ClientPacket, received: invoke 310 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:     NetStream.Play.Start>
DEBUG: Property: <Name:        description, STRING:     Started playing 3200kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991737103.mp4.>
DEBUG: Property: <Name:            details, STRING:     3200kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991737103.mp4>
DEBUG: Property: <Name:           clientid, STRING:     pAA^Q4lA>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Start
DEBUG: Continuing at TS: 2375000 ms

Resuming download at: 687361.394 kB / 2375.000 sec (73.7%)
DEBUG: RTMP_ClientPacket, received: notify 24 bytes
DEBUG: (object begin)
DEBUG: (object end)
DEBUG: ignoring too small audio packet: size: 0
DEBUG: RTMP_ClientPacket, received: notify 44 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:               code, STRING:     NetStream.Data.Start>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: ignoring too small video packet: size: 2
DEBUG: RTMP_ClientPacket, received: notify 494 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:           duration, NUMBER:     3220.08>
DEBUG: Property: <Name:       moovPosition, NUMBER:     36.00>
DEBUG: Property: <Name:              width, NUMBER:     1280.00>
DEBUG: Property: <Name:             height, NUMBER:     720.00>
DEBUG: Property: <Name:       videocodecid, STRING:     avc1>
DEBUG: Property: <Name:       audiocodecid, STRING:     mp4a>
DEBUG: Property: <Name:         avcprofile, NUMBER:     100.00>
DEBUG: Property: <Name:           avclevel, NUMBER:     41.00>
DEBUG: Property: <Name:             aacaot, NUMBER:     2.00>
DEBUG: Property: <Name:     videoframerate, NUMBER:     25.00>
DEBUG: Property: <Name:    audiosamplerate, NUMBER:     48000.00>
DEBUG: Property: <Name:      audiochannels, NUMBER:     2.00>
DEBUG: Property: <Name:          trackinfo, STRICT_ARRAY>
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:             length, NUMBER:     80502000.00>
DEBUG: Property: <Name:          timescale, NUMBER:     25000.00>
DEBUG: Property: <Name:           language, STRING:     und>
DEBUG: Property: <Name:  sampledescription, STRICT_ARRAY>
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:         sampletype, STRING:     avc1>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object begin)
DEBUG: Property: <Name:             length, NUMBER:     154563584.00>
DEBUG: Property: <Name:          timescale, NUMBER:     48000.00>
DEBUG: Property: <Name:           language, STRING:     und>
DEBUG: Property: <Name:  sampledescription, STRICT_ARRAY>
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:         sampletype, STRING:     mp4a>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
INFO: Metadata:
INFO:   duration              3220.08
INFO:   moovPosition          36.00
INFO:   width                 1280.00
INFO:   height                720.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            100.00
INFO:   avclevel              41.00
INFO:   aacaot                2.00
INFO:   videoframerate        25.00
INFO:   audiosamplerate       48000.00
INFO:   audiochannels         2.00
INFO: trackinfo:
INFO:   length                80502000.00
INFO:   timescale             25000.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                154563584.00
INFO:   timescale             48000.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            mp4a
WARNING: Stream does not start with requested frame, ignoring data...
WARNING: Stream does not start with requested frame, ignoring data...
DEBUG: Checked keyframe successfully!
DEBUG: ignoring too small video packet: size: 2
688129.394 kB / 2377.84 sec (73.8%)
DEBUG: RTMP_ClientPacket, received: invoke 49187 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_onbwcheck>
DEBUG: Invoking _result
DEBUG: ignoring too small audio packet: size: 0
DEBUG: RTMP_ClientPacket, received: notify 102 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:               code, STRING:     NetStream.Play.Complete>
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:           duration, NUMBER:     0.00>
DEBUG: Property: <Name:              bytes, NUMBER:     932495.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleCtrl, received ctrl. type: 1, len: 6
DEBUG: HandleCtrl, Stream EOF 1
DEBUG: RTMP_ClientPacket, received: invoke 320 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:     NetStream.Play.Stop>
DEBUG: Property: <Name:        description, STRING:     Stopped playing 3200kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991737103.mp4.>
DEBUG: Property: <Name:            details, STRING:     3200kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991737103.mp4>
DEBUG: Property: <Name:           clientid, STRING:     pAA^Q4lA>
DEBUG: Property: <Name:             reason, STRING:     >
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Stop
WARNING: Larger timestamp than 24-bit: 0xffffffd4
DEBUG: Invoking deleteStream
DEBUG: Got Play.Complete or Play.Stop from server. Assuming stream is complete
688212.956 kB / 2377.92 sec (73.8%)
DEBUG: RTMP_Read returned: 20032
Download may be incomplete (downloaded about 73.80%), try resuming
DEBUG: Closing connection.

INFO: Command exit code 2 (raw code = 512)
DEBUG: Record using flashhd2 mode return code: 'retry'
WARNING: Retry recording for 'Spiral: Series 5 - 8. Episode 8 (b051gn9k)'
INFO: Getting page http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/b051gl56?cb=36386
INFO: Getting page http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/mobile-tablet-main/vpid/b051gl56?cb=79958
INFO: Getting page http://cp143012-i.akamaihd.net/i/iplayerstream/secure_auth/,400kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991401402,480kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991397925,800kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991399880,1500kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991402071,.mp4.csmil/master.m3u8?hdnea=st=1422817944~exp=1422839544~acl=/*400kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991401402,480kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991397925,800kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991399880,1500kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991402071*~hmac=43da1f5ef68498070a14ebf0dfd3454f4199462eb4d63612169d03beee68d643
WARNING: Invalid HLS playlist, no header (http://cp143012-i.akamaihd.net/i/iplayerstream/secure_auth/,400kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991401402,480kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991397925,800kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991399880,1500kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991402071,.mp4.csmil/master.m3u8?hdnea=st=1422817944~exp=1422839544~acl=/*400kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991401402,480kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991397925,800kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991399880,1500kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991402071*~hmac=43da1f5ef68498070a14ebf0dfd3454f4199462eb4d63612169d03beee68d643)
INFO: Found mode flashhd1: (pc_streaming_hd) rtmp h264 1280x720 2800kbps stream (CDN: akamai/10)
INFO: Found mode flashhd2: (pc_streaming_hd) rtmp h264 1280x720 2800kbps stream (CDN: level3/5)
INFO: Found mode flashhigh1: (iplayer_streaming_h264_flv) rtmp h264 640x360 796kbps stream (CDN: akamai/10)
INFO: Found mode flashhigh2: (iplayer_streaming_h264_flv) rtmp h264 640x360 796kbps stream (CDN: limelight/5)
INFO: Found mode flashstd1: (iplayer_streaming_h264_flv_lo) rtmp h264 640x360 480kbps stream (CDN: akamai/10)
INFO: Found mode flashstd2: (iplayer_streaming_h264_flv_lo) rtmp h264 640x360 480kbps stream (CDN: limelight/5)
INFO: Found mode flashvhigh1: (iplayer_streaming_h264_flv_high) rtmp h264 832x468 1500kbps stream (CDN: akamai/10)
INFO: Found mode flashvhigh2: (iplayer_streaming_h264_flv_high) rtmp h264 832x468 1500kbps stream (CDN: limelight/5)
INFO: Found mode rtsphd1: (pc_streaming_rtsp_hd) rtmp h264 1280x720 2800kbps stream (CDN: level3/5)
INFO: Found mode rtsphd2: (pc_streaming_rtsp_hd) rtmp h264 1280x720 2800kbps stream (CDN: akamai/10)
INFO: Found mode rtsphigh1: (iplayer_streaming_rtsp_h264_flv) rtmp h264 640x360 796kbps stream (CDN: limelight/5)
INFO: Found mode rtsphigh2: (iplayer_streaming_rtsp_h264_flv) rtmp h264 640x360 796kbps stream (CDN: akamai/10)
INFO: Found mode rtspstd1: (iplayer_streaming_rtsp_h264_flv_lo) rtmp h264 640x360 480kbps stream (CDN: limelight/5)
INFO: Found mode rtspstd2: (iplayer_streaming_rtsp_h264_flv_lo) rtmp h264 640x360 480kbps stream (CDN: akamai/10)
INFO: Found mode rtspvhigh1: (iplayer_streaming_rtsp_h264_flv_high) rtmp h264 832x468 1500kbps stream (CDN: limelight/5)
INFO: Found mode rtspvhigh2: (iplayer_streaming_rtsp_h264_flv_high) rtmp h264 832x468 1500kbps stream (CDN: akamai/10)
INFO: Found mode subtitles1: (captions) http stream (CDN: sis/10)
INFO: Attempt number: 50 / 50
INFO: Creating subdirectory /mnt/disk1/video/torrents/Spiral_Series_5 for programme
INFO: File name prefix = Spiral_Series_5-8._Episode_8

INFO: Skipping subtitles download - file already exists: /mnt/disk1/video/torrents/Spiral_Series_5/Spiral_Series_5-8._Episode_8.partial.srt
INFO: rtmpver:
INFO: RTMPDump v2.4
INFO: (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
INFO:
INFO: rtmpdump: This program dumps the media content streamed over RTMP.
INFO:
INFO: --help|-h               Prints this help screen.
INFO: --url|-i url            URL with options included (e.g. rtmp://host[:port]/path swfUrl=url tcUrl=url)
INFO: --rtmp|-r url           URL (e.g. rtmp://host[:port]/path)
INFO: --host|-n hostname      Overrides the hostname in the rtmp url
INFO: --port|-c port          Overrides the port in the rtmp url
INFO: --socks|-S host:port    Use the specified SOCKS proxy
INFO: --protocol|-l num       Overrides the protocol in the rtmp url (0 - RTMP, 2 - RTMPE)
INFO: --playpath|-y path      Overrides the playpath parsed from rtmp url
INFO: --playlist|-Y           Set playlist before playing
INFO: --swfUrl|-s url         URL to player swf file
INFO: --tcUrl|-t url          URL to played stream (default: "rtmp://host[:port]/app")
INFO: --pageUrl|-p url        Web URL of played programme
INFO: --app|-a app            Name of target app on server
INFO: --swfhash|-w hexstring  SHA256 hash of the decompressed SWF file (32 bytes)
INFO: --swfsize|-x num        Size of the decompressed SWF file, required for SWFVerification
INFO: --swfVfy|-W url         URL to player swf file, compute hash/size automatically
INFO: --swfAge|-X days        Number of days to use cached SWF hash before refreshing
INFO: --auth|-u string        Authentication string to be appended to the connect string
INFO: --conn|-C type:data     Arbitrary AMF data to be appended to the connect string
INFO:                         B:boolean(0|1), S:string, N:number, O:object-flag(0|1),
INFO:                         Z:(null), NB:name:boolean, NS:name:string, NN:name:number
INFO: --flashVer|-f string    Flash version string (default: "LNX 10,0,32,18")
INFO: --live|-v               Save a live stream, no --resume (seeking) of live streams possible
INFO: --subscribe|-d string   Stream name to subscribe to (otherwise defaults to playpath if live is specifed)
INFO: --realtime|-R           Don't attempt to speed up download via the Pause/Unpause BUFX hack
INFO: --flv|-o string         FLV output file name, if the file name is - print stream to stdout
INFO: --resume|-e             Resume a partial RTMP download
INFO: --timeout|-m num        Timeout connection num seconds (default: 30)
INFO: --start|-A num          Start at num seconds into stream (not valid when using --live)
INFO: --stop|-B num           Stop at num seconds into stream
INFO: --token|-T key          Key for SecureToken response
INFO: --jtv|-j JSON           Authentication token for Justin.tv legacy servers
INFO: --hashes|-#             Display progress with hashes, not with the byte counter
INFO: --buffer|-b             Buffer time in milliseconds (default: 36000000)
INFO: --skip|-k num           Skip num keyframes when looking for last keyframe to resume from. Useful if resume fails (default: 0)
INFO:
INFO: --quiet|-q              Suppresses all command output.
INFO: --verbose|-V            Verbose command output.
INFO: --debug|-z              Debug level command output.
INFO: If you don't pass parameters for swfUrl, pageUrl, or auth these properties will not be included in the connect packet.
INFO:
INFO: rtmpdump version 2.4
INFO: RTMP_URL: rtmp://iplayertokfs.fplive.net:1935/ondemand?_fcs_vhost=iplayertokfs.fplive.net&auth=token=c3RhcnRfdGltZT0yMDE1MDIwMTE3MTQxNiZlbmRfdGltZT0yMDE1MDIwMTIxMTQxNiZkaWdlc3Q9NDYzZDlmNDEyMjMxZDQ3YzVjOGJkMTZlNzFjMjhkYjk=&aifp=v001&slist=mp4:3200kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991737103, tcUrl: rtmp://iplayertokfs.fplive.net:1935/iplayertok?token=c3RhcnRfdGltZT0yMDE1MDIwMTE3MTQxNiZlbmRfdGltZT0yMDE1MDIwMTIxMTQxNiZkaWdlc3Q9NDYzZDlmNDEyMjMxZDQ3YzVjOGJkMTZlNzFjMjhkYjk=, application: iplayertok?token=c3RhcnRfdGltZT0yMDE1MDIwMTE3MTQxNiZlbmRfdGltZT0yMDE1MDIwMTIxMTQxNiZkaWdlc3Q9NDYzZDlmNDEyMjMxZDQ3YzVjOGJkMTZlNzFjMjhkYjk=, authString: token=c3RhcnRfdGltZT0yMDE1MDIwMTE3MTQxNiZlbmRfdGltZT0yMDE1MDIwMTIxMTQxNiZkaWdlc3Q9NDYzZDlmNDEyMjMxZDQ3YzVjOGJkMTZlNzFjMjhkYjk=, swfUrl: http://emp.bbci.co.uk/emp/SMPf/1.10.2/StandardMediaPlayerChromelessFlash.swf, file: /mnt/disk1/video/torrents/Spiral_Series_5/Spiral_Series_5-8._Episode_8.partial.ts, file_done: /mnt/disk1/video/torrents/Spiral_Series_5/Spiral_Series_5-8._Episode_8.ts

INFO: Command: "rtmpdump" "--port" "1935" "--protocol" "0" "--playpath" "mp4:3200kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991737103" "--host" "iplayertokfs.fplive.net" "--swfVfy" "http://emp.bbci.co.uk/emp/SMPf/1.10.2/StandardMediaPlayerChromelessFlash.swf" "--tcUrl" "rtmp://iplayertokfs.fplive.net:1935/iplayertok?token=c3RhcnRfdGltZT0yMDE1MDIwMTE3MTQxNiZlbmRfdGltZT0yMDE1MDIwMTIxMTQxNiZkaWdlc3Q9NDYzZDlmNDEyMjMxZDQ3YzVjOGJkMTZlNzFjMjhkYjk=" "--app" "iplayertok?token=c3RhcnRfdGltZT0yMDE1MDIwMTE3MTQxNiZlbmRfdGltZT0yMDE1MDIwMTIxMTQxNiZkaWdlc3Q9NDYzZDlmNDEyMjMxZDQ3YzVjOGJkMTZlNzFjMjhkYjk=" "--pageUrl" "http://www.bbc.co.uk/iplayer/episode/b051gn9k" "--resume" "-o" "/mnt/disk1/video/torrents/Spiral_Series_5/Spiral_Series_5-8._Episode_8.partial.ts.flv" "--timeout" "30" "--verbose"

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : iplayertokfs.fplive.net
DEBUG: Port     : 1935
DEBUG: Playpath : mp4:3200kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991737103
DEBUG: tcUrl    : rtmp://iplayertokfs.fplive.net:1935/iplayertok?token=c3RhcnRfdGltZT0yMDE1MDIwMTE3MTQxNiZlbmRfdGltZT0yMDE1MDIwMTIxMTQxNiZkaWdlc3Q9NDYzZDlmNDEyMjMxZDQ3YzVjOGJkMTZlNzFjMjhkYjk=
DEBUG: swfUrl   : http://emp.bbci.co.uk/emp/SMPf/1.10.2/StandardMediaPlayerChromelessFlash.swf
DEBUG: pageUrl  : http://www.bbc.co.uk/iplayer/episode/b051gn9k
DEBUG: app      : iplayertok?token=c3RhcnRfdGltZT0yMDE1MDIwMTE3MTQxNiZlbmRfdGltZT0yMDE1MDIwMTIxMTQxNiZkaWdlc3Q9NDYzZDlmNDEyMjMxZDQ3YzVjOGJkMTZlNzFjMjhkYjk=
DEBUG: live     : no
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
DEBUG: db fc 74 e9 51 dc f0 b6 7a 43 d5 31 73 9b b4 5e
DEBUG: ef fd e9 03 2a 4d 78 7f fa fd 91 3a 6a c0 da d5
DEBUG: SWFSize  : 974043
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:           duration, NUMBER:     3220.08>
DEBUG: Property: <Name:       moovPosition, NUMBER:     36.00>
DEBUG: Property: <Name:              width, NUMBER:     1280.00>
DEBUG: Property: <Name:             height, NUMBER:     720.00>
DEBUG: Property: <Name:       videocodecid, STRING:     avc1>
DEBUG: Property: <Name:       audiocodecid, STRING:     mp4a>
DEBUG: Property: <Name:         avcprofile, NUMBER:     100.00>
DEBUG: Property: <Name:           avclevel, NUMBER:     41.00>
DEBUG: Property: <Name:             aacaot, NUMBER:     2.00>
DEBUG: Property: <Name:     videoframerate, NUMBER:     25.00>
DEBUG: Property: <Name:    audiosamplerate, NUMBER:     48000.00>
DEBUG: Property: <Name:      audiochannels, NUMBER:     2.00>
DEBUG: Property: <Name:          trackinfo, STRICT_ARRAY>
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:             length, NUMBER:     80502000.00>
DEBUG: Property: <Name:          timescale, NUMBER:     25000.00>
DEBUG: Property: <Name:           language, STRING:     und>
DEBUG: Property: <Name:  sampledescription, STRICT_ARRAY>
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:         sampletype, STRING:     avc1>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object begin)
DEBUG: Property: <Name:             length, NUMBER:     154563584.00>
DEBUG: Property: <Name:          timescale, NUMBER:     48000.00>
DEBUG: Property: <Name:           language, STRING:     und>
DEBUG: Property: <Name:  sampledescription, STRICT_ARRAY>
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:         sampletype, STRING:     mp4a>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: File has duration: 3220.080000
DEBUG: bAudioOnly: 0, size: 704730067
DEBUG: Last keyframe found at: 2375000 ms, size: 59237, type: 09
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 03
DEBUG: HandShake: Client digest offset: 430
DEBUG: HandShake: Initial client digest:
DEBUG: 66 a3 41 4f 42 92 07 6b be 55 b2 03 bb fc 63 d4
DEBUG: ff 0c 35 b9 c6 ff 2e 90 d8 f7 b0 97 5f 09 9c a2
DEBUG: HandShake: Type Answer   : 03
DEBUG: HandShake: Server Uptime : 1859837076
DEBUG: HandShake: FMS Version   : 4.5.3.1
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: 52 27 c0 1e 41 0d 01 34 94 b2 cf 71 57 91 58 fa
DEBUG: 83 bc 51 da 3f 3e 53 c9 28 a5 65 94 fa 61 ff 4d
DEBUG: HandShake: Client signature calculated:
DEBUG: ce d4 ed cd 3c 7e 4f eb 52 a0 82 d1 26 c8 6a 9e
DEBUG: 79 96 2c f1 d0 b8 76 20 62 ff dc 25 77 b7 b7 80
DEBUG: HandShake: Server sent signature:
DEBUG: 9a 31 b3 ac 98 4d 3e ac bb fb 10 e4 f2 a5 9d d7
DEBUG: 7b ff 85 75 2f 41 a2 be 0e 24 68 69 52 36 73 7a
DEBUG: HandShake: Digest key:
DEBUG: b9 4c 07 1b f3 ae 11 7a 22 74 24 99 1c 1f 50 ba
DEBUG: f5 64 df f5 db d8 4b eb ae ae d2 bb a7 46 da 55
DEBUG: HandShake: Signature calculated:
DEBUG: 9a 31 b3 ac 98 4d 3e ac bb fb 10 e4 f2 a5 9d d7
DEBUG: 7b ff 85 75 2f 41 a2 be 0e 24 68 69 52 36 73 7a
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleChangeChunkSize, received: chunk size change to 16384
DEBUG: RTMP_ClientPacket, received: invoke 240 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:             fmsVer, STRING:     FMS/4,5,3,101>
DEBUG: Property: <Name:       capabilities, NUMBER:     255.00>
DEBUG: Property: <Name:               mode, NUMBER:     1.00>
DEBUG: (object end)
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:     NetConnection.Connect.Success>
DEBUG: Property: <Name:        description, STRING:     Connection succeeded.>
DEBUG: Property: <Name:     objectEncoding, NUMBER:     0.00>
DEBUG: Property: <Name:               data, ECMA_ARRAY>
DEBUG: (object begin)
DEBUG: Property: <Name:            version, STRING:     4,5,3,101>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking createStream
DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onBWDone>
DEBUG: Invoking _checkbw
DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=2375000, stopTime=0, sending play: mp4:3200kbps/modav/bUnknown-eaa2fc7d-db9a-4cd3-adab-23b80d81ea63_b051gl56_1421991737103
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: RTMP_ClientPacket, received: invoke 16419 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_onbwcheck>
DEBUG: Invoking _result
DEBUG: HandleChangeChunkSize, received: chunk size change to 16384
DEBUG: RTMP_ClientPacket, received: invoke 121 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     error>
DEBUG: Property: <Name:               code, STRING:     NetStream.Failed>
DEBUG: Property: <Name:        description, STRING:     206 Partial Content>
DEBUG: Property: <Name:           clientid, STRING:     rAA6w4jA>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Failed
ERROR: Closing connection: NetStream.Failed
DEBUG: Closing connection.

INFO: Command exit code 1 (raw code = 256)
DEBUG: Record using flashhd2 mode return code: 'retry'
ERROR: Failed to record 'Spiral: Series 5 - 8. Episode 8 (b051gn9k)'
WARNING: PVR Run: Spiral: 1 download failure(s)

user-622

I managed to download the remaining 20% of death in paradise by using flashvhigh instead of flashhd. I'll do the same with spiral...or watch it directly in the browser :(

user-622

It's hit and miss: some shows download fine with flashhd, others only with flashvhigh. It never happened before. Bloody Astra 2F....

These forums are archived

See this post for further info