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
  #21  
Old 09-30-2009, 07:56 AM
filou
 
Posts: n/a
Default

Re: rtmpdump.com - freeware RTMP stream downloader (MacOS X, Linux, Windows)


hi

i cant download rtmpdump here is it possible to have a link for windows???
Reply With Quote
  #22  
Old 09-30-2009, 08:05 AM
Stream Recorder
 
Posts: n/a
Default

Re: rtmpdump.com - freeware RTMP stream downloader (MacOS X, Linux, Windows)


Quote:
Originally Posted by filou View Post
i cant download rtmpdump here is it possible to have a link for windows???
Where can I download rtmpdump.exe 1.6 (Windows, Linux, Mac OS) with source code
Reply With Quote
  #23  
Old 11-17-2009, 08:08 AM
Stream Recorder
 
Posts: n/a
Default

Re: rtmpdump.com - freeware RTMP stream downloader (MacOS X, Linux, Windows)


rtmpdump 1.9 is available. And it is hosted by mplayer. I wonder whether it has any RTMPE support or not.
Reply With Quote
  #24  
Old 11-21-2009, 02:49 PM
tdselgas tdselgas is offline
Junior Member
 
Join Date: Nov 2009
Posts: 1
tdselgas is on a distinguished road
Smile

Re: rtmpdump.com - freeware RTMP stream downloader (MacOS X, Linux, Windows)


To compile rtmpdump v 1.9 on Mac OSX 10.6 Snow Leopard you will need to do the following:
1) Install Xcode 3.2 from the Snow Leopard Installation DVD
2) Edit the "streams.cpp" file in the "rtmpdump-1.9" folder by replacing all (two) occurrences of "MSG_NOSIGNAL" with "SO_NOSIGPIPE".

You can now run the command: "make osx" and successfully compile the rtmpdump file
Reply With Quote
  #25  
Old 12-01-2009, 04:28 AM
DJGreenleaf DJGreenleaf is offline
Junior Member
 
Join Date: Dec 2009
Posts: 1
DJGreenleaf is on a distinguished road
Default

Re: rtmpdump.com - freeware RTMP stream downloader (MacOS X, Linux, Windows)


I've been ripping RTMPE .mp4s/.flvs with RTMPdump for a couple of days, since I've figured out how. I ripped the Ray J. video that was mentioned by rookie earlier in the thread. If you need any proof of the skills, PM me. I can help, just let me know what you need.
Reply With Quote
  #26  
Old 12-02-2009, 07:24 AM
compn compn is offline
Stream recording expert
 
Join Date: Sep 2006
Posts: 128
compn has a spectacular aura aboutcompn has a spectacular aura aboutcompn has a spectacular aura about
Default

Re: rtmpdump.com - freeware RTMP stream downloader (MacOS X, Linux, Windows)


here is a simple rtmpdump howto for Ubuntu 9.10:
Compiling rtmpdump and downloading RTMP Flash media with rtmpdump (Ubuntu 9.10)
Reply With Quote
  #27  
Old 12-02-2009, 07:58 AM
Stream Recorder
 
Posts: n/a
Default

Re: rtmpdump.com - freeware RTMP stream downloader (MacOS X, Linux, Windows)


Quote:
Originally Posted by compn View Post
Great tutorial!

Quote:
Originally Posted by constantcuriousity.blogspot.com
Today I attended a lecture/demo session on "hacking" various media sites like YouTube, Hulu, last.fm. Essentially it was a practical demonstration of the cat and mouse game hackers play with content pedlars on the internet....

One of the tools mentioned was rtmpdump ...

I decided to compile it myself from the most recent development version. If you're lazy and brave enough to trust compiled binaries and packages from third parties, go to LinuxCentre and install flvstreamer for your operating system. These programs were once one and so far they use the same commands. Read: they work the same.
(Editor's note: flvstreamer doesn't support RTMPE secure streams)

These instrucitons work on Ubuntu 9.10 (karmic) but please be aware things change rapidly so the following might not work forever.

First of all install the tools needed for accessing the code and compilation.
Code:
sudo apt-get install build-essential gcc make subversion libssl0.9.8 libssl-dev libssl0.9.8
Now check out the latest code from the Subversion repository:
Code:
svn co svn://svn.mplayerhq.hu/rtmpdump rtmpdump
If you prefer a stable version, run this instead:
Code:
wget http://rtmpdump.mplayerhq.hu/rtmpdump-1.9.tgz
tar xfz rtmpdump-1.9.tgz
mv rtmpdump-1.9 rtmpdump
I'm sure the impatient are looking forward to completing this ASAP so here's the final step in setting up rtmpdump on your computer:
Code:
cd rtmpdump
make linux
The program now lies in the same folder and you can only run it by telling your shell (like bash) exactly where it is. If you're in the same folder, running it is as simple as ./rtmpdump but ./ is only short for the current folder and it gets expanded to (in my case) /home/jasa/rtmpdump/rtmpdump.

Great! Now we need a media site which uses a Adobe's RTMP server. I think I won't get in trouble if I use VideoLectures.net as an example.

Lets say I'm interested in probability and statistics. And I want to watch these lectures offline, on a train or wherever.

Unfortunately this isn't a straightforward process and quite a bit of work is required. It is derived from a mailing list thread.

I need to see the source code of the web page above, not the rendered output of the web browser. In Firefox press Ctrl+U. Now I need some hard data to pass to rtmpdump. Search for a javascript section which launches the flash video player. For the statistics video this is the interesting section:
Code:
var flashvars = {
     
streamer: "rtmp://oxy.videolectures.net/video",
file: "2007/pascal/bootcamp07_vilanova/keller_mikaela/bootcamp07_keller_bss_01.flv",
     
height: '288',
autostart: "true",
bufferlength: '5',


image: "http://media.videolectures.net/play.png",
  
id: "FlvPlayer" // last line, no colon ',' !
};
swfobject.embedSWF("http://media.videolectures.net/jw-player/player.swf", "video_embed", "384", "307", "9.0.0", "http://media.videolectures.net/swfobject/expressInstall.swf", flashvars, params, attributes);
Generally searching (Ctrl+F) for flashvars should get you near the required data. The line swfobject.embedSWF(...) causes the video player to load inside your browser and display the correct media. This media rests on a different server than the webpage and I will use rtmpdump to connect to that server instead of the flash player. Now Adobe has put some roadblocks into the process but lucky for me I have a flying car.

I'll just give you the final command now and explain later!
Code:
./rtmpdump -r rtmp://oxy.videolectures.net/video/ -y 2007/pascal/bootcamp07_vilanova/keller_mikaela/bootcamp07_keller_bss_01 -a video -s http://media.videolectures.net/jw-player/player.swf -w ffa4f0c469cfbe1f449ec42462e8c3ba16600f5a4b311980bb626893ca81f388 -x 53910 -o test.flv
The -r switch requires an argument which is the URL of the media server and is found in the variable streamer in the JavaScript source code above.

The -y switch needs the playpath and that is found in the JavaScript variable file, (minus the extension .flv or .mp4).

The -a switch is the name of the used player and usually automatically inferred from the URL. Defining it manually works by copying the part after the server name in the streamer.

The -s switch defines the flash video player which normally connects to the media server. In the example it is the first argument of the function embedSWF.

Here's where things get even more complicated. The media server wants some extra data about this player, specifically its sha256 hash-sum and size in bytes. So lets get them:
Code:
wget http://media.videolectures.net/jw-player/player.swf
sha256sum player.swf
ls -l player.swf
Supply the sha356sum to switch -w and the file size to the -x switch.

Anything else? Yeah, I need to specify where to save the video with -o.

Run the longest command ever and get yourself a beer (you've earned it)!

I admit that doing this for every video gets time consuming but unfortunately it is a procedure specific to every site. Look at the mailing list thread link again to see different javascript:
Quote:
For anyone curious, I found that wisevid is using plain RTMP with SWF
verification.

This invocation works for me:

Code:
rtmpdump -r rtmp://stream1.wisevid.com/flvs -s http://wisevid.com/player.swf -y 82330 -a flvs -z -o xxx -w e09b300f1f1e2cc75878ab11258ba4c17f28a315ea9df26f67b37c7f59332737 -x 110543
Starting from this web page
Code:
http://www.wisevid.com/view_video.php?viewkey=0052slrjt6n74lz84848
The relevant information from that page is in this bit of javascript

Code:
<script type="text/javascript">
var player = null;
function playerReady(thePlayer) { player = window.document[thePlayer.id]; }
var so = new SWFObject('player.swf','mpl','570','340','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('wmode','transparent');
so.addParam('flashvars','&file=82330.flv&streamer=rtmp://stream1.wisevid.com/flvs&skin=http://wisevid.com/modieus1.swf&stretching=exactfit&autostart=true&abouttext=WiseVid.com&aboutlink=http://wisevid.com');
so.write('player');
</script>
But for the same site there's very little extra work.

Hope you lasted this long, be seeing ya!
Reply With Quote
  #28  
Old 12-16-2009, 11:57 PM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

Re: rtmpdump.com - freeware RTMP stream downloader (MacOS X, Linux, Windows)


In simple cases you should not need to use the -a option; rtmpdump ought to parse the application name out of the rtmp url itself. Sometimes it gets it wrong though, especially with the more obfuscated sites.
Reply With Quote
  #29  
Old 12-25-2009, 12:17 AM
helpdeskdan helpdeskdan is offline
Junior Member
 
Join Date: Dec 2009
Posts: 8
helpdeskdan is on a distinguished road
Default

Re: rtmpdump.com - freeware RTMP stream downloader (MacOS X, Linux, Windows)


Thanks for the guide, the referenced blog is already taken down. Too bad there are not more guides and scripts.
Reply With Quote
  #30  
Old 12-25-2009, 05:31 AM
compn compn is offline
Stream recording expert
 
Join Date: Sep 2006
Posts: 128
compn has a spectacular aura aboutcompn has a spectacular aura aboutcompn has a spectacular aura about
Default

Re: rtmpdump.com - freeware RTMP stream downloader (MacOS X, Linux, Windows)


it moved here: http://constcuriosity.blogspot.com/2...edia-with.html
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 12:49 AM.


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