Page 1 of 1

Help with batch files to autostart ogg and mp3 stream

Posted: 05 Feb 2015 15:24
by kevinspage
Streaming works fine when I manually start but I cant get the batch files to work. Please Help!
listen at www.kevinspage.com

Batch files:
@echo off
start C:\Progra~1\VideoLAN\VLC\vlc.exe dshow:// :dshow-vdev= none :dshow-adev= Stereo Mix (2- BEHRINGER USB WD :live-caching= 300 :sout= #transcode{vcodec= none,acodec= mp3,ab= 128,channels= 2,samplerate= 44100}:duplicate{dst= http{mux= mp3,dst= :8080/},dst= display} :sout-all :sout-keep

@echo off
start C:\Progra~1\VideoLAN\VLC\vlc.exe dshow:// :dshow-vdev= none :dshow-adev= Stereo Mix (2- BEHRINGER USB WD :live-caching= 300 :sout= #transcode{vcodec= none,acodec= vorb,ab= 128,channels= 2,samplerate= 44100}:duplicate{dst=http{mux= ogg,dst= :8081/},dst= display} :sout-all :sout-keep

Command lines copied from the two instances I start manually that work fine:
:dshow-vdev=none :dshow-adev=Stereo Mix (2- BEHRINGER USB WD :live-caching=300 :sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=http{mux=mp3,dst=:8080/},dst=display} :sout-all :sout-keep

:dshow-vdev=none :dshow-adev=Stereo Mix (2- BEHRINGER USB WD :live-caching=300 :sout=#transcode{vcodec=none,acodec=vorb,ab=128,channels=2,samplerate=44100}:duplicate{dst=http{mux=ogg,dst=:8081/},dst=display} :sout-all :sout-keep

Re: Help with batch files to autostart ogg and mp3 stream

Posted: 09 Feb 2015 10:55
by stm_tech
I am having exactly the same issue, starting the stream from a batch file. Not had any help from the forum.

Re: Help with batch files to autostart ogg and mp3 stream

Posted: 13 Feb 2015 14:22
by stm_tech
Hi Kevinspage, I hope that you don't mind, but after failing to get an answer on here I had a look around and found a program called BUTT (Broadcast Using This Tool) it worked perfectly and will auto connect to the icecast server on startup. Really easy to use.