Help with batch file for streaming

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
stm_tech
New Cone
New Cone
Posts: 6
Joined: 17 Jul 2014 16:00

Help with batch file for streaming

Postby stm_tech » 17 Jul 2014 16:08

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?

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

Re: Help with batch file for streaming

Postby stm_tech » 28 Aug 2014 12:39

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.

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

Re: Help with batch file for streaming

Postby stm_tech » 15 Oct 2014 11:56

Please, any ideas as to why this is not working?

This is for a school network based radio station.

kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Re: Help with batch file for streaming

Postby kodela » 15 Oct 2014 12:10

stm_tech wrote:
I need to stream an audio feed to an icecast server.
I stream from a server to a client - and you?

alkizmo
New Cone
New Cone
Posts: 4
Joined: 13 Oct 2014 20:53

Re: Help with batch file for streaming

Postby alkizmo » 15 Oct 2014 15:06

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.

kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Re: Help with batch file for streaming

Postby kodela » 15 Oct 2014 17:30

Menu - Tools - Messages
Set Verbosity to 2


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 26 guests