<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Since a couple of days I tried to play sound and stream radio with gstreamer on my raspi B2</div>

<div>It seems to be a perfect solution for my project as i plan to listen to the microphone (like siri, alex, google, etc.) in the next step</div>

<div> </div>

<div>Unfortunatey I stocked with the internet radio!</div>

<div> </div>

<div>Saving the radio stations mp3 is successfull</div>

<div>--> gst-launch-1.0 -v souphttpsrc location=http://wdr-wdr2-rheinland.icecast.wdr.de/wdr/wdr2/rheinland/mp3/128/stream.mp3 ! filesink buffer-size=1024 location=./radio.mp3</div>

<div> </div>

<div>Playing the mp3 file is successfull, too:</div>

<div>--> gst-launch-1.0 -v filesrc location='./radio.mp3'  ! mad ! audioconvert ! volume volume=0.1 ! alsasink</div>

<div> </div>

<div>But the combination fails in every combination of parameters</div>

<div>--> gst-launch-1.0 -v souphttpsrc location=http://wdr-wdr2-rheinland.icecast.wdr.de/wdr/wdr2/rheinland/mp3/128/stream.mp3 ! mad ! audioconvert ! volume volume=0.1 ! alsasink</div>

<div> </div>

<div>"souphttpsrc" and "mad" failed to connect with the message</div>

<div>streaming task paused, reason not-negotiated (-4)</div>

<div> </div>

<div> </div>

<div>Does anyone has a clue?</div>

<div> </div>

<div>Thanks in advance,</div>

<div>Piet</div>

<div> </div>

<div> </div>

<div> </div>

<div>The (german) message ist:</div>

<div> </div>

<div>Leitung wird auf PAUSIERT gesetzt ...</div>

<div>Leitung läuft vor …<br/>
/GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0.GstPad:src: caps = "application/x-icy\,\ metadata-interval\=\(int\)16000"<br/>
/GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0.GstPad:src: caps = "application/x-icy\,\ metadata-interval\=\(int\)16000\,\ content-type\=\(string\)audio/mpeg"<br/>
FEHLER: Von Element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Interner Fehler im Datenfluss.<br/>
Zusätzliche Fehlerdiagnoseinformation:<br/>
gstbasesrc.c(2933): gst_base_src_loop (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:<br/>
streaming task paused, reason not-negotiated (-4)<br/>
FEHLER: Leitung läuft nicht vor.<br/>
Leitung wird auf NULL gesetzt ...<br/>
/GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0.GstPad:src: caps = "NULL"<br/>
Leitung wird geleert ...<br/>
<br/>
<br/>
 </div>
</div></div></body></html>