fixit, I tried this with liquidsoap-1.0.0 and 1.0.1 on a raspberry pi running Debian Squeeze. Dependencies, where required, were installed through debian repos.
I tried streaming a 64k mono mp3 using sine() as the input source to an icecast server. CPU was maxed at 95-100%, and the log was filled with "We must catchup x seconds!" until it restarted at 60 seconds. So it looks like that won't work, the CPU isn't powerful enough. To expand a little on Romain Bauxis' earlier post: Encoding with vorbis worked, but only with a quality of 0.1, in mono, sample rate of 16khz, with CPU utilisation of 90%, after spending about 15 seconds 'catching up' once the stream was started. So no good for decent sound quality. Encoding using %wav used far less CPU time and the stream stayed up, but I couldn't open it, with vlc giving an error of Header missing (It played fine when the script was run from a desktop). Perhaps a configuration error on my part? (I did have trouble make installing). Encoding with flac worked well, with 50% CPU utilisation in mono and 8 bits per sample, increased to 85% usage in stereo, 16 bits per sample. 44khz, compression 5 for both those tests. These were not tested for any great length of time. (Less than 10 minutes) MP3 icecast streams play fine. I have had it set up playing a 192kbps MP3 icecast stream out of a USB sound card for several hour stretches at around 40% CPU utilisation (I was having difficulties with the internal sound hardware, it kept suffering underrun after an hour or so, as did mplayer). I help out at a student radio station, where we had the idea of using Raspberry Pi's in campus bars to play our online stream, so the RPi + liquidsoap is looking promising from this point! Hope this helps Anthony On 16/07/12 12:59, fixit wrote: > Any idea if a single 64kb mono MP3 using darkice is achievable? > > > Dave Pascoe<davekm3t@...> writes: > > >> >> I haven't tested Liquidsoap on the Raspberry Pi yet, but I can confirm that >> > two instances of Darkice streaming 16kb/s MP3 streams is not an issue. A > third *might* be possible but it will be close CPU-wise. > >> >> >> >> Dave >> > > > > > ------------------------------------------------------------------------------ > 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 > Savonet-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/savonet-users > ------------------------------------------------------------------------------ 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 Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users