I was thinking about this a little more and I guess there is a two stage
process?


So assuming we have a icecast vorbis output, and we input an mp3, the first
stage is to convert that mp3 to vorbis.

The second stage is to upconvert or downconvert the bitrate according to
our preference.

So when I don't specify the bitrate, the second stage is never run
resulting in a lower CPU %.

If this is correct, than what is the default output bitrate of the first
stage?

Martin

2012/3/6 Martin Konečný <[email protected]>

> Hi,
>
> I was looking into why Liquidsoap was taking such a high CPU % on my test
> machine. Right now with our custom script Liquidsoap takes 25% CPU. When I
> replace
>
> output(%vorbis.cbr(bitrate = 160),s)
>
> with
>
> output(%vorbis,s)
>
> The percentage drops to 8%.
>
> So my question is as follows: What is so special about setting the bitrate
> that causes Liquidsoap to use more CPU? I'm assuming by that Liquidsoap has
> some default bitrate set for when it's outputting to icecast, so both cases
> should have consistent CPU percentage.
>
> I was reading here:
>
> http://savonet.sourceforge.net/doc-1.0.0/encoding_formats.html
>
> But couldn't find any information about a default value.
>
> Am I wrong in assuming that Liquidsoap encodes everything to some default
> bitrate?
>
> Martin
>
> --
> 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
>
>


-- 
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
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to