Hi Matt!

2012/5/13 Matt Camp <[email protected]>
>
> I've been playing with getting LiquidSoap up and running on the Raspberry Pi 
> with the goal of possibly building a small embedded stream encoder, but 
> having finally gotten everything recompiled for ARM it seems that the poor 
> little rpi just doesn't have enough grunt.

This is a very cool project. I'm still waiting on my own Raspberry Pi
to start toying around too!

> I'm seeing continuous 'we must catch up xx seconds!' log entries until it 
> finally hits 60 seconds and restarts the source, using aacplus encoder from a 
> playlist (containing a single mp3 file currently, though goal is to encode 
> live audio) streaming to an icecast server.
>
> Any tips on how to tune liquidsoap to use less CPU?
>
> I'm only really after live audio encoding from a connected USB audio 
> interface, and streaming to icecast.

David is right, you should first try with no encoding, output.dummy or
output.icecast(%wav, ...). The next encoder I have in mind is flac
which I think does not use much CPU. After that, ogg. mp3 and aacplus
are probably about the same.

I am surprised, though, that one encoding process would be too much.
You could also see if your problem could come from either the network
connection or the sound card. In each case, it should be very easy to
setup a script that has a dummy end for that, for instance:

  output.icecast(%mp3, ..., blank())
  output.file(%mp3, ..., "/dev/null", ..)

Etc..

Good luck, please let us know what bottleneck you identify..
Romain

------------------------------------------------------------------------------
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

Reply via email to