PDA

View Full Version : stream rippers, how do they work?



TreeFinger
January 12th, 2009, 12:57 AM
how do applications that rip music off of internet radio stations work?

slavik
January 12th, 2009, 03:19 AM
it's a player that instead of sending the data to the audio subsystem, saves it to a file.

TreeFinger
January 12th, 2009, 09:12 PM
it's a player that instead of sending the data to the audio subsystem, saves it to a file.


This interests me. Where can I start to write my own program to do this?

SledgeHammer_999
January 12th, 2009, 09:35 PM
Hmmm the easier method IMO is gstreamer. Just construct a pipeline that plays a radiostation but the final "elemant/plugin" in the pipeline(preferably before any decoding takes place) should write to disc and NOT send data to the audio system. Take a look at "filesink" element.

lswb
January 12th, 2009, 09:44 PM
This interests me. Where can I start to write my own program to do this?

You could take a look at the code for an open source program like streamripper at

http://streamripper.sourceforge.net/