Hi, a happy new year!
Mostly we stream stereo but sometimes some sources are mono. In the past we got "Incorrect stream type!" and fails, but then there was the audio_to_stereo invention. I upgraded to latest hg and tried to switch from a stereo to a mono stream by using the audio_to_stereo operation applied to all sources. Unfortunately this does not help and fallback is played as without audio_to_stereo. Error messages is same as without audio_to_stereo: "Incorrect stream type!" Do you have any idea? station1.url http://mp3-live.swr.de/swr1bw_s.m3u station1.url.play config: station1 = input.http(id="station1", "http://localhost:8000/default1") # stereo stream station2 = input.http(id="station2", "http://localhost:8000/defaul2") # stereo stream net_outage = mksafe(single(id="net_outage", "var/media/outage.mp3")) station1 = audio_to_stereo(station1) station2 = audio_to_stereo(station2) net_outage = audio_to_stereo(net_outage) radio = fallback( id="http_input fallback", track_sensitive=false, [ station1, station2, net_outage ] ) output.alsa(device="pcm.liquidsoap",radio) output.dummy(fallible=true, station1); output.dummy(fallible=true, station2); ... output.icecast( %vorbis.cbr(samplerate=44100, channels=2, bitrate=160), %include "icecast.inc", # restart=true, radio ) logs: 2012/01/02 14:55:15 [decoder:3] Method "MP3" accepted "audio/mpeg". 2012/01/02 14:55:15 [station1:3] Decoding... 2012/01/02 14:55:16 [station1:3] New metadata chunk: ? -- . 2012/01/02 14:55:16 [station1:3] Buffer overrun: Dropping 0.01s. ... 2012/01/02 14:55:16 [station1:3] Buffer overrun: Dropping 0.03s. 2012/01/02 14:55:16 [station1:3] Incorrect stream type! 2012/01/02 14:55:16 [http_input_fallback:3] Switch to fallback_4969 with forgetful transition. 2012/01/02 14:55:16 [station1:2] Feeding stopped: Incorrect stream type! 2012/01/02 14:55:16 [dummy:3] Source failed (no more tracks) stopping output... 2012/01/02 14:55:18 [decoder:3] Method "MP3" accepted "audio/mpeg". ... btw, whats the right replacement for "restart=true," in output.icecast? Thanks & BR, Peter ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
