Help! I can not make a bat file to start the server streams for web camera!

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.
Cdelphi78
New Cone
New Cone
Posts: 9
Joined: 03 Dec 2015 13:00

Help! I can not make a bat file to start the server streams for web camera!

Postby Cdelphi78 » 03 Dec 2015 13:19

Hello! Need help, read all the manuals, but still fails to start broadcasting from the web camera itself vlc run but that all ends. Here please see:

Code: Select all

@echo on "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv input_stream --sout '#transcode{vcodec=WMV2,vb=300,scale=automate,acodec=none} :dshow-vdev=Logitech HD Webcam C310 :dshow-adev=none :live-caching=300: standard{mux=asf,dst=:8080/}' @pause
How to fix?

Cdelphi78
New Cone
New Cone
Posts: 9
Joined: 03 Dec 2015 13:00

Re: Help! I can not make a bat file to start the server streams for web camera!

Postby Cdelphi78 » 04 Dec 2015 09:34

Help please!

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Help! I can not make a bat file to start the server streams for web camera!

Postby mederi » 04 Dec 2015 13:50

Streaming wizard can help you to assemble the command line.
Media > Stream... > Capture Device tab: enable [v] Show more options, where you can find the input source with appropriate options. Take them and append them to "vlc.exe":

Code: Select all

vlc.exe dshow:// :dshow-vdev="Logitech HD Webcam C310" :dshow-adev=none
Press the "Stream" button and follow the wizard. Take the "Generated stream output string" from the last step of the streaming wizard and append it to your command line:

Code: Select all

vlc.exe dshow:// :dshow-vdev="Logitech HD Webcam C310" :dshow-adev=none :sout=#transcode{vcodec=WMV2,vb=300,scale=automate,acodec=none}:standard{access=http,mux=asf,dst=:8080/}

Cdelphi78
New Cone
New Cone
Posts: 9
Joined: 03 Dec 2015 13:00

Re: Help! I can not make a bat file to start the server streams for web camera!

Postby Cdelphi78 » 04 Dec 2015 15:53

Thank you so much! I tried through the master sdelat.Vot result.
https://yadi.sk/i/fSGz0-rGkySK3
Adding quotes, VLC runs but the stream Web Camers does not start.

Cdelphi78
New Cone
New Cone
Posts: 9
Joined: 03 Dec 2015 13:00

Re: Help! I can not make a bat file to start the server streams for web camera!

Postby Cdelphi78 » 07 Dec 2015 08:06

Help me, please?

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Help! I can not make a bat file to start the server streams for web camera!

Postby mederi » 07 Dec 2015 23:28

Can you play the webcam in VLC at all: Media > Open Capture Device... : Capture mode [DirectShow], Video device name [Logitech HD Webcam C310], "Play" button...? If yes, then the streaming wizard can help you the way I have already described in my previous post here. And yes, the string of the "Video device name" should be enclosed in quotes in your command line.

Cdelphi78
New Cone
New Cone
Posts: 9
Joined: 03 Dec 2015 13:00

Re: Help! I can not make a bat file to start the server streams for web camera!

Postby Cdelphi78 » 08 Dec 2015 08:07

Can you play the webcam in VLC at all: Media > Open Capture Device... : Capture mode [DirectShow], Video device name [Logitech HD Webcam C310], "Play" button...? If yes, then the streaming wizard can help you the way I have already described in my previous post here. And yes, the string of the "Video device name" should be enclosed in quotes in your command line.
Yes Webcam played in VLC.
All the same, the flow will not start!)https://yadi.sk/i/XGp1VcNKm4tAp

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Help! I can not make a bat file to start the server streams for web camera!

Postby mederi » 08 Dec 2015 13:34

You do not have the input source in your command line: vlc.exe dshow:// ...
So now your command line should stream the webcam on the screen in VLC and the http://localhost:8080
O.K.?

Cdelphi78
New Cone
New Cone
Posts: 9
Joined: 03 Dec 2015 13:00

Re: Help! I can not make a bat file to start the server streams for web camera!

Postby Cdelphi78 » 08 Dec 2015 15:13

You do not have the input source in your command line: vlc.exe dshow:// ...
Ок, Where are we now take it? This source.

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Help! I can not make a bat file to start the server streams for web camera!

Postby mederi » 09 Dec 2015 12:33

Media > Stream... > Capture Device tab: enable [v] Show more options, where you can find the input source with appropriate options. Take them and append them to "vlc.exe":

Code: Select all

vlc.exe dshow:// :dshow-vdev="Logitech HD Webcam C310" :dshow-adev=none
The "MRL" is your input source (MRL of your input source) and related options are in "Edit Options" text input field in Open Media dialog.

Cdelphi78
New Cone
New Cone
Posts: 9
Joined: 03 Dec 2015 13:00

Re: Help! I can not make a bat file to start the server streams for web camera!

Postby Cdelphi78 » 10 Dec 2015 07:09

No understand! I do not have such- "The "MRL is your input source (MRL of your input source) and" ??? Where to look? You can show a screenshot?

Cdelphi78
New Cone
New Cone
Posts: 9
Joined: 03 Dec 2015 13:00

Re: Help! I can not make a bat file to start the server streams for web camera!

Postby Cdelphi78 » 10 Dec 2015 07:13

That's the pitch https://yadi.sk/i/Xcj2AY5Sm7tCp? What to write here?

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Help! I can not make a bat file to start the server streams for web camera!

Postby mederi » 10 Dec 2015 14:10

Oh dear. Here is the complete command line for use in your batch script file according to your screenshots:

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" dshow:// :dshow-vdev="Logitech HD Webcam C310" :dshow-adev=none :sout=#transcode{vcodec=WMV2,vb=300,acodec=none}:duplicate{dst=http{mux=asf,dst=:8080/},dst=display}

Cdelphi78
New Cone
New Cone
Posts: 9
Joined: 03 Dec 2015 13:00

Re: Help! I can not make a bat file to start the server streams for web camera!

Postby Cdelphi78 » 11 Dec 2015 07:38

Hooray! Earned! Many thanks!


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 24 guests