Saving Real Media streams

I like to watch Berkley’s stream lectures. I do not like to have to start
at the beginning of a lecture and wait for the buffer to catch up to where I
was last time before I got interrupted. After some googling I was able to find
out how to save real media streams with mplayer.

Bellow is a bash script I wrote in order to download EE 140

-bandwidth 2000000 set the download rate to 2Mbps without this data downloads
in real time which means it takes 60 minues to download a 60 minute lecture.
-cache 3000 is useful because you are downloading a lot faster than real time
-noframedrop and -dumpfile should be pretty self explanatory
-rtsp is the proprietary protocol which real media streams with
$url is taken from inspecting the .rm files

As far as I know this method can be employed for any streaming media mplayer
can playback. I haven’t tried it on anything except the Berkley lectures.

Refereces: <– howto stream audio only