[streaming] Re: Streaming Web Cam

Gildas Bazin gbazin at altern.org
Fri Jul 23 09:14:03 CEST 2004


On Thursday 22 July 2004 20:20, Benjamin Pracht wrote:
> Le 20 juil. 04, à 21:00, Daniel Wells a écrit :
> 
> > I have a quick question.  I am trying to automate a streaming webcam 
> > in windows XP.  I am able to start the camera without a problem 
> > (through a batch file) but I can't seem to figure out how to stop it.  
> > I am streaming the signal to multicast as well as to disk (file).  Is 
> > there a way to set a time limit for how long to stream the camera?  Or 
> > is there a way to send another signal (from a batch file) to shutdown 
> > the camera, etc.?  Any suggestions would be greatly appreciated.  
> > Thanks for your time.
> >
> 
> The easiest, (under windows at least) would be to launch the VLC with a 
> http interface, and to send a stop command through this at the 
> appropriate time.
> 

Under win32, you can use the --one-instance option to this effect as well.
For instance, you first start your VLC with: "vlc --one-instance dshow://"
Then when you want to stop it, you do: "vlc --one-instance vlc:quit"

--
Gildas

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the streaming mailing list