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

Reply Post New Thread
 
Thread Tools Display Modes
  #231  
Old 03-23-2013, 03:45 PM
InterdimensionalCow InterdimensionalCow is offline
Junior Member
 
Join Date: Aug 2012
Posts: 17
InterdimensionalCow is on a distinguished road
Default

Re: chaturbate.com: SecureToken problems


From here? http://rtmpdump.mplayerhq.hu/

I remember that back when I first tried, I used that version. Just as back then, I'm getting NetStream.Play.Failed errors when I try. KSV's version, which I think I got from here seemd to work, although not I get that Model Status error. Is there yet another version I don't know about?

Edit: I put RTMPDumpHelper (http://stream-recorder.com/forum/rtm...er-t12719.html) in the folder, ran it, opened Chaturbate. A bunch of stuff popped up, and then I noticed it was making a file. When I closed the tab, it stopped recording. Clearly this isn't how our method works, but it's a compromise for now. For now, I can record it this way. But what is causing the problem with this method now? Any other builds I should know about? I forgot what causes a Model status error. I'm using the build from the link at the top of my post with RTMPDumpHelper.

Last edited by InterdimensionalCow : 03-23-2013 at 05:28 PM.
Reply With Quote
  #232  
Old 03-24-2013, 03:16 AM
oelk oelk is offline
Member
 
Join Date: Nov 2011
Posts: 44
oelk is on a distinguished road
Default

Re: chaturbate.com: SecureToken problems


Now I see your problem. Of course you have to use KSV's version. He has done some necessary modifications for this site (and many others).

I get NetStream.Play.Failed for now, too. The only way i found to get around this is using a login. You'll find they details here in the thread:
here

RTMPDumpHelper does something a bit more tricky. It hooks between your flashplayer and the server to record everything it receives (simply said). So you won't be able to close the tabs without losing connection.
Reply With Quote
  #233  
Old 03-25-2013, 07:10 AM
InterdimensionalCow InterdimensionalCow is offline
Junior Member
 
Join Date: Aug 2012
Posts: 17
InterdimensionalCow is on a distinguished road
Default

Re: chaturbate.com: SecureToken problems


Well, I am logged in. As far as the javascript retrieves, it seems to call all data in. In that case, it'd be calling the wrong data. But what could interrupt the code?

Edit: I wish the Javascript or RTMPDumpHelper had some kind of check so it wouldn't overwrite old files. It'd just have to check file existing, and incrementing a number. I suppose adding that for at least the Javascript would get confusing, though.
Reply With Quote
  #234  
Old 03-25-2013, 10:53 AM
oelk oelk is offline
Member
 
Join Date: Nov 2011
Posts: 44
oelk is on a distinguished road
Default

Re: chaturbate.com: SecureToken problems


There seems to be a little decoding problem in the javascript line. I rewrote it to work properly:
Code:
javascript:var raw=$('param[name="FlashVars"]').val().split('&');var fv={}; for(var i in raw) {var d=raw[i].split('='); fv[d[0]] = unescape(d[1]);} var swfu=$('#movie').attr('data'); swfv = swfu.substring(swfu.indexOf('_')+1,swfu.indexOf('.')).replace('p','.'); prompt('RTMPDumpCL','rtmpdump -v -r "rtmpe://'+fv['address']+'/live-edge" -W "http://'+fv['dom']+swfu+'" -p "http://'+fv['dom']+'/'+fv['pid']+'" -C S:'+fv['uid']+' -C S:'+fv['pid']+' -C S:'+swfv+' -C S:'+fv['pw']+' -C S:'+fv['rp']+' -y "playpath" -T "m9z#$dO0qe34Rxe@sMYxx%" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');
The new one appends a timestamp to the filename, so it won't overwrite your old files anymore. It should also be a bit more stable to minor changes of the website.

To get rtmpdumphelper not to overwrite your files, there are some patches for rtmpsuck you'll find somewhere here in the forum (don't remember where).
Reply With Quote
  #235  
Old 03-25-2013, 06:17 PM
InterdimensionalCow InterdimensionalCow is offline
Junior Member
 
Join Date: Aug 2012
Posts: 17
InterdimensionalCow is on a distinguished road
Default

Re: chaturbate.com: SecureToken problems


Your Javascript has RTMPDump begin downloading, although it stops after a few seconds. Not sure what's different that changed it from Model status is error to recording a few seconds, or why it only records that much. I'm going to be busy for the next few days, so I guess it doesn't matter.

Reply With Quote
  #236  
Old 04-01-2013, 11:31 AM
Larry Larry is offline
Junior Member
 
Join Date: Feb 2013
Posts: 9
Larry is on a distinguished road
Default

Re: chaturbate.com: SecureToken problems


Quote:
Originally Posted by oelk View Post
There seems to be a little decoding problem in the javascript line. I rewrote it to work properly:
Code:
javascript:var raw=$('param[name="FlashVars"]').val().split('&');var fv={}; for(var i in raw) {var d=raw[i].split('='); fv[d[0]] = unescape(d[1]);} var swfu=$('#movie').attr('data'); swfv = swfu.substring(swfu.indexOf('_')+1,swfu.indexOf('.')).replace('p','.'); prompt('RTMPDumpCL','rtmpdump -v -r "rtmpe://'+fv['address']+'/live-edge" -W "http://'+fv['dom']+swfu+'" -p "http://'+fv['dom']+'/'+fv['pid']+'" -C S:'+fv['uid']+' -C S:'+fv['pid']+' -C S:'+swfv+' -C S:'+fv['pw']+' -C S:'+fv['rp']+' -y "playpath" -T "m9z#$dO0qe34Rxe@sMYxx%" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');
The new one appends a timestamp to the filename, so it won't overwrite your old files anymore. It should also be a bit more stable to minor changes of the website.

To get rtmpdumphelper not to overwrite your files, there are some patches for rtmpsuck you'll find somewhere here in the forum (don't remember where).
In what source is the javascript problem? rtmpdumphelper?
Reply With Quote
  #237  
Old 04-12-2013, 04:59 PM
InterdimensionalCow InterdimensionalCow is offline
Junior Member
 
Join Date: Aug 2012
Posts: 17
InterdimensionalCow is on a distinguished road
Default

Re: chaturbate.com: SecureToken problems


Well, I just tried the Javascript now, and it seems to work. I don't know why there was a prolonged period where it simply refused to, but I will say that right before trying the Javascript, I ran RTMPDumpHelper for a minute or so...
Reply With Quote
  #238  
Old 04-22-2013, 03:21 PM
InterdimensionalCow InterdimensionalCow is offline
Junior Member
 
Join Date: Aug 2012
Posts: 17
InterdimensionalCow is on a distinguished road
Default

Re: chaturbate.com: SecureToken problems


I made batch code to work as a master run file for the code the javascript generates:

Code:
@echo OFF

for /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c-%%a-%%b)
for /f "tokens=1-2 delims=/:" %%a in ('time /t') do (set mytime=%%a%%b)
echo %mydate%_%mytime%

for /f "tokens=* delims=." %%a in ('dir /b /od') do (
	set newest=%%a
)

call "%newest%"

for /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c-%%a-%%b)
for /f "tokens=1-2 delims=/:" %%a in ('time /t') do (set mytime=%%a%%b)
echo %mydate%_%mytime%

pause
Make sure the .bat you make for rtmpdump is the most recently edited - this runs the most recent bat file. It displays the time it started, runs that bat file, then displays the time it stopped and awaits for you to look. You could probably improve on this code - I think there is a beep function somewhere which might work, even... - but this is what I'll be using so I don't have to amend pauses and such to each file. All i do is make a new file with the code and run this master code.
Reply With Quote
  #239  
Old 05-04-2013, 03:20 AM
felnixx felnixx is offline
Junior Member
 
Join Date: Jan 2012
Posts: 3
felnixx is on a distinguished road
Default

Re: chaturbate.com: SecureToken problems


CB changes something in version 634, it doesn't work at all.

Quote:
[...]
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 06
DEBUG: HandShake: DH pubkey position: 472
DEBUG: HandShake: Client digest offset: 1204
DEBUG: HandShake: Initial client digest:
DEBUG: e1 5c 6a 7c 5e c5 17 67 de 34 9f 09 b7 69 af a9
DEBUG: 0b f5 a1 5d f4 12 05 47 e9 ff 95 0b 91 e6 99 9c
DEBUG: Socket closed by server, nBytes: 0
ERROR: RTMP_Connect1, handshake failed.
DEBUG: Closing connection.
Reply With Quote
  #240  
Old 05-04-2013, 05:15 AM
non90 non90 is offline
Member
 
Join Date: Jun 2012
Location: Germany
Posts: 44
non90 is on a distinguished road
Default

Re: chaturbate.com: SecureToken problems


Quote:
Originally Posted by felnixx View Post
CB changes something in version 634, it doesn't work at all.
Can confirm that problem. Works fine in browser, but not with rtmpdump. Tested with newest KSV release.

Error even produce a very short debug log... tested with first model on page that time.

Code:
RTMPDump v2.4 GIT-2012-12-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMPE
DEBUG: Hostname : edge4-b.stream.highwebmedia.com
DEBUG: Port     : 1935
DEBUG: Playpath : anything_here
DEBUG: tcUrl    : rtmpe://edge4-b.stream.highwebmedia.com:1935/live-edge
DEBUG: swfUrl   : http://chaturbate.com/static/flash/CBV_2p634.swf
DEBUG: pageUrl  : http://chaturbate.com/jessica_shine/
DEBUG: app      : live-edge
DEBUG: flashVer : WIN 11,1,102,63
DEBUG: live     : yes
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
DEBUG: 56 62 34 c0 c4 c9 64 cc d7 ce ab 9b a6 06 69 d1
DEBUG: ff c1 1e c5 e0 a0 f5 6d c6 3f 6c 44 a8 1b e3 26
DEBUG: SWFSize  : 438080
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 06
DEBUG: HandShake: DH pubkey position: 358
DEBUG: HandShake: Client digest offset: 1219
DEBUG: HandShake: Initial client digest: 
DEBUG: 2c 85 4b 8a 99 17 d3 bd 12 26 97 c1 d0 0b 0f 9b
DEBUG: 68 c2 ad a6 9a 25 b1 90 51 96 32 73 48 55 89 40
DEBUG: Socket closed by server, nBytes: 0
ERROR: RTMP_Connect1, handshake failed.
DEBUG: Closing connection.
Reply With Quote
Reply Post New Thread
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 08:31 PM.


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