Automatic Record

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Memphistus
New Cone
New Cone
Posts: 3
Joined: 24 May 2011 12:56

Automatic Record

Postby Memphistus » 24 May 2011 13:07

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

HoltDan
New Cone
New Cone
Posts: 6
Joined: 09 Aug 2007 18:13

Re: Automatic Record

Postby HoltDan » 24 May 2011 18:50

"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.

Memphistus
New Cone
New Cone
Posts: 3
Joined: 24 May 2011 12:56

Re: Automatic Record

Postby Memphistus » 24 May 2011 22:00

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

Memphistus
New Cone
New Cone
Posts: 3
Joined: 24 May 2011 12:56

Re: Automatic Record

Postby Memphistus » 24 May 2011 22:49

I have it bring to work, i have to use the mp4 fileformat.


Thank you...


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 4 guests