From UnwelcomeGuests
Most audio on the web is MP3 files at addresses which begin http://. This should present no problem. Just use right-click, 'Save As'...
YouTube
A handy site for ripping audio from YouTube videos: http://dirpy.com/
Unusual Protocols - rtsp:// , mms://
Linux
You'll have to have installed win32codecs ("sudo apt-get install win32codecs"):
mplayer -dumpaudio -dumpfile ripped-file.rm rtsp://128.104.248.78:554/wpr/dun/dun050412d.rm?cloakport=8080,554,7070
This will discard the video stream. If you want that, use 'dumpstream' instead
File Formats
Linux
To convert from video to MP3:
ffmpeg -i input-file.mp4 -vn -o output-file.mp3
ffmpeg has a lot of options, including:
- -ab <bitrate> Set the bitrate (default=64k)
- -ac <#channels> Set how many channels (default=1, mono)
- -ar <freq> Set sampling frequency (default=44100Hz)
- -vn Discard the video