Hello. I'm trying to stream a video with rtmpdump but can't seem to succeed. Here's the webpage:
http://ddc.arte.tv/emission/une-belgique-des-belgiques
Here's my attempt:
Code:
rtmpdump -V -r rtmp://artestras.fcod.llnwd.net/a3903/o35/ -y geo/videothek/ALL/tvguide/049881-027-A_SQ_2_VA_01296565_MP4-2200_AMM-Tvguide.mp4 -W http://www.arte.tv/arte_vp/jwplayer6/mediaplayer.6.6.swf -T 36QXq4W@GSBV^teR -o belgique.mp4
Here's what I get:
Code:
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host : artestras.fcod.llnwd.net
DEBUG: Parsed app : a3903/o35
DEBUG: Protocol : RTMP
DEBUG: Hostname : artestras.fcod.llnwd.net
DEBUG: Port : 1935
DEBUG: Playpath : geo/videothek/ALL/tvguide/049881-027-A_SQ_2_VA_01296565_MP4-2200_AMM-Tvguide.mp4
DEBUG: tcUrl : rtmp://artestras.fcod.llnwd.net:1935/a3903/o35
DEBUG: swfUrl : http://www.arte.tv/arte_vp/jwplayer6/mediaplayer.6.6.swf
DEBUG: app : a3903/o35
DEBUG: live : no
DEBUG: timeout : 30 sec
DEBUG: SWFSHA256:
DEBUG: 71 2f fe 0b 1f eb 72 ac 8c 9f 90 9e 82 d0 23 34
DEBUG: 15 63 52 fa a5 5d 7d b1 d3 2f 99 cb a7 24 0f e9
DEBUG: SWFSize : 302623
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 03
DEBUG: HandShake: Client digest offset: 53
DEBUG: HandShake: Initial client digest:
DEBUG: 3d 2d 9e 9a 84 b7 7b 04 65 13 3b 74 24 fc f7 53
DEBUG: bd 8c 4c 05 fd 02 ec 3f 98 97 8e 3a 5b 08 d7 fb
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 1885431252
DEBUG: HandShake: FMS Version : 4.0.3.1
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: 83 cd 13 b1 9a 37 29 a1 a2 d0 c0 53 10 a1 a8 57
DEBUG: cd f4 93 b7 9f 01 e4 f0 47 45 8e ae b6 35 42 21
DEBUG: HandShake: Client signature calculated:
DEBUG: af bc bb c5 09 2f de 0f 75 1a dc d2 d6 0c 1d bb
DEBUG: bb af 1d 80 f2 9f d8 05 27 e8 30 02 14 8d 44 16
DEBUG: HandShake: Server sent signature:
DEBUG: 84 4e af 50 13 89 d7 bb 57 e1 80 c6 91 7c c2 24
DEBUG: 67 b0 8d 81 35 b6 d6 85 de 1f 49 9b 12 ea f3 53
DEBUG: HandShake: Digest key:
DEBUG: 68 00 3b 51 1a a0 ae 0a c6 98 6c 7d 58 de 29 b5
DEBUG: 4a 60 6a 90 a2 d8 79 5f 98 22 56 49 24 fa 9d 5e
DEBUG: HandShake: Signature calculated:
DEBUG: 84 4e af 50 13 89 d7 bb 57 e1 80 c6 91 7c c2 24
DEBUG: 67 b0 8d 81 35 b6 d6 85 de 1f 49 9b 12 ea f3 53
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 4096
DEBUG: HandleCtrl, received ctrl. type: 26, len: 3
DEBUG: HandleCtrl, SWFVerification ping received:
DEBUG: sending ctrl. type: 0x001b
DEBUG: Sending SWFVerification response:
DEBUG: 00 1b 01 01 00 04 9e 1f 00 04 9e 1f 73 91 30 97
DEBUG: 52 0d e5 12 10 dc 85 83 68 11 2a 0e f6 21 56 b6
DEBUG: 1f 69 24 69 ba 11 70 40 41 67 ad 2a
DEBUG: RTMP_ClientPacket, received: invoke 242 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name: fmsVer, STRING: FMS/4,0,3,4044>
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,0,3,4044>
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: geo/videothek/ALL/tvguide/049881-027-A_SQ_2_VA_01296565_MP4-2200_AMM-Tvguide.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: HandleChangeChunkSize, received: chunk size change to 4096
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: qAA4A0EA>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Failed
ERROR: Closing connection: NetStream.Failed
DEBUG: Closing connection.
I've also tried this:
Code:
rtmpdump -V -r rtmp://artestras.fcod.llnwd.net/a3903/o35/ -y geo/videothek/ALL/tvguide/049881-027-A_SQ_2_VA_01296565_MP4-2200_AMM-Tvguide.mp4 -s http://www.arte.tv/arte_vp/jwplayer6/mediaplayer.6.6.swf -w 900e6fe7637d4a66a8b7ff9ad65695e8eaf8a140ca8ef8620815c41a0d24e6cd -x 152826 -T 36QXq4W@GSBV^teR -o belgique.mp4
And what I get is:
Code:
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
*snip*
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 4096
DEBUG: RTMP_ClientPacket, received: invoke 242 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name: fmsVer, STRING: FMS/4,0,3,4044>
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,0,3,4044>
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: HandleCtrl, received ctrl. type: 26, len: 3
DEBUG: HandleCtrl, SWFVerification ping received:
DEBUG: sending ctrl. type: 0x001b
DEBUG: Sending SWFVerification response:
DEBUG: 00 1b 01 01 00 02 54 fa 00 02 54 fa a0 26 a8 3f
DEBUG: 1a c0 77 b6 ed 8a 52 69 a0 f4 a6 7e 99 83 d5 6c
DEBUG: 07 9c bf 03 97 3c ae 7a 2a a5 ae cd
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: geo/videothek/ALL/tvguide/049881-027-A_SQ_2_VA_01296565_MP4-2200_AMM-Tvguide.mp4
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking deleteStream
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.
I got the stream address from here:
http://www.arte.tv/papi/tvguide/vide...F/ALL/ALL.json
I got the -T argument from a file called jwplayer.js which I found somewhere while debugging the site in Firefox. Somewhere in it was this:
Code:
a = d.tea.decrypt(a, '36QXq4W@GSBV^teR');
It's the only thing I could find that looked like a security token. I don't think that's the actual one though. Could anyone help me please?