Revision as of 14:59, 13 August 2012 by Perspectoff
- Streamripper is a standalone command-line utility to record online audio streams (primarily from Shoutcast). Install:
sudo apt-get install streamripper
- Read the instructions from the command line:
- Find out the URL (e.g. http://126.96.36.199:8028) of the streaming broadcast you wish to record (either from Shoutcast or through Amarok, for example). Make sure your firewall is open for the relevant port (in the example port 8028).
- Start Streamripper, saving the files to your chosen directory (e.g. /home/user/recordedmusic):
streamripper URL -d /home/user/recordedmusic
- or, in the example:
streamripper http://188.8.131.52:8028 -d /home/user/recordedmusic
- The most common problem with captures is the break point between songs. It may be necessary to adjust the breakpoint.
- Each of my songs contain about 2 seconds (2000 milliseconds) of the previous song. How can I fix this?
streamripper URL -d /home/user/recordedmusic --xs_offset=2000
- Each of my songs contain about 2 seconds (2000 milliseconds) of the next song. How can I fix this?
streamripper URL -d /home/user/recordedmusic --xs_offset=-2000
- Each of my songs contain between 5 and 10 seconds of the previous song, but it depends on the song. How can I include all of this zone within both songs, and edit them later?
streamripper URL -d /home/user/recordedmusic --xs_offset=7500 --xs_padding=2500:2500
- Use Audacity to edit the ripped audio file.
- Make sure to read all the instructions:
- If a song occurs twice in a stream, the default behaviour is to write both songs, numbering the duplicates (the -o version option). If you wish to instead only keep the largest copy of a song (assuming the smaller copies are truncated in some way by the break point algorithm), then use the -o larger option. This will overwrite the original copy of the song only if the new copy is larger. Example:
streamripper http://184.108.40.206:8028 -o larger -d /home/user/recordedmusic --xs_offset=2000 --xs_padding=3000:3000
- Streampripper identifies itself as "Streamripper/1.x" in the http request. If you wish some privacy and to specify a different user agent, use the -u useragent option. For example:
streamripper URL -d /home/user/recordedmusic -u SimplePlayer/1.x -o larger --xs_offset=2000 --xs_padding=3000:3000