Primarily developed so could be easy to use on a mobile device.
Supports multiple feeds, days and images along with automatic play/reverse modes
Requirements: Perl & cgi bin
Assumes following output structure (should work with multiple feed directories - though hides this if only 1)
Edit CGI script and change following parameters appropriately:
$imageroot = "/var/www/webcam"; # dir where motion outputs files
$webroot = "/webcam"; # virtual url to imageroot
The following icons in the UI are shown (hover over in UI for description).
|| about info
|| goto previous day
|| current date shown
|| goto next date
|| reverse playback mode
| goto first image
|| goto previous image
|| goto next frame
| goto last frame
|| forward playback mode
I am getting permission problems when I try to install and run this.
I have tested m Apache set-up on a simple perl and cgi script and they both seem to work. However when I try and run the smotion.cgi script I get a internal server misconfiguration error and the logs show :
[Fri Mar 27 10:25:28 2009] [error] [client 192.168.1.1] (2)No such file or directory: exec of '/home/server/private_html/cgi-bin/smotion.cgi' failed
[Fri Mar 27 10:25:28 2009] [error] [client 192.168.1.1] Premature end of script headers: smotion.cgi
Any ideas what is wrong, the file smotion.cgi does exist...
- 27 Mar 2009
I found that on download the smotion.cgi file had DOS format end-of-line characters. I converted the file to unix format using the dos2unix utility.
Having done that, installation went very smoothly indeed thanks. I'm using Mandriva Linux. This utility will be great for just what it's designed for - accessing the web cam images from a mobile 'phone while out and about.
- 18 Jun 2011