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

How to download RTMP audio/video streams with freeware CooJah+Blader

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

Stream Recorder 10-01-2009 05:53 AM

How to download RTMP audio/video streams with freeware CooJah+Blader


 
Starting with version 6.1.0.4 on, Coojah supports RTMP protocol sniffing. It can sniff for both audio and video RTMP streams.
Blader 4.0 can download these RTMP media streams. Blader and CooJah are integrated together.

How to download RTMP audio/video streams with freeware CooJah + Blader
  1. Run CooJah
  2. Navigate to a web-page with an RTMP audio/video stream or run a streaming player and play an RTMP stream.
  3. CooJah will automatically find RTMP stream URLs.
    On the picture below the the lower part shows that CooJah has found an RTMP stream URL and displays it on the Video page.

  4. Right click on the RTMP URL. Select "Download by Blader" item from the pop-up menu.

  5. Blader will be started and a dialog will pop up for adding task. You can choose location for saving the RTMP resource and rename it.

  6. Click OK to start downloading.

  7. If thr RTMP resource you are downloading requires authorization, Blader will pop up a dialog where you need to enter a secure token. Then the download will continue.

Stream Recorder 10-01-2009 06:04 AM

Re: How to download RTMP audio/video streams with freeware CooJah+Blader


 
How to get a secure token and How to download RTMP audio/video streams that use secure tokens:

If an RTMP resource you are downloading from requires authorization, Blader will pop up a dialog window shown below where you need to enter the secure token.

Then the download will continue.

How to get a secure RTMP token?
Different policies can be used to authorize RTMP clients. Different analysis is required to find out the tokens depending on the policy used.

The most popular solution is JW player. It supports two kinds of tokens: a dynamic token and a static token. A static token is hard coded into the SWF flash file of the player. Dynamic tokens are sent by server dynamically when playing.

How to get a static secure token for JW Player
To get a secure static token you need to get the .swf file of the player and decompile it. Then you can get the script files of the player and find the keyword "token". For JW Player the static secure token can be found in the RTMPModel.as or player.as.

How to get a dynamic secure token for JW Player
You can get a dynamic secure token by capturing HTTP GET requests coming to the RTMP server. The server returns an XML file like :
Code:

<?xml version="1.0"?>
<config>
<file>mp4:00/00/bb/f6</file>
<autostart>true</autostart>
<type>rtmp</type>
<token>be5a0ccc1fcecc10a6b16a7dbf561c1d8dcd87e9a9c7f6f159de8ec392ebc31b</token>
<streamer>rtmp://206.14.141.94/streamer</streamer>
<fullscreen>true</fullscreen>
<stretching>uniform</stretching>
<quality>true</quality>
<skin>http://www.xxx.com/4skin</skin>
<plugins>http://www.xxx.com/related</plugins>
<related>48118</related>
<bufferlength>10</bufferlength>
<bufferthreshold>15</bufferthreshold>
<maxbuffer>60</maxbuffer>
<keyframeinterval>2</keyframeinterval>
<bitrate>576</bitrate>
<displaybufferthreshold>1</displaybufferthreshold>
</config>

Find the token tag in the XML file and copy the token from it. In the example above the token is
Code:

be5a0ccc1fcecc10a6b16a7dbf561c1d8dcd87e9a9c7f6f159de8ec392ebc31b
To analyze HTTP GET requests you can use CooJah. It allows you to turn on "XML filter" and "Auto File Detect" function. This allows to capture XML HTTP GET requests. Please not that XML files can b compressed using gzip. Rename compressed files adding the gz extension and decompress them. After that open the decompressed file with a text editor or your browser.

RMC User 10-02-2009 05:17 PM

Re: How to download RTMP audio/video streams with freeware CooJah+Blader


 
Will this method work for downloading any flash file, even those that cannot be downloaded with Replay Media Catcher (RMC) or GetFLV?

Stream Recorder 10-05-2009 02:48 AM

Re: How to download RTMP audio/video streams with freeware CooJah+Blader


 
Quote:

Originally Posted by RMC User (Post 13403)
Will this method work for downloading any flash file, even those that cannot be downloaded with Replay Media Catcher (RMC) or GetFLV?

Any software that can capture packets from flash player like Jaksta should be able to record streams protected with secure token.

RMC 3.11 can capture HTTP packets from flash player, but not RTMP packets. Replay Media Catcher 4 can download as well as capture HTTP and RTMP packets from flash player.

smn9 10-07-2009 08:32 AM

Re: How to download RTMP audio/video streams with freeware CooJah+Blader


 
So does this program work with Vista x64? When I try to run it, all I get is a message that I need Windows 2000 or something newer.

Stream Recorder 10-07-2009 09:11 AM

Re: How to download RTMP audio/video streams with freeware CooJah+Blader


 
Quote:

Originally Posted by smn9 (Post 13479)
So does this program work with Vista x64?

I can only test it on Windows Vista x32 and Windows 7 x64.

smn9 10-07-2009 07:58 PM

Re: How to download RTMP audio/video streams with freeware CooJah+Blader


 
Quote:

Originally Posted by Stream Recorder (Post 13483)
I can only test it on Windows Vista x32 and Windows 7 x64.

Can anyone confirm that Vista is the problem? Sounds like this could be a useful program and it'd be nice to try it.

any ANONYMOUS forum user 12-11-2010 02:03 AM

Re: How to download RTMP audio/video streams with freeware CooJah+Blader


 
Hi..

do you have links for the CooJah + Blader you were referring to? I tried to download from the original website but it always downloads @ 10kbs then it stops (timesout)

Stream Recorder 12-11-2010 02:13 AM

Re: How to download RTMP audio/video streams with freeware CooJah+Blader


 
Quote:

Originally Posted by any ANONYMOUS forum user (Post 23595)
do you have links for the CooJah + Blader you were referring to? I tried to download from the original website but it always downloads @ 10kbs then it stops (timesout)

CooJah + Blader should be downloaded from the official web-site only. If you have problem with these programs, try to contact the developer.

placebo 12-12-2010 05:20 AM

Re: How to download RTMP audio/video streams with freeware CooJah+Blader


 
hi, lemme quote you:
Quote:

Originally Posted by any ANONYMOUS forum user (Post 23595)
I tried to download from the original website but it always downloads @ 10kbs then it stops (timesout)

and lemme quote myself:
Quote:

Originally Posted by placebo (Post 23633)
i download CooJah from here
Code:

http://www.hensence.com/en/coojah/download.htm
and the About-box says "CooJah English 6.8.193.0614 Final".

my download speed is @ 7-8kilobytes/sec for the 8.7MB installation package: this results in a 25mins download. that's the perfect time to bake a pizza and go to the john to finish my reading of Dr. Alan Francis' groundbreaking book Everything Men Know About Women. Good luck on the john!! :p


All times are GMT -6. The time now is 05:27 AM.