Page 1 of 1

Help with batch file for streaming

Posted: 17 Jul 2014 16:08
by stm_tech
Hi

I need to stream an audio feed to an icecast server.

If I do it manually through the GUI it works fine. Clients can connect and listen in.

My Batch file is not. It seems to be working on the "Server", but the clients can not connect.

Contents of Batch File
@Echo Off
Echo - Starting VLC Stream -
cd c:\program files\Videolan\VLC\
start /b vlc.exe dshow:// :dshow-vdev= :dshow-adev="Multichannel (M-Audio Delta 101" :live-caching=0:sout="#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=shout,mux=ogg,dst=<username>:<password>@<address of icecast server>l:8000/radio}" :sout-all :sout-keep
pause


I have obviously redacted the username and password and address of server.

Please what am I doing wrong?

Re: Help with batch file for streaming

Posted: 28 Aug 2014 12:39
by stm_tech
I have upgraded to VLC 2.1.5 and I still have the issue. If I set the stream up manually it works just fine.

It will still not stream from the batch file.

Re: Help with batch file for streaming

Posted: 15 Oct 2014 11:56
by stm_tech
Please, any ideas as to why this is not working?

This is for a school network based radio station.

Re: Help with batch file for streaming

Posted: 15 Oct 2014 12:10
by kodela
stm_tech wrote:
I need to stream an audio feed to an icecast server.
I stream from a server to a client - and you?

Re: Help with batch file for streaming

Posted: 15 Oct 2014 15:06
by alkizmo
The most likely with a batch file not working is because of special characters.

I would setup VLC to output a log file so you can see what VLC received as command, just in case that CMD.exe cut off part of your string because of special characters.

Re: Help with batch file for streaming

Posted: 15 Oct 2014 17:30
by kodela
Menu - Tools - Messages
Set Verbosity to 2