[rtmpdump] dumping an rtmp stream fails for no obvious reason

Radoslav Horák radoslavhorak at gmail.com
Wed Mar 6 01:48:28 CET 2013


hi all,

I'm trying to save rtmp stream from page
http://www.rockwelltrading.com/webinar/how-to-trade-a-small-account/

I took JSON data from javascript for flowplayer:

<script>var fdCloudPlayer87112=0;var
signCloudPlayer87112='?Expires=1362529123&Signature=MpK5uWleHJYJUQGtm-fpUbOUNAf9-6-hYIGyuKrtDondOR~ABIbyU8GRUu9CtlMvHkjJmyZCtg~0x78JpErcvpPKgLHtXxgOLVbKDkCUrJEhyuveqAEn0Ah3Ge8nOnPE3v4SD41rLSCXn1jANNmhrhybHBhSlxFB7BU3gP2-k0Q_&Key-Pair-Id=APKAIFQXZBKNZQEH5U2Q';playerCloudPlayer87112=flowplayer('CloudPlayer87112',{src:'
http://d1hv2fpv2exxoo.cloudfront.net/CloudPlayerPro.swf'},{contextMenu:['CloudPlayer
Pro 3.2.7.5','-',{'About CloudPlayerPro ...':function(){location.href='
http://www.CloudPlayer.Pro
';}}],key:'4e331fab750ce8075f7',onLoad:function(){this.setVolume(50);},plugins:{controls:{url:'
http://d1hv2fpv2exxoo.cloudfront.net/CloudPlayerPro.controls.swf
',autoHide:'fullscreen',fullscreen:true},rtmp:{url:'
http://d1hv2fpv2exxoo.cloudfront.net/CloudPlayerPro.streaming.swf
',netConnectionUrl:'rtmp://s21hgu5r2yq4zz.cloudfront.net/cfx/st
',durationFunc:'getStreamLength'}},clip:{url:'mp4:webinars/how-to-trade-a-small-account-and-turn-it-into-a-big-one.mp4'+escape(signCloudPlayer87112),provider:'rtmp',onStart:function(){fdCloudPlayer87112=parseInt(this.getClip().fullDuration)-0+0;},autoPlay:true,autoBuffering:true,bufferLength:5,duration:fdCloudPlayer87112,onBeforeFinish:function(){tb_remove();}}});
</script>

and tried this:

rtmpdump -r rtmp://
s21hgu5r2yq4zz.cloudfront.net/cfx/st/mp4:webinars/how-to-trade-a-small-account-and-turn-it-into-a-big-one.mp4%3FExpires%3D1362529123%26Signature%3DMpK5uWleHJYJUQGtm-fpUbOUNAf9-6-hYIGyuKrtDondOR%7EABIbyU8GRUu9CtlMvHkjJmyZCtg%7E0x78JpErcvpPKgLHtXxgOLVbKDkCUrJEhyuveqAEn0Ah3Ge8nOnPE3v4SD41rLSCXn1jANNmhrhybHBhSlxFB7BU3gP2-k0Q_%26Key-Pair-Id%3DAPKAIFQXZBKNZQEH5U2Q-a
cfx/st -f "MAC 11.6.602.171" -W
http://d1hv2fpv2exxoo.cloudfront.net/CloudPlayerPro.streaming.swf -p
http://www.rockwelltrading.com/webinar/how-to-trade-a-small-account/ -y
mp4:webinars/how-to-trade-a-small-account-and-turn-it-into-a-big-one.mp4 -o
rt.mp4 -V

which fails for unknown reason:

RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : s21hgu5r2yq4zz.cloudfront.net
DEBUG: Port     : 1935
DEBUG: Playpath :
mp4:webinars/how-to-trade-a-small-account-and-turn-it-into-a-big-one.mp4
DEBUG: tcUrl    : rtmp://s21hgu5r2yq4zz.cloudfront.net:1935/cfx/st
DEBUG: swfUrl   :
http://d1hv2fpv2exxoo.cloudfront.net/CloudPlayerPro.streaming.swf
DEBUG: pageUrl  :
http://www.rockwelltrading.com/webinar/how-to-trade-a-small-account/
DEBUG: app      : cfx/st
DEBUG: flashVer : MAC 11.6.602.171
DEBUG: live     : no
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
DEBUG: 7e 78 9e d9 21 bb 57 2c 12 2a b8 d4 cf fc a1 4d
DEBUG: 73 2a 44 61 f6 78 38 9b e0 8b d2 ca e8 e0 64 55
DEBUG: SWFSize  : 9388
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 03
DEBUG: HandShake: Client digest offset: 244
DEBUG: HandShake: Initial client digest:
DEBUG: 0a 6f 4e fd d5 ab f4 61 72 67 ac 13 d7 89 84 68
DEBUG: 9a ec 03 0a 92 14 e4 c5 aa 6d ce 0d a1 d7 95 0c
DEBUG: HandShake: Type Answer   : 03
DEBUG: HandShake: Server Uptime : 150978592
DEBUG: HandShake: FMS Version   : 3.5.7.1
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: 1c b8 27 49 23 a4 4d eb 65 00 84 8c 70 39 b7 72
DEBUG: 91 c2 47 1b 0c 25 76 17 82 07 66 c1 2a 88 c2 c3
DEBUG: HandShake: Client signature calculated:
DEBUG: f5 c5 c0 7f 3c 48 ae c5 d6 d2 56 cb 6c d8 7f 59
DEBUG: 74 24 40 bd 79 94 84 40 42 a4 c6 02 10 c0 c9 03
DEBUG: HandShake: Server sent signature:
DEBUG: 93 a8 5b 0c 21 09 00 ee 3a 3f 15 d0 82 95 9e 70
DEBUG: 38 ae 40 aa 00 e2 aa d2 11 0f 8d 25 47 ef 25 cf
DEBUG: HandShake: Digest key:
DEBUG: 66 16 fa 65 76 57 57 77 1c bd a1 df 71 5e 28 5f
DEBUG: 62 e6 82 22 7e 98 5a 68 48 57 c6 9f 4c bb df 9c
DEBUG: HandShake: Signature calculated:
DEBUG: 93 a8 5b 0c 21 09 00 ee 3a 3f 15 d0 82 95 9e 70
DEBUG: 38 ae 40 aa 00 e2 aa d2 11 0f 8d 25 47 ef 25 cf
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 1310720
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: RTMP_ClientPacket, received: invoke 242 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:             fmsVer, STRING: FMS/3,5,7,7009>
DEBUG: Property: <Name:       capabilities, NUMBER: 127.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, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:            version, STRING: 3,5,7,7009>
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=0, stopTime=0, sending play:
mp4:webinars/how-to-trade-a-small-account-and-turn-it-into-a-big-one.mp4
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 133 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: Failed to play  (stream
ID: 1).>
DEBUG: Property: <Name:           clientid, STRING: CXzo7-8w>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Failed
ERROR: Closing connection: NetStream.Failed
DEBUG: Closing connection.

any ideas appreciated

regards
Radoslav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20130306/7ee72fe3/attachment-0001.html>


More information about the rtmpdump mailing list