Help with batch files to autostart ogg and mp3 stream

About encoding, codec settings, muxers and filter usage
kevinspage
New Cone
New Cone
Posts: 4
Joined: 24 Oct 2014 17:19

Help with batch files to autostart ogg and mp3 stream

Postby kevinspage » 05 Feb 2015 15:24

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

stm_tech
New Cone
New Cone
Posts: 6
Joined: 17 Jul 2014 16:00

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

Postby stm_tech » 09 Feb 2015 10:55

I am having exactly the same issue, starting the stream from a batch file. Not had any help from the forum.

stm_tech
New Cone
New Cone
Posts: 6
Joined: 17 Jul 2014 16:00

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

Postby stm_tech » 13 Feb 2015 14:22

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.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 0 guests