Capturing streaming audio and video
26 October 2005

Status

  • Capture streams often works
Capture streams

Software and guides

Mimms

mimms mms://wms.itea.ntnu.no/info/NTNU_exorcisten.wmv
Very elegant. Captures the file in a console. For rtsp, it looks like you need mplayer.

Mplayer

For stations that stream mp3, you can use the URL as a playlist:
mplayer -cache 512 -playlist http://66.225.205.75:80/listen.pls
On 10 December 2005, I downloaded and customized for spello and clitunno a paired set of scripts for capturing NPR streams:
spello# npr-grabber.sh -m -o WESAT
to download the latest Weekend Edition on Saturday and convert to mp3 and ogg. The scripts don't work on clitunno -- there's a problem with the download, and I haven't taken the time to debug.

For sound files in .ra, .ram, and .wmw, capture to wav (this is what npr-grabber does):
 mplayer -nocache -vc null -vo null -ao pcm:waveheader
 -ao pcm:file=<filename.wav> <url.rm>
For rtsp video, use dumpstream (for mms streams, use mimms as above):
mplayer <url> -dumpstream -dumpfile <name> (default name is something like dump.stream)
For instance:
mplayer rtsp://real.npr.na-central.speedera.net:80/real.npr.na-central/atc/20041124_atc_12.rm
-dumpstream -dumpfile bittorrent.wav
Trevi works if you use mplayer32, or you may need to do it in chroot.

For details, see http://gentoo-wiki.com/HOWTO_Rip_Streams_With_MPlayer

Timeshifting NPR's news programs: http://phiwumbda.org/~jesse/shell/NPR.html

The site has instructions for how to use the npr-grabber.sh script, which I've
modified to work with a recent mplayer (and with /ssa/) and placed on spello.




 

 

top
Debate
Evolution
CogSci

Maintained by Francis F. Steen, Communication Studies, University of California Los Angeles


CogWeb