Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

chaturbate.com: SecureToken problems

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

non90 05-08-2013 08:44 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by skyDude14 (Post 62060)
do you know how this can be done ?

No, I do not know that.

InterdimensionalCow 05-09-2013 07:34 PM

Re: chaturbate.com: SecureToken problems


 
So we're resorting to manually building the batch code again? Because I tried the old javascript bookmark with the rtmpdump version nacnay linked and got a handshake failed error.

jimbob9 05-09-2013 09:16 PM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by InterdimensionalCow (Post 62091)
So we're resorting to manually building the batch code again? Because I tried the old javascript bookmark with the rtmpdump version nacnay linked and got a handshake failed error.


you just need to change in it from rtmpe to rtmp

Han5 05-10-2013 12:23 AM

Re: chaturbate.com: SecureToken problems


 
It now gives me:

ERROR: RTMP_Connect1, handshake failed.

Quote:

Originally Posted by jimbob9 (Post 62094)
you just need to change in it from rtmpe to rtmp

You mean change it to "rtmp://edge8-a.stream.highwebmedia.com/live-edge" ?

I tried that but it gives me a model status error. It worked fine in the past but it seems to have stopped working now...

oelk 05-10-2013 06:08 AM

Re: chaturbate.com: SecureToken problems


 
My old script is working with one little modification:
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 "rtmp://'+fv['address']+'/live-edge" -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" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');
It reads all parameters from the active site. Most of them aren't really needed.

A stripped down call could look like this:
Code:

rtmpdump -v -r "rtmp://edge13-b.stream.highwebmedia.com/live-edge" -p "http://chaturbate.com/PERFORMERNAME" -C S:AnonymousUser -C S:PERFORMERNAME -C S:2.634 -C S:anonymous -y "playpath" -o "file.flv"
but I'm not sure, if the same server can be used for every performer every day.

Those who need to record many streams should replace AnonymousUser & anonymous by CB_USERNAME & PW_HASH as described above (or use the proposed script). (You'll get NetStream.Play.Failed otherwise)


The token isn't needed anymore, because they changed from rtmpe to rtmp. No need to worry about it fo now.

Han5 05-10-2013 01:35 PM

Re: chaturbate.com: SecureToken problems


 
Thanks very much oelk! Your parameters helped me alot :D

Btw the parameters I've changed are the:
- token (removed)
- S:2.634 (changed from S:2.632)
- rtmp:// (changed from rtmpe://)

Once again, thanks :p

yetanotherday 05-11-2013 02:11 AM

Re: chaturbate.com: SecureToken problems


 
skyDude14 , i have been testing this on jw player website but couldn't see the feed
http://www.longtailvideo.com/jw-player/wizard/

pitboss 05-12-2013 04:24 PM

Re: chaturbate.com: SecureToken problems


 
oelk , script is working perfectly with video recording but why it is not recording audio anymore? I remember previously everything was fine until they changed rtmpe:// to rtmp:// . Please , how to fix this?

malky 05-13-2013 01:57 AM

Re: chaturbate.com: SecureToken problems


 
Because they changed back to the speex audio codec. As said previously you can use open source Tencoder video converter. Just set the video to direct copy audio to mp3.

pitboss 05-13-2013 06:15 AM

Re: chaturbate.com: SecureToken problems


 
thanks a lot malky! Just encoded the audio with Tencoder. Everything is fine now.


All times are GMT -6. The time now is 06:49 AM.