Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-28-2014, 09:03 PM
kaisho kaisho is offline
Junior Member
 
Join Date: Oct 2014
Posts: 8
kaisho is on a distinguished road
Angry

rtmpdump-done everything i could


I 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
As I can see from dump the connection is successful but cant create stream, Is it someway the publisher protection where rtmpdump fails, or I am doing something stupid...
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
Reply With Quote
 
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 12:28 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons