Cool.
Just for fun I gave this a shot
mono_source = mean(full)
output.icecast(
%mp3(samplerate=22050,bitrate=64),
host = "localhost", port = 8000, mount = "/1.64.mp3",
password = "wel0v...@st!", description = "Brandon's Test",
restart = true, restart_delay = 10,
genre = "Stuff",
mono_source)
But I get the following error. I'm having a little trouble understanding it.
I'm obviously not passing in the right params. I'm still trying to
understand how all the parts in V 1 fit together.
ERROR: This script is not well typed!
At line 108, char 15:
this value has type
(?id:string, ?fallible:bool, ?on_start:(()->unit), ?on_stop:(()->unit),
?start:bool, ?restart:bool, ?restart_delay:int, ?mount:string, ?name:string,
?protocol:string, ?host:string, ?port:int, ?user:string, ?password:string,
?genre:string, ?encoding:string, ?url:string, ?description:string,
?on_connect:(()->unit), ?on_disconnect:(()->unit), ?public:bool,
?headers:[(string*string)], ?icy_metadata:string, ?format:string,
?dumpfile:string, format(audio=2,video=0,midi=0),
source(audio=2,video=0,midi=0))->source(audio=2,video=0,midi=0)
but it should be a subtype of
(format(audio=2,video=0,midi=0), ?host:string, ?port:int, ?mount:string,
?password:string, ?description:string, ?restart:bool, ?restart_delay:int,
?genre:string, source(audio=1,video=0,midi=0))->?A
On Sun, Dec 19, 2010 at 12:33 PM, David Baelde <[email protected]>wrote:
> Hi Brandon,
>
> I'm surprised, stereo=false should have worked
> (http://savonet.sourceforge.net/doc-svn/encoding_formats.html). In
> fact I just tested it:
>
> $ ./src/liquidsoap -i 'fmt = %mp3(stereo=false)'
> fmt : format(audio=1,video=0,midi=0)
> No output defined, nothing to do.
>
> Your problem is likely due to the "full" source being a stereo source
> (this would be forced by a stereo output). You can solve this by
> passing it to the mono output through the mean() operator.
>
> HTH
>
> David
>
--
=========================================
Brandon Casci
Loudcaster
http://loudcaster.com
=========================================
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users