Page 1 of 1

Automatic Record

Posted: 24 May 2011 13:07
by Memphistus
Hey guys.
I have installed a Webcam in my Shop, and now i want to record this Webcam at specified Time.
I Tried the VLM and it doesnt work.

Can Someone give me the command for vlc that it record the Webcam automaticly, its not requiered to set the Time, because i can run the commands with an external Programm.

it is very nice when i get here a correct Code.

thanks.


P.S.: the Stream is a cgi file

Re: Automatic Record

Posted: 24 May 2011 18:50
by HoltDan
"C:\Program Files\VideoLAN\VLC\vlc.exe" rtsp://10.1.6.3/axis-media/media.amp --sout="#duplicate{dst=std{access=file,mux=asf,dst='test.mpg'},dst=nodisplay}" --run-time=7

That last param is number of seconds to record.

Re: Automatic Record

Posted: 24 May 2011 22:00
by Memphistus
Thank you, but this dont work.

vlc dont save the video, i tried C:\test.mpg or D:\test.mpg
but nothing happen, no error nothing

Re: Automatic Record

Posted: 24 May 2011 22:49
by Memphistus
I have it bring to work, i have to use the mp4 fileformat.


Thank you...