gstreamer

play radio stream with gstreamer

Posted on

Due to the fact that I started to play with gstreamer I have needed audio video inputs.

as we know the best source for such content is the NET I just search for some radio streams and found two Austrian local senders.

Ö3 http://oe3.orf.at/ => mms://gcssrv.pkf.speednet.at/WSX/oe3_live

88.6 http://886.at/   => http://radiostream.de/stream/36795.pls

For  Ö3 it is easy,  just use on gentoo:

gst-launch-0.10 -v playbin2 uri=mms://gcssrv.pkf.speednet.at/WSX/oe3_live

If you have another distribution maybe it is enough gst-launch.

For the 88. 6 is it a little bit difficulty, due to the fact that the link is a multimedia playlist.

  1. get the content of the pls file
curl -s http://radiostream.de/stream/36795.pls|egrep File
  1. take one of the streams and handover it to the gstreamer
gst-launch-0.10 -v playbin2 uri=http://ber.radiostream.de:36795

That’s it, have fun 😉

Advertisements