Tuesday, October 18, 2005

Using MPlayer OSX to record streaming video

This works great for saving streams to your hard drive. This is a simple two step process. You'll need MPlayer OSX from Hungary for this to work.

You'll need to find the mplayer binary in your Applications folder and symlink to it for easy access.

ln -s "/Applications/MPlayer OSX.app/Contents/Resources/External_Binaries/ mplayer.app/Contents/MacOS/mplayer" ~/mplayer

That command creates a link to mplayer in your home directory.

Next, download the video!

~/mplayer -dumpfile ~/Desktop/test.rm -dumpstream rtsp://somesite.com/somefeed.rm

Be sure not to try to save a feed that ends in .ram or .asx because that is not where the content is. You must first download that .ram or .asx file and get the link to the .rm or .wmv file that's inside that file.

To stop the video download, you just run: killall -9 mplayer

3 Comments:

At 10:13 PM , Anonymous Anonymous said...

for the love of all that is good thank you for posting this. I have a linux background and I wanted to use mplayer to dumpstream in OSX but didn't know where to find the mplayer executable. Your post just made me a shell script.

 
At 4:52 AM , Anonymous Anonymous said...

If saving a radio stream from the BBC, leave the SSO2-UID cookie off the URL. It confuses mplayer. "It's used to allow you to be automatically signed in to a bbc.co.uk service which you have previously registered for."

 
At 6:28 AM , Blogger Pigumon said...

So is there a way to record a streaming video from a site like Hulu? I can't seem to figure out the correct address to put in. I was using VLC to do it and it asked for UDP@

any ideas?

he's the specific link if you're interested.

http://www.hulu.com/watch/43046/galaxy-railways-sacrifice

thanks!

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home