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)

svnpenn 02-13-2012 09:06 PM

Re: SecureToken problems


 
I pushed KSV changes to a new repo.

github.com/svnpenn/rtmpdump

Mo7aMeD74 02-14-2012 07:27 AM

Re: SecureToken problems


 
Quote:

Originally Posted by Bahman (Post 40048)
It doesn't use securetoken!! Try rtmpexplorer+rtmpsuck!!;)

Also, you can use another links:
Code:

http://www.en.aljazeerasport.tv/streaming/multiformat/streaminfo/index.html?eventId=704803&partnerId=1346&presentation=/InformAdaptiveXML.jsp&timestamp=377

Thank You

I've used the informations in the link you gave me but I still unable to Make it work .. it says :
ERROR : rtmp server sent error
ERROR : rtmp server requested close

Here is the code i made :
Code:

rtmpdump -r "rtmp://ajslivefs.fplive.net/ajslive-live" -a "ajslive-live" -f "WIN 11,1,102,55" -W "http://www.en.aljazeerasport.tv/ptvFlash/unifiedplayer/aljazeera/multiformat/UnifiedPlayer.swf" -p "http://www.en.aljazeerasport.tv/Live/channel/news" --live -y "ajs_ar_ch332_280?reportingKey=eventId-70494_partnerId-1365"

Bahman 02-14-2012 08:59 AM

Re: SecureToken problems


 
I know, you can't use rtmpdump here. The correct script is sth like this (don't forget to add "streamAuth"):
Code:

rtmpdump -r "rtmp://ajslivefs.fplive.net/ajslive-live/" -a "ajslive-live/?nvb=20120214000537&nva=20120214001107&token=01e69ebd86bf777cc3f48" -f "WIN 11,2,202,197" -W "http://www.en.aljazeerasport.tv/ptvFlash/unifiedplayer/authorized/UnifiedPlayer-Tokenized.swf" -p "http://www.en.aljazeerasport.tv/Live/channel/news" --live -y "ajs_ar_ch332_2400?reportingKey=eventId-704803_partnerId-1346" -o "ajs_ar_ch332_2400.flv"
But you cannot use it for rtmpdump+VLC!! just you can record it via rtmpsuck!!

Also there are some other links for iphone and android!! Maybe you can dump them with ffmpeg!!
Code:

- <availableMediaFormats>
- <mediaFormat id="51">
- <name>
- <![CDATA[ Adaptive 5CH L3
  ]]>
  </name>
- <description>
- <![CDATA[ Adaptive 5CH L3
  ]]>
  </description>
  <playerAlias>adaptive</playerAlias>
  <cdn>LEVEL3</cdn>
  <reportingKey>eventId-704947_partnerId-1346</reportingKey>
- <stream>
- <streamType>
- <![CDATA[ SMIL
  ]]>
  </streamType>
- <streamLaunchCode>
- <smil:smil>
- <smil:head>
  <smil:meta base="rtmp://ajslivefs.fplive.net/ajslive-live" />
  </smil:head>
- <smil:body>
- <smil:switch>
  <smil:video src="ajs_ar_ch332_2400" system-bitrate="2400000" />
  <smil:video src="ajs_ar_ch332_1500" system-bitrate="1500000" />
  <smil:video src="ajs_ar_ch332_1000" system-bitrate="1000000" />
  <smil:video src="ajs_ar_ch332_500" system-bitrate="500000" />
  <smil:video src="ajs_ar_ch332_280" system-bitrate="280000" />
  </smil:switch>
  </smil:body>
  </smil:smil>
  </streamLaunchCode>
- <streamAuth>
- <![CDATA[ nvb=20120214155019&nva=20120214155549&token=0e9b22ce6ae69743cf8e8
  ]]>
  </streamAuth>
  </stream>
  </mediaFormat>
- <mediaFormat id="274">
- <name>
- <![CDATA[ FLV9 280k 16:9 (MI)
  ]]>
  </name>
- <description>
- <![CDATA[ Flash Stream, H.264 - 320x180, 48 kbps
  ]]>
  </description>
  <playerAlias>videolo</playerAlias>
  <cdn>MIRROR_IMAGE</cdn>
  <reportingKey>eventId-704947_partnerId-1346</reportingKey>
- <stream>
- <streamType>
- <![CDATA[ URL
  ]]>
  </streamType>
- <streamLaunchCode>
- <![CDATA[ rtmp://perform.mpl.miisolutions.net:1935/perform-live03/definst/mp4:ajs_m_ch332_280k
  ]]>
  </streamLaunchCode>
- <streamAuth>
- <![CDATA[ MIIAuth=a1329234949%3Bb1329234919%3B&MIIHash=DuNWuyXmONVB-rgcnKcd6N9EzqY
  ]]>
  </streamAuth>
  </stream>
  </mediaFormat>
- <mediaFormat id="273">
- <name>
- <![CDATA[ FLV9 512k 16:9 (MI)
  ]]>
  </name>
- <description>
- <![CDATA[ Flash Stream, H.264 - 480x270, 48 kbps
  ]]>
  </description>
  <playerAlias>videomed</playerAlias>
  <cdn>MIRROR_IMAGE</cdn>
  <reportingKey>eventId-704947_partnerId-1346</reportingKey>
- <stream>
- <streamType>
- <![CDATA[ URL
  ]]>
  </streamType>
- <streamLaunchCode>
- <![CDATA[ rtmp://perform.mpl.miisolutions.net:1935/perform-live03/definst/mp4:ajs_m_ch332_512k
  ]]>
  </streamLaunchCode>
- <streamAuth>
- <![CDATA[ MIIAuth=a1329234949%3Bb1329234919%3B&MIIHash=hput60OlhwdccoE6F9gaa8LD_rQ
  ]]>
  </streamAuth>
  </stream>
  </mediaFormat>
- <mediaFormat id="311">
- <name>
- <![CDATA[ Android RTSP High (MI)
  ]]>
  </name>
- <description>
- <![CDATA[ H264 Base3.0 1000k 16:9
  ]]>
  </description>
  <playerAlias>androidhi</playerAlias>
  <cdn>MIRROR_IMAGE</cdn>
  <reportingKey>eventId-704947_partnerId-1346</reportingKey>
- <stream>
- <streamType>
- <![CDATA[ URL
  ]]>
  </streamType>
- <streamLaunchCode>
- <![CDATA[ rtsp://perform.mpl.miisolutions.net:1935/perform-live03/mp4:ajs_m_ch332_1024k
  ]]>
  </streamLaunchCode>
- <streamAuth>
- <![CDATA[ MIIAuth=a1329234949%3Bb1329234919%3B&MIIHash=RLTrF11TGqVuiiWmOG-xpH2XHEM
  ]]>
  </streamAuth>
  </stream>
  </mediaFormat>
- <mediaFormat id="212">
- <name>
- <![CDATA[ iPhone 3 HTTP Live Streaming (L3)
  ]]>
  </name>
- <description>
- <![CDATA[ HTTP Live Streaming for iPhone 3 and earlier (L3)
  ]]>
  </description>
  <playerAlias>iPhone3</playerAlias>
  <cdn>LEVEL3</cdn>
  <reportingKey>eventId-704947_partnerId-1346</reportingKey>
- <stream>
- <streamType>
- <![CDATA[ URL
  ]]>
  </streamType>
- <streamLaunchCode>
- <![CDATA[ http://perform-apple-live.adaptive.level3.net/apple/perform/aljaz/ajs_news/ajs_iphone.m3u8
  ]]>
  </streamLaunchCode>
  </stream>
  </mediaFormat>
- <mediaFormat id="312">
- <name>
- <![CDATA[ FLV9 1000k 16:9 (MI)
  ]]>
  </name>
- <description>
- <![CDATA[ Flash Stream, H.264 - XXXxYYY, 48 kbps
  ]]>
  </description>
  <playerAlias>videohi</playerAlias>
  <cdn>MIRROR_IMAGE</cdn>
  <reportingKey>eventId-704947_partnerId-1346</reportingKey>
- <stream>
- <streamType>
- <![CDATA[ URL
  ]]>
  </streamType>
- <streamLaunchCode>
- <![CDATA[ rtmp://perform.mpl.miisolutions.net:1935/perform-live03/definst/mp4:ajs_m_ch332_1024k
  ]]>
  </streamLaunchCode>
- <streamAuth>
- <![CDATA[ MIIAuth=a1329234949%3Bb1329234919%3B&MIIHash=nlRgxJPVRl_EeT16xJbSXIr94uc
  ]]>
  </streamAuth>
  </stream>
  </mediaFormat>
- <mediaFormat id="270">
- <name>
- <![CDATA[ Android RTSP Low (MI)
  ]]>
  </name>
- <description>
- <![CDATA[ H264 Base3.0 280k 16:9
  ]]>
  </description>
  <playerAlias>androidlo</playerAlias>
  <cdn>MIRROR_IMAGE</cdn>
  <reportingKey>eventId-704947_partnerId-1346</reportingKey>
- <stream>
- <streamType>
- <![CDATA[ URL
  ]]>
  </streamType>
- <streamLaunchCode>
- <![CDATA[ rtsp://perform.mpl.miisolutions.net:1935/perform-live03/mp4:ajs_m_ch332_280k
  ]]>
  </streamLaunchCode>
- <streamAuth>
- <![CDATA[ MIIAuth=a1329234949%3Bb1329234919%3B&MIIHash=OYBVyRNpRdDBPpy5DK7b53ERRQM
  ]]>
  </streamAuth>
  </stream>
  </mediaFormat>
- <mediaFormat id="271">
- <name>
- <![CDATA[ Android RTSP Med (MI)
  ]]>
  </name>
- <description>
- <![CDATA[ H264 Base3.0 500k 16:9
  ]]>
  </description>
  <playerAlias>androidmed</playerAlias>
  <cdn>MIRROR_IMAGE</cdn>
  <reportingKey>eventId-704947_partnerId-1346</reportingKey>
- <stream>
- <streamType>
- <![CDATA[ URL
  ]]>
  </streamType>
- <streamLaunchCode>
- <![CDATA[ rtsp://perform.mpl.miisolutions.net:1935/perform-live03/mp4:ajs_m_ch332_512k
  ]]>
  </streamLaunchCode>
- <streamAuth>
- <![CDATA[ MIIAuth=a1329234949%3Bb1329234919%3B&MIIHash=DTksTNcJ5ZpZyv1fhWZYybHrKzo
  ]]>
  </streamAuth>
  </stream>
  </mediaFormat>
- <mediaFormat id="211">
- <name>
- <![CDATA[ iPhone HTTP Live Streaming (L3)
  ]]>
  </name>
- <description>
- <![CDATA[ HTTP Live Streaming for iPad/iPhone (L3)
  ]]>
  </description>
  <playerAlias>iPhone</playerAlias>
  <cdn>LEVEL3</cdn>
  <reportingKey>eventId-704947_partnerId-1346</reportingKey>
- <stream>
- <streamType>
- <![CDATA[ URL
  ]]>
  </streamType>
- <streamLaunchCode>
- <![CDATA[ http://perform-apple-live.adaptive.level3.net/apple/perform/aljaz/ajs_news/ajs_ipad.m3u8
  ]]>
  </streamLaunchCode>
  </stream>
  </mediaFormat>
  </availableMediaFormats>


Mo7aMeD74 02-16-2012 05:42 AM

Re: SecureToken problems


 
@Bahman

Yes Thank you i Tried to use those iphone Links .. and i made it work for a few seconds on Vlc and wmp too .. but i'm not able to anymore ..

The Only thing i'm trying to do is to make that stream work live on my computer using any media player i used to do that using rtmpdump + VLC and it was awesome but not anymore ..

So i wonder if You can help me through that and figure out a way to make the Live Stream work on vlc or wmp or other media players .. and I'll appreciate your help

Deak 02-28-2012 09:26 AM

Re: SecureToken problems


 
Will this (modified rtmp.c) work also for MFC?

It seems like they use a token or something to valid the login via the chat system.

Thanks in advance!

marktr 03-27-2012 08:39 PM

Re: [Release] Unofficial rtmpdump binaries


 
Chaturbate today upgraded their software and is forcing clients to use CBV_2p597.swf or face an "upgrade needed" notice. The changes enforce a 1 stream limit for anonymous users. The rtmp command line has to reflect these changes in the url passed to -W, as well as one of the string parameters, which changes to -C S:2.597 [I can confirm that by changing these two values the functionality of the latest rtmpdump patch with this site is preserved]

My question is: What is the mechanism to derive the SecureToken for an authenticated user (myself), instead of the now limited AnonymousUser? Pointers are appreciated.

greenythebeast 03-27-2012 09:06 PM

Re: [Release] Unofficial rtmpdump binaries


 
Quote:

Originally Posted by marktr (Post 42590)
Chaturbate today upgraded their software and is forcing clients to use CBV_2p597.swf or face an "upgrade needed" notice. The changes enforce a 1 stream limit for anonymous users. The rtmp command line has to reflect these changes in the url passed to -W, as well as one of the string parameters, which changes to -C S:2.597 [I can confirm that by changing these two values the functionality of the latest rtmpdump patch with this site is preserved]

My question is: What is the mechanism to derive the SecureToken for an authenticated user (myself), instead of the now limited AnonymousUser? Pointers are appreciated.

SecureToken stays the same regardless of user. Just change to:

-W 'http://ccstatic.chaturbate.com/static/flash/CBV_2p597.swf'
-C S:<name of a registered user>
-C S:2.597

That should allow more than one stream at one time. Works for me at least right now.

marktr 03-28-2012 11:31 AM

Re: [Release] Unofficial rtmpdump binaries


 
Quote:

Originally Posted by greenythebeast (Post 42591)
SecureToken stays the same regardless of user. Just change to:

-W 'http://ccstatic.chaturbate.com/static/flash/CBV_2p597.swf'
-C S:<name of a registered user>
-C S:2.597

That should allow more than one stream at one time. Works for me at least right now.

I'd thought SecureToken was connection-specific. I confirm this works right now. Thanks.

3ree 04-09-2012 10:23 AM

Re: [Release] Unofficial rtmpdump binaries


 
Quote:

Originally Posted by greenythebeast (Post 42591)
SecureToken stays the same regardless of user. Just change to:

-W 'http://ccstatic.chaturbate.com/static/flash/CBV_2p597.swf'
-C S:<name of a registered user>
-C S:2.597

That should allow more than one stream at one time. Works for me at least right now.

This is working, im just not able to capture audio.. ive tired playing the flv in a few different players like mpc,vlc but no sound?

how would i go about sortin it.

diablo888 04-09-2012 04:57 PM

Re: SecureToken problems


 
you DO cap the audio, but

neither VLC nor mpc support SPEEX audio together with video in an flv.

Sothink FLV Player DOES play it, but you cannot skip the file (at least I cant skip, not in vlc nor in sothink flv player), you CAN skip the file with sothink flv player if u insert metatags into the flv with a program like flvmdi.exe/flvmdigui.exe

does anyone know the command for rtmpdump to get mfc streams??


All times are GMT -6. The time now is 12:05 PM.