I'm capturing selenium tests as they execute, and saving video records of their behavior for future analysis. That requires starting and stopping VLC via a script.
I have a batch file on win7 that starts a screen capture just fine:
Code: Select all
del C:\Users\tsmith\capture2.avi
call "C:\VideoLAN\VLC\vlc.exe" ^
screen:// --one-instance ^
-I dummy --dummy-quiet ^
--screen-follow-mouse ^
--no-video :screen-fps=5 :screen-caching=300 ^
--sout "#transcode{vcodec=h264,vb=400,fps=5,scale=1,width=1024,height=768,acodec=none}:duplicate{dst=std{access=file,mux=avi,dst='C:\\Users\\tsmith\\capture2.avi}}"
The question is: How do you do tell the vlc process (started by the batch file) to quit recording?
Thanks,
-T