Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
rtmpdump-done everything i couldI have extracted all the required parameters for the stream and used to download flvs every now and then, now I can see they've changed the securetoken and i am using the updated but after successfully connect rtmpdump can'r read rtmp header on FcSubcribe
stream source: http://www.jagobd.com/ntv.html after decompiling the swf for token and following the rtmp redirect my final rtmpcommand: HTML Code:
rtmpdump -r "rtmpe://live.jagobd.com:1935/c2VydmVyX3RpbWU9KZ8yNS8yMDRPIDE7OjE2DjUxIFBNJmhhc2hfdmFsdWU8cG04SEN4TjBCZXZIV1R4eEhHQURPZz09JnZhbRLkbW1udXRlcz0xMA/ntv000ll0882233434556677l22356.stream" -f "WIN 13,0,0,214" -W "http://tv.jagobd.com/player/player.swf" -p "http://www.tv.jagobd.com/embed.php?u=ntvbds&vw=100%&vh=400" -y "ntv000ll0882233434556677l22356.stream" -o test.flv --token "%bvmve(nKa@#." --live I can see swf source didn't change other than the securetoken, must be some FMS server config ??? HTML Code:
RTMPDump v2.4 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL DEBUG: Protocol : RTMPE DEBUG: Hostname : live.jagobd.com DEBUG: Port : 1935 DEBUG: Playpath : ntv000ll0882233434556677l22356.stream DEBUG: tcUrl : rtmpe://live.jagobd.com:1935/c2VydmVyX3RpbWU9KZ8yNS8yMDRPIDE7OjE2DjUxIFBNJmhhc2hfdmFsdWU8cG04SEN4TjBCZXZIV1R4eEhHQURPZz09JnZhbRLkbW1udXRlcz0xMA DEBUG: swfUrl : http://tv.jagobd.com/player/player.swf DEBUG: pageUrl : http://www.tv.jagobd.com/embed.php?u=ntvbds&vw=100%&vh=400 DEBUG: app : c2VydmVyX3RpbWU9KZ8yNS8yMDRPIDE7OjE2DjUxIFBNJmhhc2hfdmFsdWU8cG04SEN4TjBCZXZIV1R4eEhHQURPZz09JnZhbRLkbW1udXRlcz0xMA DEBUG: flashVer : WIN 13,0,0,214 DEBUG: live : yes DEBUG: timeout : 30 sec DEBUG: SWFSHA256: DEBUG: 1d 53 27 92 f1 c0 55 70 a8 e3 a3 89 f5 c6 ad 49 DEBUG: 00 59 2c 04 6e 7c 00 d3 20 c4 25 f3 af 4c 6d 12 DEBUG: SWFSize : 192112 DEBUG: Setting buffer time to: 36000000ms Connecting ... DEBUG: RTMP_Connect1, ... connected, handshaking DEBUG: HandShake: Client type: 06 DEBUG: HandShake: DH pubkey position: 472 DEBUG: HandShake: Client digest offset: 1383 DEBUG: HandShake: Initial client digest: DEBUG: a3 e4 a2 b8 36 c6 61 cd 97 33 b1 b4 d7 dc 24 69 DEBUG: 4b 3e 54 30 49 d1 ac 8d 90 1e cb 17 87 e2 c4 27 DEBUG: HandShake: Type Answer : 06 DEBUG: HandShake: Server Uptime : 1517865897 DEBUG: HandShake: FMS Version : 3.0.2.1 WARNING: Trying different position for server digest! DEBUG: HandShake: Server DH public key offset: 1161 DEBUG: HandShake: Secret key: DEBUG: RC4 Out Key: DEBUG: 3d 73 8d 75 ea 7d 6e 71 ff 02 2f 23 a0 e2 0a 27 DEBUG: RC4 In Key: DEBUG: 13 09 45 f6 a5 41 77 60 ca b7 df f2 97 90 b9 0e DEBUG: HandShake: Calculated digest key from secure key and server digest: DEBUG: HandShake: Client signature calculated: DEBUG: HandShake: Server sent signature: DEBUG: HandShake: Digest key: DEBUG: HandShake: Signature calculated: DEBUG: HandShake: Genuine Adobe Flash Media Server DEBUG: HandShake: Handshaking finished.... DEBUG: RTMP_Connect1, handshaked DEBUG2: RTMP_SendPacket: fd=4, size=543 DEBUG: Invoking connect INFO: Connected... DEBUG2: RTMP_ReadPacket: fd=4 DEBUG2: 0000: 02 00 00 00 00 00 04 05 00 00 00 00 ............ DEBUG2: 0000: 00 26 25 a0 .&%. DEBUG: HandleServerBW: server BW = 2500000 DEBUG2: RTMP_ReadPacket: fd=4 DEBUG2: 0000: 02 00 00 00 00 00 05 06 00 00 00 00 ............ DEBUG2: 0000: 00 26 25 a0 02 .&%.. DEBUG: HandleClientBW: client BW = 2500000 2 DEBUG2: RTMP_ReadPacket: fd=4 DEBUG2: 0000: 02 00 00 00 00 00 06 04 00 00 00 00 ............ DEBUG2: 0000: 00 00 00 00 00 00 ...... DEBUG: HandleCtrl, received ctrl. type: 0, len: 6 DEBUG: HandleCtrl, Stream Begin 0 DEBUG2: RTMP_ReadPacket: fd=4 DEBUG2: 0000: 02 00 00 00 00 00 04 01 00 00 00 00 ............ DEBUG2: 0000: 00 00 10 00 .... DEBUG: HandleChangeChunkSize, received: chunk size change to 4096 DEBUG2: RTMP_ReadPacket: fd=4 DEBUG2: 0000: 03 00 00 00 00 01 5b 14 00 00 00 00 ......[..... DEBUG2: 0000: 02 00 07 5f 72 65 73 75 6c 74 00 3f f0 00 00 00 ..._result.?.... DEBUG2: 0010: 00 00 00 03 00 06 66 6d 73 56 65 72 02 00 0d 46 ......fmsVer...F DEBUG2: 0020: 4d 53 2f 33 2c 35 2c 34 2c 32 31 30 00 0c 63 61 MS/3,5,4,210..ca DEBUG2: 0030: 70 61 62 69 6c 69 74 69 65 73 00 40 3f 00 00 00 pabilities.@?... DEBUG2: 0040: 00 00 00 00 04 6d 6f 64 65 00 3f f0 00 00 00 00 .....mode.?..... DEBUG2: 0050: 00 00 00 00 09 03 00 05 6c 65 76 65 6c 02 00 06 ........level... DEBUG2: 0060: 73 74 61 74 75 73 00 04 63 6f 64 65 02 00 1d 4e status..code...N DEBUG2: 0070: 65 74 43 6f 6e 6e 65 63 74 69 6f 6e 2e 43 6f 6e etConnection.Con DEBUG2: 0080: 6e 65 63 74 2e 53 75 63 63 65 73 73 00 0b 64 65 nect.Success..de DEBUG2: 0090: 73 63 72 69 70 74 69 6f 6e 02 00 15 43 6f 6e 6e scription...Conn DEBUG2: 00a0: 65 63 74 69 6f 6e 20 73 75 63 63 65 65 64 65 64 ection succeeded DEBUG2: 00b0: 2e 00 04 64 61 74 61 08 00 00 00 00 00 07 76 65 ...data.......ve DEBUG2: 00c0: 72 73 69 6f 6e 02 00 09 33 2c 35 2c 34 2c 32 31 rsion...3,5,4,21 DEBUG2: 00d0: 30 00 00 09 00 08 63 6c 69 65 6e 74 69 64 00 41 0.....clientid.A DEBUG2: 00e0: db 9e 9f 6f 80 00 00 00 0e 6f 62 6a 65 63 74 45 ...o.....objectE DEBUG2: 00f0: 6e 63 6f 64 69 6e 67 00 00 00 00 00 00 00 00 00 ncoding......... DEBUG2: 0100: 00 0b 73 65 63 75 72 65 54 6f 6b 65 6e 02 00 48 ..secureToken..H DEBUG2: 0110: 38 63 39 38 30 63 66 31 62 31 66 65 35 33 30 39 8c980cf1b1fe5309 DEBUG2: 0120: 31 61 66 62 66 35 62 32 32 62 35 37 63 65 34 64 1afbf5b22b57ce4d DEBUG2: 0130: 36 38 35 32 62 39 31 37 34 32 63 32 30 31 39 62 6852b91742c2019b DEBUG2: 0140: 31 64 63 36 31 65 65 66 35 32 35 66 62 62 38 32 1dc61eef525fbb82 DEBUG2: 0150: 66 31 38 34 38 30 31 64 00 00 09 f184801d... DEBUG: RTMP_ClientPacket, received: invoke 347 bytes DEBUG: (object begin) DEBUG: Property: <Name: no-name., STRING: _result> DEBUG: Property: <Name: no-name., NUMBER: 1.00> DEBUG: Property: <Name: no-name., OBJECT> DEBUG: (object begin) DEBUG: Property: <Name: fmsVer, STRING: FMS/3,5,4,210> DEBUG: Property: <Name: capabilities, NUMBER: 31.00> DEBUG: Property: <Name: mode, NUMBER: 1.00> DEBUG: (object end) DEBUG: Property: <Name: no-name., OBJECT> 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: data, OBJECT> DEBUG: (object begin) DEBUG: Property: <Name: version, STRING: 3,5,4,210> DEBUG: (object end) DEBUG: Property: <Name: clientid, NUMBER: 1853521342.00> DEBUG: Property: <Name: objectEncoding, NUMBER: 0.00> DEBUG: Property: <Name: secureToken, STRING: 8c980cf1b1fe53091afbf5b22b57ce4d6852b91742c2019b1dc61eef525fbb82f184801d> DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_result> DEBUG: HandleInvoke, received result for method call <connect> DEBUG2: RTMP_SendPacket: fd=4, size=71 DEBUG2: 0000: 43 00 00 00 00 00 47 14 C.....G. DEBUG2: 0000: 02 00 13 73 65 63 75 72 65 54 6f 6b 65 6e 52 65 ...secureTokenRe DEBUG2: 0010: 73 70 6f 6e 73 65 00 00 00 00 00 00 00 00 00 05 sponse.......... DEBUG2: 0020: 02 00 24 ee 50 65 42 d5 7d 7c ed 57 a8 7e 49 90 ..$.PeB.}|.W.~I. DEBUG2: 0030: 1a 26 b6 7f b2 86 9e e8 b5 1e 8a bb 18 cf a9 11 .&.............. DEBUG2: 0040: 63 a2 da 71 5f 06 ac c..q_.. DEBUG: Invoking secureTokenResponse DEBUG2: RTMP_SendPacket: fd=4, size=4 DEBUG2: 0000: 02 00 00 00 00 00 04 05 00 00 00 00 ............ DEBUG2: 0000: 00 26 25 a0 .&%. DEBUG: sending ctrl. type: 0x0003 DEBUG2: RTMP_SendPacket: fd=4, size=10 DEBUG2: 0000: 42 00 00 00 00 00 0a 04 B....... DEBUG2: 0000: 00 03 00 00 00 00 00 00 01 2c ........., DEBUG2: RTMP_SendPacket: fd=4, size=25 DEBUG2: 0000: 43 00 00 00 00 00 19 14 C....... DEBUG2: 0000: 02 00 0c 63 72 65 61 74 65 53 74 72 65 61 6d 00 ...createStream. DEBUG2: 0010: 40 00 00 00 00 00 00 00 05 @........ DEBUG: Invoking createStream DEBUG: FCSubscribe: ntv000ll0882233434556677l22356.stream DEBUG2: RTMP_SendPacket: fd=4, size=64 DEBUG2: 0000: 43 00 00 00 00 00 40 14 C.....@. DEBUG2: 0000: 02 00 0b 46 43 53 75 62 73 63 72 69 62 65 00 40 ...FCSubscribe.@ DEBUG2: 0010: 08 00 00 00 00 00 00 05 02 00 25 6e 74 76 30 30 ..........%ntv00 DEBUG2: 0020: 30 6c 6c 30 38 38 32 32 33 33 34 33 34 35 35 36 0ll0882233434556 DEBUG2: 0030: 36 37 37 6c 32 32 33 35 36 2e 73 74 72 65 61 6d 677l22356.stream DEBUG: Invoking FCSubscribe DEBUG2: RTMP_ReadPacket: fd=4 ERROR: RTMP_ReadPacket, failed to read RTMP packet header DEBUG: Closing connection. Last edited by kaisho : 10-28-2014 at 09:14 PM. Reason: additional info |
#2
|
|||
|
|||
Re: rtmpdump-done everything i couldCode:
rtmpdump -r "rtmpe://live.jagobd.com/live" -a "live" -f "WIN 14,0,0,179" -W "http://tv.jagobd.com/player/player.swf" -p "http://www.tv.jagobd.com/embed.php?u=ntvbds&vw=100%&vh=400" --live -y "ntv000ll0882233434556677l22356.stream" -o "2014-10-29_03-35-54_ntv000ll0882233434556677l22356.stream.flv" -T "%bpwpw(nKa@#." |
#3
|
|||
|
|||
Re: rtmpdump-done everything i couldA zillion thanks to you biezom.
Would you mind sharing how did you figure that out and why its different than from the source, is it the TEA encryption code doing another level of scrambling. Thanks for your time, cheers Last edited by kaisho : 10-29-2014 at 10:16 PM. Reason: was wrong |
#4
|
|||
|
|||
Re: rtmpdump-done everything i couldFot the token i read the memory of flash plugin
http://stream-recorder.com/forum/can...en-t18788.html |
#5
|
|||
|
|||
Re: rtmpdump-done everything i couldHi biezom
Thanks for all your help. I am seeking help again The rtmpdump command: HTML Code:
rtmpdump --rtmp "rtmpe://85.17.73.8/c2VydmVyX3RpbWU9KZ8yNS8yMDRPIDE7OjE2DjUxIFBNJmhhc2hfdmFsdWU8cG04SEN4TjBCZXZIV1R4eEhHQURPZz09JnZhbRLkbW1udXRlcz0xMA/banglav000O0ll8822323ll24455566.stream" --pageUrl "http://www.zzcast.com/channel.php?u=atnnewsss" --flashVer "WIN 15,0,0,189" --playpath "banglav000O0ll8822323ll24455566.stream" -o test.flv --live --token "%bpppe(nKa@#." HTML Code:
rtmpdump --rtmp "rtmpe://85.17.73.8/c2VydmVyX3RpbWU9KZ8yNS8yMDRPIDE7OjE2DjUxIFBNJmhhc2hfdmFsdWU8cG04SEN4TjBCZXZIV1R4eEhHQURPZz09JnZhbRLkbW1udXRlcz0xMA/banglav000O0ll8822323ll24455566.stream" --pageUrl "http://www.zzcast.com/channel.php?u=atnnewsss" --flashVer "WIN 15,0,0,189" --playpath "banglav000O0ll8822323ll24455566.stream" -o test.flv --live --token "%bpppe(nKa@#." But in linux giving: HTML Code:
RTMPDump v2.4 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL DEBUG: Protocol : RTMPE DEBUG: Hostname : 85.17.73.8 DEBUG: Port : 1935 DEBUG: Playpath : banglav000O0ll8822323ll24455566.stream DEBUG: tcUrl : rtmpe://85.17.73.8:1935/c2VydmVyX3RpbWU9KZ8yNS8yMDRPIDE7OjE2DjUxIFBNJmhhc2hfdmFsdWU8cG04SEN4TjBCZXZIV1R4eEhHQURPZz09JnZhbRLkbW1udXRlcz0xMA DEBUG: pageUrl : http://www.zzcast.com/channel.php?u=atnnewsss DEBUG: app : c2VydmVyX3RpbWU9KZ8yNS8yMDRPIDE7OjE2DjUxIFBNJmhhc2hfdmFsdWU8cG04SEN4TjBCZXZIV1R4eEhHQURPZz09JnZhbRLkbW1udXRlcz0xMA DEBUG: flashVer : WIN 15,0,0,189 DEBUG: live : yes DEBUG: timeout : 30 sec DEBUG: Setting buffer time to: 36000000ms Connecting ... DEBUG: RTMP_Connect1, ... connected, handshaking DEBUG: HandShake: Client type: 06 DEBUG: HandShake: DH pubkey position: 472 DEBUG: HandShake: Client digest offset: 1383 DEBUG: HandShake: Initial client digest: DEBUG: 30 44 74 6c 07 18 86 12 24 db 14 11 2c 79 0c ba DEBUG: 0e 62 8b 3c f1 58 5c e8 31 f6 e2 22 cc d7 d8 68 DEBUG: HandShake: Type Answer : 06 DEBUG: HandShake: Server Uptime : 1686189060 DEBUG: HandShake: FMS Version : 3.0.2.1 WARNING: Trying different position for server digest! DEBUG: HandShake: Server DH public key offset: 897 DEBUG: HandShake: Secret key: DEBUG: 4a e6 f9 76 42 c2 30 e2 19 73 7c 9c 21 46 9b 2d DEBUG: f1 83 67 5e c6 00 66 7e ea e9 ca 2a d2 39 3c 2c DEBUG: e8 7f 6a 20 d1 e0 e2 19 ab 89 96 26 d4 86 92 8b DEBUG: e1 94 c3 90 18 4d c7 0e 69 2e b4 b8 e3 17 fa c6 DEBUG: 17 3c ab df fe b8 2b 19 c8 95 50 fd 58 9b c1 42 DEBUG: 37 f6 42 94 3f 2f a4 33 91 9b cd 42 35 66 0e 5f DEBUG: 1c 62 2c 84 95 9f 85 e7 d9 7c d6 0a 67 3f b2 01 DEBUG: d2 bc 80 61 83 d1 9a bb 9b 99 5c aa 36 b0 2f 46 DEBUG: RC4 Out Key: DEBUG: 7e ab 89 41 ac b8 80 fc df c3 9e d9 0d 49 95 bf DEBUG: RC4 In Key: DEBUG: 2f 1e c7 48 43 03 c1 b8 3b 54 21 a2 6d 8e c1 82 DEBUG: HandShake: Calculated digest key from secure key and server digest: DEBUG: c7 f0 4e c5 60 cf 5a 7f 9e b8 28 3c 6b a6 b8 62 DEBUG: 20 57 38 ca ea ba 94 a0 43 a0 38 61 27 9e 6e 61 DEBUG: HandShake: Client signature calculated: DEBUG: 8b 54 74 e0 be cf 43 10 c3 58 8e d3 ca 75 0e 8a DEBUG: 9a 5d f4 ea 08 b4 2c b9 7d 66 be d5 f5 63 15 a4 DEBUG: HandShake: Server sent signature: DEBUG: ce e3 5b df ea cf ee 83 f4 5c e7 1d 4c 90 e3 2c DEBUG: 8e 04 d4 b3 1d 64 5e 3c 9b 5b 9f 1a c8 a6 da a1 DEBUG: HandShake: Digest key: DEBUG: 4d bb ab a7 dc bf 45 6c 6f cd dd 1d a0 32 c6 1f DEBUG: 62 b7 ab 24 e3 60 1c cf ab d4 28 24 1a 71 d1 58 DEBUG: HandShake: Signature calculated: DEBUG: ce e3 5b df ea cf ee 83 f4 5c e7 1d 4c 90 e3 2c DEBUG: 8e 04 d4 b3 1d 64 5e 3c 9b 5b 9f 1a c8 a6 da a1 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: HandleCtrl, received ctrl. type: 0, len: 6 DEBUG: HandleCtrl, Stream Begin 0 DEBUG: HandleChangeChunkSize, received: chunk size change to 4096 DEBUG: RTMP_ClientPacket, received: invoke 347 bytes DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: fmsVer, STRING: FMS/3,5,4,210> DEBUG: Property: <Name: capabilities, NUMBER: 31.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: data, OBJECT> DEBUG: (object begin) DEBUG: Property: <Name: version, STRING: 3,5,4,210> DEBUG: (object end) DEBUG: Property: <Name: clientid, NUMBER: 19661434.00> DEBUG: Property: <Name: objectEncoding, NUMBER: 0.00> DEBUG: Property: <Name: secureToken, STRING: de54ce4734a883db8bc9c64d8a165210ded3006f5907b01f5f41342a582665e301531ed6> DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_result> DEBUG: HandleInvoke, received result for method call <connect> DEBUG: Invoking secureTokenResponse DEBUG: sending ctrl. type: 0x0003 DEBUG: Invoking createStream DEBUG: FCSubscribe: banglav000O0ll8822323ll24455566.stream DEBUG: Invoking FCSubscribe 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: banglav000O0ll8822323ll24455566.stream DEBUG: Invoking play DEBUG: sending ctrl. type: 0x0003 DEBUG: RTMP_ClientPacket, received: invoke 171 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: FCSubscribe to stream banglav000O0ll8822323ll24455566.stream.> DEBUG: Property: <Name: clientid, NUMBER: 19661434.00> DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <onFCSubscribe> DEBUG: RTMP_ClientPacket, received: invoke 124 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object begin) DEBUG: Property: <Name: level, STRING: error> DEBUG: Property: <Name: code, STRING: NetStream.Play.Failed> DEBUG: Property: <Name: description, STRING: AuthorizationFailed> DEBUG: Property: <Name: clientid, NUMBER: 19661434.00> DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <onStatus> DEBUG: HandleInvoke, onStatus: NetStream.Play.Failed ERROR: Closing connection: NetStream.Play.Failed DEBUG: Closing connection. apt-get install on ubuntu. |
#6
|
|||
|
|||
Re: rtmpdump-done everything i couldYou need compile the last version.
Me i use this tuto http://stream-recorder.com/forum/cus...le-t16103.html The version by apt-get is a too old version |
Tags: flash media server, rtmpdump |
Thread Tools | |
Display Modes | |
|
|