---------- Forwarded message ----------
From: Facundo Suárez <[email protected]>
Date: 2011/12/29
Subject: Re: [Savonet-users] Recording a stream with a stereo to mono conversion
To: [email protected]


2011/12/29  <[email protected]>:
> David Baelde <[email protected]> a écrit :
>
>> On Thu, Dec 29, 2011 at 10:43 AM,  <[email protected]> wrote:
>>> I've used "ouput.file" to do this and this is now working well except
>>> for the conversion from stereo to mono: when I use "stereo=false" or
>>> "mono=true", my script hangs up.
>>
>> By "hangs up" you probably mean that it issues a type error. This is
>> because you're plugging a stereo source to a mono output. You need to
>> use an explicit conversion here:
>> output.file(%mp3(mono=true),"blah",mean(source)). The reason why it is
>> explicit is that there is a choice: here I used a combination (mean)
>> of the two channels into one, but you could want to drop the right
>> channel and keep the left one.
>>
>> Cheers,
>>
>> David

I don't know if this will help, or if i understood ok. But what i do
to stream to a mono source, form an stereo source, i setup mono in mp3
output type, but insert the "mean" option output setup stream. Details
below:

output.icecast(%mp3(bitrate=24,samplerate=22050,mono),
host = "giss.tv",
port = 8000,
password = "-----",
mount="/------.mp3",
amplify(0.7,override="replay_gain",mean(source)))


>>
>
> Many thanks, I'll try this tonight...
>
> Fred
>
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users



--
Facundo Suarez
Neuquen - Capital
suarezjf -> twitter

()  ascii ribbon campaign - contra el coreo html
/\  www.asciiribbon.org   - contra adjuntos propietarios


-- 
Facundo Suarez
Neuquen - Capital
suarezjf -> twitter

()  ascii ribbon campaign - contra el coreo html
/\  www.asciiribbon.org   - contra adjuntos propietarios

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to