Record Internet Radio from Linux Console

Technically, this ugliness helps to realize Mplayer, which knows a lot from the console. In addition to playing music, Mplayer can record radio stations (and you do not need to listen to them during recording).

First you need to have this player installed. On the Ubuntu operating system, this is done with the following command:
sudo apt-get install mplayer

In order to record a radio station, you need to run the following command in the console:
mplayer http://radiosibir.ru:8090/HQ -dumpstream -dumpfile recorded_music_sibir.mp3 -vc dummy -vo null

Here:
radiosibir.ru : 8090 / HQ - link to the radio stream;
recorded_music_sibir.mp3 - the file to which we will record.

By the way, this whole thing can be put on some convenient key combination. Thus, we get the easy ability to record Internet radio in Linux in the background.

Also popular now: