diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2010-02-09 10:15:31 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2010-02-09 10:15:31 +0000 |
commit | c9012bfc0f56f8f9abba721d15b4c36e12a1db6d (patch) | |
tree | 7004f60abaf678bb5e18224e08c61c2b4ad39489 | |
parent | 652aa5d4fa6c09651584fa44b63a5f7e04d66af6 (diff) |
Insert icecast line that work.
-rwxr-xr-x | frikanalen/bin/scheduler | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frikanalen/bin/scheduler b/frikanalen/bin/scheduler index 491e84d..e262702 100755 --- a/frikanalen/bin/scheduler +++ b/frikanalen/bin/scheduler @@ -394,11 +394,12 @@ sub vlc_start { # Icecast server my $icecastserver = "voip.nuug.no:8000"; + my $icecastuser = "source"; my $icecastpasswd = "secret"; # Only work if 'vlc -l | grep access_output_shout' list # support for streaming to an icecast server. -# push(@vlcargs, "--sout='#duplicate{dst=display,dst=\"transcode{vcodec=theo,vb=256,acodec=vorb,ab=64,vfilter=canvas{width=320,height=240,canvas-aspect=4:3}}:standard{mux=ogg,dst=source:$icecastpasswd\@$icecastserver/live.ogv,access=shout}\"}'"); +# push(@vlcargs, "--sout=#duplicate{dst=display,dst=\"transcode{vcodec=theo,vb=256,acodec=vorb,ab=64,vfilter=canvas{width=320,height=240,canvas-aspect=4:3}}:std{mux=ogg,dst=source:$icecastpasswd\@$icecastserver/live.ogv,access=shout}\"}"); print "starting VLC: vlc ". join(" ", @vlcargs) . "\n"; my $os = `uname -s`; |