From: Sergio A. S. de A. <ssa...@ss...> - 2010-10-26 00:31:41
|
I use motion to grab images every 60 second and upload these to my site (webcam) - www.ssaguiar.com. I also capture video in timelapse mode (1 fps). Also, I implemented the loopback and watch the video using zapping. The command line I use to create the pipes is: /sbin/insmod /usr/local/vloopback/vloopback.ko pipes=4 dev_offset=4 First question: how can I do this automatically, when the system start and before motion starts? At the same time, using the loopback, I see the image from the camera, in real time, using the program zapping. Second question: how can I use this system to, also, capture the images using mencoder, in real time? The script I call, using the motion's on_picture_save is: #!/bin/bash #echo $1 >> /root/emailmovimento.log; cd /root /bin/cp $1 /root/webcam.jpg /usr/bin/ftp -inv www.yoursite.com<<ENDFTP user username password cd public_html/webcam bin put webcam.jpg bye ENDFTP Thanks for your help. Sergio |