Help would be appreciated to use VCL to trigger, capture and record to file a video stream. I am sure it is simple even for a relative beginner like me but I have spent many hours with only limited progress.
I have developed a remote controlled robot which I can control over local WiFi network using C sharp or Microsoft Robotics developer studio. The robot has a video camera which streams across the local network and also has a motion sensor. When the robot is not moving the motion sensor will pick up movement and action a C# event. All of this is working satisfactorily I want to capture on file video for as long as the motion detector sees something moving.
My system details are as follows:
Windows 7 operating system for computer.
Captured video stream M-JPEG in http address on Firefox browser.
Right now I can open vcl and capture and display from local network the video. I can also record the video as necessary. I can also capture and display video from the command prompt. I cannot record from the command prompt. I believe that for my system the ps muxer will not work well that the ts muxer is okay. I have set up an empty file addressable from the command prompt as ./testvideo.mpg to accept the recording. My command is as follows:
vlc -vvv http://phidgetsbc.local:81/?action=stream --sout="#std{access=file,mux=ts, dst=testvideo.mpg}"
I get no result.
Next step will be to send this command from the C#program to the command line. Think I can do this by writing the command as a .bat format for Dos batch programming.
An additional question. I can open the video stream in vlc using:
vlc -vvv http://phidgetsbc.local:81/?action=stream
but I have user name and password protection to add manually before seeing the video. Can I add these details to the command line program so that they do not have to be manually input or do I have to do without password protection?