Stream online radio from terminal
Hi, I was trying to use gstreamer to stream some online radio from the command line.
However, neither
gst-launch-0.10 -v playbin2 uri=http://www.deutschlandradio.de/streaming/dlf.m3u
nor
gst-launch-0.10 souphttpsrc location=http://www.deutschlandradio.de/streaming/dlf.m3u alsasink
or any combination thereof appeared to work. There does not appear to be any element capable of establishing http pipelines. In fact
gst-inspect-0.10 | grep http
yields nothing.
I also tried replacing the link to the m3u file with the more explicit
http://stream.dradio.de/7/249/142684/v1/gnl.akacast.akamaistream.net/dradio_mp3_dlf_m
but without success.
Question: How can we use gstreamer to stream a remote m3u file from the command line?
The *-0.10 commands are all that I have available on my phone (Sailfish OS 2.0.5.6 Haapajoki).
Eds ( 2017-01-29 20:34:01 +0200 )editjust install gstreamer1.0-tools and do not try to connect gstreamer-0.10 to internet...
lpr ( 2017-01-30 14:32:17 +0200 )edit
lpr ( 2017-01-30 14:35:18 +0200 )edit> gst-inspect-1.0 | grep http
->curl: curlhttpsink: Curl http sink soup: souphttpsrc: HTTP client source soup: souphttpclientsink: HTTP client sink
I just tried on my JollaC (with gstreamer 1.0), got it working using the command:
Also, it's strange that you got the old gstreamer 0.10 installed, maybe you installed it from openrepos.net.
ced117 ( 2017-01-30 19:54:23 +0200 )editThanks, installing gstreamer1.0 solved the problem.
Eds ( 2017-01-31 00:20:39 +0200 )edit