Home » Questions » Computers [ Ask a new question ]

Looking for a Linux stream ripper that can be scheduled

Looking for a Linux stream ripper that can be scheduled

I have an MP3 stream I want to schedule a recording of. I can do it using wget to a file, its just a straight mp3 stream. However I'd like to use a command line stream ripper that will do a better job. Any one know of one?

Asked by: Guest | Views: 331
Total answers/comments: 2
Guest [Entry]

"You can use cron to kick off VLC at a specified interval, and instruct it to do only a partial extract. Something like:

vlc --start-time=0 --stop-time=60.0

That will start it at 0s in the stream (you could probably leave it out), then stop after 60 seconds. You would need other options to specify your input stream and output file.

See the Wiki Command Line page for additional options."
Guest [Entry]

"I'd like to recommend http://streamripper.sourceforge.net/

It does not require/offer a graphical front end and it is more light weighted than VLC or mplayer. When run without special parameters it autodetects and writes tracks to individual files. To save a stream at ${URL} to a single file ${MYSTREAM} for ${SECONDS} use e.g.

streamripper ${URL} -a ${MYSTREAM}_%D -A -l ${SECONDS}

Add --quiet for silent operation."