[ http://dev.sourcefabric.org/browse/LS-631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=29602#action_29602 ]
Robbt commented on LS-631: -------------------------- I had a similar issue with this in Airtime, this was for a shoutcast stream that was mono. I changed the stream to stereo and liquidsoap played it fine. I'm cross-linking the bug reports here is the Airtime one http://dev.sourcefabric.org/browse/CC-4760. Within the context of the airtime liquid soap script things went really awry after it got the error, liquidsoap basically froze becoming unresponsive to the telnet interface and having 100% CPU utilization. When I simply tried to play the script via the CLI it just gave the error about 2012/12/27 23:02:14 [clock.wallclock_alsa:2] Source alsa_out(default) failed while streaming: Audio_converter.Samplerate.Invalid_data!. The bad part was freezing liquid soap in airtime, but perhaps that is just a fault in their script where it doesn't deal with this error in the first place. So I just wanted to throw out what I could. Switching the stream to stereo appears to have fixed it though. > Incorrect typing of channels for input.http > ------------------------------------------- > > Key: LS-631 > URL: http://dev.sourcefabric.org/browse/LS-631 > Project: Liquidsoap > Issue Type: Bug > Reporter: Samuel Mimram > Priority: Major > > The following was reported on the mailing list! > 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! > The "incorrect stream type" error comes from generator.ml and is due to the > fact that we get only one audio channel (the BBC stream is mono) whereas we > expect two (stereo). This should either > - have been detected at typing type > - have produced a better error message > - (my prefered for now) have produced a stereo stream > The snippet above can of course be corrected by inserting an audio_to_stereo > but the user has no idea about it from the error message... > More generally, while the typing of audio channels is theoretically nice, it > seems to have produced a lot of errors for not much for now. My point of view > is that at least conversion mono -> n channels should be implicit... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://dev.sourcefabric.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ Savonet-devl mailing list Savonet-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-devl