2012/12/14  <[email protected]>:
> Hi Romain,

Hi!

> See #4.
>
>
>
> On Fri, 14 Dec 2012 10:57:59 -0500, Romain Beauxis <[email protected]>
> wrote:
>
>> 2012/12/13  <[email protected]>:
>>>
>>> Hi,
>>
>>
>> Hi there!
>>
>>> Very soon I will be upgrading from LS 0.92 to LS 1.0.0.2.
>>> I have a couple of questions to help me prepare the liq scripts before I
>>> commit:
>>>
>>>
>>> 1. In the new output.icecast(%mp3..., source) 'restart=true' has been
>>> deprecated to 'on_error'.
>>>     Do I need to explicitly declare it in the output code, or does it
>>> automatically default to '3.'?
>>
>>
>> It defaults to 3., which means restart on error after waiting for 3
>> seconds.
>>
>>> 2. In the new output.icecast(%mp3..., source) 'stereo=false' has been
>>> deprecated to 'channels=1' -- is this correct?
>>
>>
>> Correct. All audio parameters have been moved to the %encoder. Also,
>> %mp3(channels=1) is equivalent to %mp3(stereo=false)
>>
>>> 3. In the new output.icecast(%vorbis..., source) 'stereo=false' has been
>>> deprecated to 'channels=1' -- is this correct?
>>
>>
>> Same response as above :-)
>>
>>> 4. In the new output.icecast(%vorbis..., source) would you know the
>>> 'quality=0.xx' for 32 kbps and 64 kbps bitrates?
>>
>>
>> Vorbis encoding works in 3 distinct modes:
>> * Quality-based
>> * Variable bitrate-based
>> * Fixed bitrate-based
>>
>> If you use quality setting then you do not have control over the
>> resulting bitrate. If you use variable bitrate, you can only assume
>> that bitrate falls into a given internal (max/min bitrate)
>
>
> OK. So if I use fixed bitrate, it would read:
>
>     output.icecast(%vorbis(samplerate=44100, channels=1,
> bitrate=32),..,source)
>
> Is this correct?

Contrant bitrate vorbis encoder is named %vorbis.cbr so that would be:

output.icecast(%vorbis.cbr(samplerate=44100, channels=1, bitrate=32),..,source)

By the way, in 1.x versions, liquidsoap has a strict check for
mono/stereo sources. In the above, only mono tracks would work. If you
want to plug any source to this output, you'll need to make them mono
by doing:

output.icecast(%vorbis.cbr(samplerate=44100, channels=1,
bitrate=32),.., mean(source))

R.

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to