• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Internet radio  (Read 5396 times)
karurosu
Global Moderator
Full Member
*****

Karma: 0
Posts: 116



View Profile WWW
« on: May 18, 2009, 06:23:10 PM »

Hi, I am looking for some application that can stream internet radio, it should have a CLI and better if it has no GUI.
Any ideas?
Logged

David Avital
Administrator
Newbie
*****

Karma: 5
Posts: 19


View Profile
« Reply #1 on: May 19, 2009, 01:40:08 AM »


There are plenty try here:http://freshmeat.net/search?q=RADIO+stream&submit=Search


-David
Logged

shadowace
Newbie
*

Karma: 0
Posts: 8


View Profile
« Reply #2 on: May 19, 2009, 06:42:22 AM »

I have used Icecast http://www.icecast.org/ for serveral years.  Its pretty simple, entirely command line, but has a http web component to monitor its operation.

Here is a tutorial I used: http://www.yolinux.com/TUTORIALS/LinuxTutorialAudioStreaming.html

Great application.  Good luck.
Logged

karurosu
Global Moderator
Full Member
*****

Karma: 0
Posts: 116



View Profile WWW
« Reply #3 on: May 19, 2009, 10:55:45 AM »

Oh, I am looking to listen to internet radio, not to be a server, basically I want to hook a sound card to the sheeva and use it to listen to music.
Logged

rooster
Guest
« Reply #4 on: May 19, 2009, 10:13:22 PM »

Hi,

I got the mpd running on the plug with USB2AUDIO dongle playing content from USB DOK connected to the plug, controlled via relaxx (PHP+AJAX) web GUI.
If you wana stream radio streams via your USB2AUDIO dongle look @ http://www.nabble.com/Play-internet-radio-on-slug-audio-dongle--td21496649.html description.

I will later on post on the wiki the steps to make it all happen
Logged

karurosu
Global Moderator
Full Member
*****

Karma: 0
Posts: 116



View Profile WWW
« Reply #5 on: May 24, 2009, 12:00:37 AM »

Following the guide in the plug I managed to have mpd working perfeclty, however audio quality is just plain horrible. There is a crackling noise all the time, reading a bit it seems to be caused by the poor quality of the resampler (due to the lack of FP in the sheeva)
So my question, what can I do to remove it? I tried with different resamplers, removed volume adjusting and I can't get rid of the noise.

The odd part is that madplay works just fine :/

Update: tried with the mpd bundled with ipkg and it worked perfectly. But I dont want that build, its messy and doesn't have init script.
Any tip to build mped?

Just for the record: I built it without libresample, then removed the volume mixer, finally used OSS instead of alsa and it worked.
Dunno why it made a difference, but its good that its working now.
« Last Edit: May 24, 2009, 12:57:57 AM by karurosu » Logged

rooster
Guest
« Reply #6 on: May 24, 2009, 11:37:38 AM »

I did not notice any artifacts in the source quality while playing MP3 files. It seems strange that playmad works fine and mpd does not, verify that mpd uses libmad shared libraries in the /proc/$PID/maps.

I have used libmad in the past with mplayer and it worked great, the best part in libmad is that it supports ARM and uses fixed point to reduce CPU load.
Logged

karurosu
Global Moderator
Full Member
*****

Karma: 0
Posts: 116



View Profile WWW
« Reply #7 on: May 24, 2009, 12:32:17 PM »

libmad is loaded ,and with oss output it works just fine Smiley
Any good radio playlist ? maybe some aggregate?
Logged

levrin
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #8 on: June 08, 2009, 10:31:13 AM »

It seems like your ALSA setup is trying to use dmix, which tries to resample everything to 48khz even if it doesn't need to. You probably need to declare the specific hardware device in the mpd config. See http://mpd.wikia.com/wiki/Tuning#ALSA_dmix
Logged

karurosu
Global Moderator
Full Member
*****

Karma: 0
Posts: 116



View Profile WWW
« Reply #9 on: June 08, 2009, 11:15:33 AM »

Thanks for the tip, I'll check it.

Any ideas on the radio listing?

Thanks
Logged

guidol
Full Member
***

Karma: 10
Posts: 128



View Profile
« Reply #10 on: June 12, 2009, 11:39:48 AM »

Any ideas on the radio listing?

I did try the following under debian lenny  on my sheevaplug:

mpg123 with the following command to use the pipe-input from wget into mpg123
wget -O - http://gffstream.ic.llnwd.net/stream/gffstream_mp3_w67a | mpg123

but mpg123 has some flaky sound
(doesnt seem to resampe to 48khz, which is needed by my iMic USB-Card)

but Internet-Radio works fine for me with the mplayer without the flaky sound
because mplayer does resampling (see above) to 48khz

HR1 direct (german)
mplayer http://gffstream.ic.llnwd.net/stream/gffstream_mp3_w67a

HR1 via Playlist (german)
mplayer -playlist http://metafiles.gl-systemhaus.de/hr/hr1_2.m3u

OlayFM via Playlist (turkish)
mplayer -playlist http://yayin5.yayindayiz.biz:8195/listen.pls

alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
Building audio filter chain for 44100Hz/2ch/s16le -> 48000Hz/2ch/s16le...

« Last Edit: June 12, 2009, 01:39:40 PM by guidol » Logged

Pages: [1]
Print
Jump to: