Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Screen video capture software (http://stream-recorder.com/forum/forumdisplay.php?f=51)
-   -  

How to get a secure RTMP stream?

(http://stream-recorder.com/forum/showthread.php?t=15271)

kpk1 02-08-2013 11:01 PM

How to get a secure RTMP stream?


 
Trying to get this pre-recorded stream, but RMC pukes on the fact that it's secure, and only get 28 secs. of the 18 minute stream. I tried rtmpdump, but it's erroring out, which I think has to do with the fact that I am a complete noob.

Here's what RMC says

Quote:

Recording of rtmp://stream.vavoom.com/exclusive<break>mp4:00223674_1500_W.mp4
Download file: Lilly LovetteMr- Pete in Lilly & MrPete - SEE MY SEX TAPES - The Best Fucking Porn On The WEB! - 4.flv
Started at: 2/8/2013 9:32 PM
Detecting file name ...
Applying Playlist naming rule
Applying Referer naming rule
File name detection complete
Recording (RTMP) - Waiting for streaming to commence ...
Recording (RTMP) - 4 B
Recording (RTMP) - 9 B
Recording (RTMP) - 15 B
Recording (RTMP) - 19 B
Recording (RTMP) - 49 B
Recording (RTMP) - 196 B
Recording (RTMP) - 202 B
Recording (RTMP) - 208 B
Recording (RTMP) - 363 B
Recording (RTMP) - 387 B
Recording (RTMP) - 387 B
Recording (RTMP) - 431 B
Recording (RTMP) - 1015 B
Recording (RTMP) - Duration is 00:18:40
The rest of output is ommited, but it basically just grabs the 28 secs. RMC does notify that this is a secure stream, so unless its an older version, I am out of luck. Any suggestions?

kpk1.

Humbug 02-10-2013 09:46 AM

Re: How to get a secure RTMP stream?


 
Have you tried Rtmpdump? Google rtmpdumphelper and see if it works.

kpk1 02-12-2013 12:11 AM

Re: How to get a secure RTMP stream?


 
So none of those pieces of software really helped. What really helped out was Wireshark, and then the -z (DEBUG) option for rtmpdump. Now I was wondering if someone can help me out with what this says. I am trying to grab the whole stream, but I only get the teaser 30 seconds.

Quote:

PS C:\Users\Downloads\rtmpdump> .\rtmpdump.exe -r rtmp://stream.vavoom.com/exclusive/00223674_1500_W.m
p4 -o "C:\Users\Videos\00223674_1500_W.mp4" -z | more
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : stream.vavoom.com
DEBUG: Port : 1935
DEBUG: Playpath : mp4:00223674_1500_W
DEBUG: tcUrl : rtmp://stream.vavoom.com:1935/exclusive
DEBUG: app : exclusive
DEBUG: live : no
DEBUG: timeout : 30 sec
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 96850052
DEBUG: HandShake: FMS Version : 3.0.1.1
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG2: RTMP_SendPacket: fd=348, size=215
DEBUG2: 0000: 03 00 00 00 00 00 d7 14 00 00 00 00 ............
DEBUG2: 0000: 02 00 07 63 6f 6e 6e 65 63 74 00 3f f0 00 00 00 ...connect.?....
DEBUG2: 0010: 00 00 00 03 00 03 61 70 70 02 00 09 65 78 63 6c ......app...excl
DEBUG2: 0020: 75 73 69 76 65 00 08 66 6c 61 73 68 56 65 72 02 usive..flashVer.
DEBUG2: 0030: 00 0e 57 49 4e 20 31 30 2c 30 2c 33 32 2c 31 38 ..WIN 10,0,32,18
DEBUG2: 0040: 00 05 74 63 55 72 6c 02 00 27 72 74 6d 70 3a 2f ..tcUrl..'rtmp:/
DEBUG2: 0050: 2f 73 74 72 65 61 6d 2e 76 61 76 6f 6f 6d 2e 63 /stream.vavoom.c
DEBUG2: 0060: 6f 6d 3a 31 39 33 35 2f 65 78 63 6c 75 73 69 76 om:1935/exclusiv
DEBUG2: 0070: 65 00 04 66 70 61 64 01 00 00 0c 63 61 70 61 62 e..fpad....capab
DEBUG2: 0000: c3 .
DEBUG2: 0000: 69 6c 69 74 69 65 73 00 40 2e 00 00 00 00 00 00 ilities.@.......
DEBUG2: 0010: 00 0b 61 75 64 69 6f 43 6f 64 65 63 73 00 40 a8 ..audioCodecs.@.
DEBUG2: 0020: ee 00 00 00 00 00 00 0b 76 69 64 65 6f 43 6f 64 ........videoCod
DEBUG2: 0030: 65 63 73 00 40 6f 80 00 00 00 00 00 00 0d 76 69 ecs.@o........vi
DEBUG2: 0040: 64 65 6f 46 75 6e 63 74 69 6f 6e 00 3f f0 00 00 deoFunction.?...
DEBUG2: 0050: 00 00 00 00 00 00 09 .......
DEBUG: Invoking connect
INFO: Connected...
......fmsVer...F
DEBUG2: 0020: 4d 53 2f 33 2c 35 2c 37 2c 37 30 30 39 00 0c 63 MS/3,5,7,7009..c
DEBUG2: 0030: 61 70 61 62 69 6c 69 74 69 65 73 00 40 3f 00 00 apabilities.@?..
DEBUG2: 0040: 00 00 00 00 00 04 6d 6f 64 65 00 3f f0 00 00 00 ......mode.?....
DEBUG2: 0050: 00 00 00 00 00 09 03 00 05 6c 65 76 65 6c 02 00 .........level..
DEBUG2: 0060: 06 73 74 61 74 75 73 00 04 63 6f 64 65 02 00 1d .status..code...
DEBUG2: 0070: 4e 65 74 43 6f 6e 6e 65 63 74 69 6f 6e 2e 43 6f NetConnection.Co
DEBUG2: 0080: 6e 6e 65 63 74 2e 53 75 63 63 65 73 73 00 0b 64 nnect.Success..d
DEBUG2: 0090: 65 73 63 72 69 70 74 69 6f 6e 02 00 15 43 6f 6e escription...Con
DEBUG2: 00a0: 6e 65 63 74 69 6f 6e 20 73 75 63 63 65 65 64 65 nection succeede
DEBUG2: 00b0: 64 2e 00 04 64 61 74 61 08 00 00 00 00 00 07 76 d...data.......v
DEBUG2: 00c0: 65 72 73 69 6f 6e 02 00 0a 33 2c 35 2c 37 2c 37 ersion...3,5,7,7
DEBUG2: 00d0: 30 30 39 00 00 09 00 08 63 6c 69 65 6e 74 69 64 009.....clientid
DEBUG2: 00e0: 00 41 b4 8b 8b b5 00 00 00 00 0e 6f 62 6a 65 63 .A.........objec
DEBUG2: 00f0: 74 45 6e 63 6f 64 69 6e 67 00 00 00 00 00 00 00 tEncoding.......
DEBUG2: 0100: 00 00 00 0b 73 65 63 75 72 65 54 6f 6b 65 6e 02 ....secureToken.
DEBUG2: 0110: 00 48 34 65 34 34 30 38 36 38 63 34 64 63 38 39 .H4e440868c4dc89
DEBUG2: 0120: 30 30 63 64 62 30 66 38 62 33 35 32 64 39 62 62 00cdb0f8b352d9bb
DEBUG2: 0130: 33 36 63 31 62 34 62 31 37 35 64 64 38 35 36 30 36c1b4b175dd8560
DEBUG2: 0140: 61 66 61 33 63 62 38 33 34 33 37 31 34 63 65 30 afa3cb8343714ce0
DEBUG2: 0150: 32 37 39 63 35 33 62 63 30 38 00 00 09 279c53bc08...
DEBUG: RTMP_ClientPacket, received: invoke 349 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,7,7009>
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, ECMA_ARRAY>
DEBUG: (object begin)
DEBUG: Property: <Name: version, STRING: 3,5,7,7009>
DEBUG: (object end)
DEBUG: Property: <Name: clientid, NUMBER: 344689589.00>
DEBUG: Property: <Name: objectEncoding, NUMBER: 0.00>
DEBUG: Property: <Name: secureToken, STRING: 4e440868c4dc8900cdb0f8b352d9bb36c1b4b175dd8560afa3 cb8343714ce027
9c53bc08>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG2: RTMP_SendPacket: fd=348, 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=348, 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=348, 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
DEBUG2: RTMP_ReadPacket: fd=348
DEBUG2: 0000: 03 00 00 00 00 00 1d 14 00 00 00 00 ............
DEBUG2: 0000: 02 00 07 5f 72 65 73 75 6c 74 00 40 00 00 00 00 ..._result.@....
DEBUG2: 0010: 00 00 00 05 00 3f f0 00 00 00 00 00 00 .....?.......
DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: _result>
DEBUG: Property: <Name: no-name., NUMBER: 2.00>
DEBUG: Property: NULL
DEBUG: Property: <Name: no-name., NUMBER: 1.00>
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:00223674_1500_W
DEBUG2: RTMP_SendPacket: fd=348, size=48
DEBUG2: 0000: 08 00 00 00 00 00 30 14 01 00 00 00 ......0.....
DEBUG2: 0000: 02 00 04 70 6c 61 79 00 40 08 00 00 00 00 00 00 ...play.@.......
DEBUG2: 0010: 05 02 00 13 6d 70 34 3a 30 30 32 32 33 36 37 34 ....mp4:00223674
DEBUG2: 0020: 5f 31 35 30 30 5f 57 00 00 00 00 00 00 00 00 00 _1500_W.........
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG2: RTMP_SendPacket: fd=348, size=10
DEBUG2: 0000: c2 .
DEBUG2: 0000: 00 03 00 00 00 01 02 25 51 00 .......%Q.
DEBUG2: RTMP_ReadPacket: fd=348
DEBUG: RTMPSockBuf_Fill, recv returned -1. GetSockError(): 10060 (Unknown error)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.

DEBUG2: RTMP_SendPacket: fd=348, size=34
DEBUG2: 0000: 43 00 00 00 00 00 22 14 C.....".
DEBUG2: 0000: 02 00 0c 64 65 6c 65 74 65 53 74 72 65 61 6d 00 ...deleteStream.
DEBUG2: 0010: 40 10 00 00 00 00 00 00 05 00 3f f0 00 00 00 00 @.........?.....
DEBUG2: 0020: 00 00 ..
DEBUG: Invoking deleteStream
Now the stream did not get recorded, RTMPDUMP recorded some errors shown at the bottom, but what caught my eye was this line:

Quote:

DEBUG: timeout : 30 sec
Does this mean that this specific recorded stream is only set for 30 seconds, and that there simply is no more data. RMC4 reported that this file had 18 minutes and 40 seconds of it, but RMC also only recorded 30 seconds of it.

Any thoughts, ideas?

kpk1.

chap 02-12-2013 03:19 PM

Re: How to get a secure RTMP stream?


 
Quote:

Originally Posted by kpk1 (Post 59629)
Any thoughts, ideas?

put link video

kpk1 02-12-2013 06:20 PM

Re: How to get a secure RTMP stream?


 
So there are 6 streams I'm trying to get off of this page:

http://seemysextapes.com/search/porn.../Lilly-Lovette

I am specifically tinkering with this one right now (reachable from the first link or directly):

http://seemysextapes.com/video/22367...y-mrpete-tape1

Thanks!!!

chap 02-12-2013 11:28 PM

Re: How to get a secure RTMP stream?


 
Code:

rtmpdump -r "rtmp://stream.vavoom.com/exclusive" -a "exclusive" -f "WIN 11,5,502,149" -W "http://seemysextapes.com/g/swf/flowplayer.commercial-3.1.5.swf" -p "http://seemysextapes.com/video/223674/lilly-mrpete-tape1" -y "mp4:00223674_1500_W.mp4" -o "mp4_00223674_1500_W.mp4.flv" -T "8Ah8asajWsU1!"

kpk1 02-13-2013 11:07 AM

Re: How to get a secure RTMP stream?


 
Chap is the man!!!!

Can you explain what the additional options in the rtmpdump command string are, and more than that, how did you know what variables need to go there. Some of them are obvious, but how did you obtain (or is it required) the -W and the -T?

What would I need to change in this command if I need to pull 5 more streams from that site? I can't thank you enough for helping with this, and want to learn how to do this myself.

Thanks again dude, you totally rock!

kpk1

CristianoA 02-13-2013 01:47 PM

Re: How to get a secure RTMP stream?


 
Quote:

Originally Posted by kpk1 (Post 59673)
Chap is the man!!!!

Can you explain what the additional options in the rtmpdump command string are, and more than that, how did you know what variables need to go there. Some of them are obvious, but how did you obtain (or is it required) the -W and the -T?

What would I need to change in this command if I need to pull 5 more streams from that site? I can't thank you enough for helping with this, and want to learn how to do this myself.

Thanks again dude, you totally rock!

kpk1

RTMPDump commands
http://rtmpdump.mplayerhq.hu/rtmpdump.1.html

kpk1 02-19-2013 10:50 AM

Re: How to get a secure RTMP stream?


 
I've looked at the manpage, the question was more around how do you know what info to put on the command line, is it recorded somewhere in a cookie file of some kind?

kpk1


All times are GMT -6. The time now is 07:17 AM.