Hey Samuel and Romain,
Yes that's an embarassing mistake, sorry to bring that one up :)
Martin
On Mon, Sep 10, 2012 at 3:42 AM, Romain Beauxis <[email protected]>wrote:
> 2012/9/7 Martin Konečný <[email protected]>:
> > Hello,
>
> Hi Martin!
>
> > I'm having some trouble getting the following stream to work:
> >
> > liquidsoap
> > 'output.alsa(mksafe(input.http("http://mp36.bbc.streamuk.com:80/")))'
> >
> > Here is the Liquidsoap output:
> >
> > 2012/09/07 17:19:08 [alsa_out(default):3] Using ALSA 1.0.23.
> > 2012/09/07 17:19:08 [alsa_out(default):2] Falling back on interleaved
> S16LE
> > 2012/09/07 17:19:08 [alsa_out(default):3] Samplefreq=44100Hz,
> > Bufsize=1048576B, Frame=4B, Periods=1024
> > 2012/09/07 17:19:08 [decoder:3] Method "MAD" accepted "audio/mpeg".
> > 2012/09/07 17:19:08 [http_4984:3] Decoding...
> > 2012/09/07 17:19:08 [mksafe:3] Switch to http_4984 with transition.
> > 2012/09/07 17:19:08 [http_4984:3] Incorrect stream type!
> > 2012/09/07 17:19:08 [mksafe:3] Switch to safe_blank with forgetful
> > transition.
> > 2012/09/07 17:19:08 [http_4984:2] Feeding stopped: Incorrect stream type!
> > 2012/09/07 17:19:11 [decoder:3] Method "MAD" accepted "audio/mpeg".
> > 2012/09/07 17:19:11 [http_4984:3] Decoding...
> > 2012/09/07 17:19:11 [mksafe:3] Switch to http_4984 with transition.
> > 2012/09/07 17:19:11 [http_4984:3] Incorrect stream type!
> > 2012/09/07 17:19:11 [mksafe:3] Switch to safe_blank with forgetful
> > transition.
> > 2012/09/07 17:19:11 [http_4984:2] Feeding stopped: Incorrect stream type!
> >
> >
> > Playing the stream with mplayer works fine.
> >
> > I looked at the headers returned from the url and it appears to be a
> > shoutcast (icy) stream.
>
> Looks like the stream is mono audio, which is refused by your script.
> You should be able to use audio_to_stereo to convert it to stereo..
>
> Romain
>
--
Open source radio in the cloud. Get yours now! ---> http://airtime.pro
Martin Konecny
Software Developer, Sourcefabric
[email protected]
720 Bathurst St. Suite 203
M5S 2R4, Toronto, ON, Canada
+1 (416) 892-8420 (Cell)
Skype: martin.konecny15
http://www.sourcefabric.org
http://www.twitter.com/Sourcefabric
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users