![]() |
[app] N800 Camera Motion Detector w/HTTP server
This is a quick compilation of Motion with V4L2 support.
Motion is a flexible motion detection and image capture application that can capture from input video devices, perform motion analysis, and output the resulting postprocessed images to files, external processes, or straight to HTTP using its built-in HTTP server. You can use it with your N800 and turn your device into a motion capture device, automated snapshot device, or anything else you can think of. http://geopacket.com/maemo/motion-20070222.jpg I have customized the binary to overcome some issues with V4L2 on the N800 (buffer read errors), and modified the motion.conf to accomodate for the N800 (hur offset, capture delay to give minimum amount of errors, etc.) To use: 1. Unzip and copy motion and motion.conf to your N800 2. Using xterm, start motion 3. Hit the IP of your N800 with a web browser on port 8081 (use firefox!) 4. To configure via the web, load Opera and hit the N800 on port 8080 You must use mozilla or firefox as the stream is motion jpeg and IE cannot parse the stream (being the pile it is). See the FAQ for more info on setting up motion to auto-ftp images, email, postprocess, redirect, draw image boxes around motion detected, ... If you file bug reports to this thread I will do my best to fix the code. CAVEATS: non-graceful termination may hang the camera device and reboot the N800 (harmless but beware). Download here http://geopacket.com/maemo/ |
Re: [app] N800 Camera Motion Detector w/HTTP server
That's excellent konfoo!
I was wondering when apps would start showing up for the camera. I'll give it a try. Can you use "motion" in a more manual mode to take pictures and short videos on demand? /Mike |
Re: [app] N800 Camera Motion Detector w/HTTP server
Yes this would be possible with a frontend. The big requirement is ffmpeg.. which I am having some trouble compiling.
|
Re: [app] N800 Camera Motion Detector w/HTTP server
Quote:
In a related question, how do I become root and what is the password? Also, what is the password for 'user'? thanks, rhackenb |
Re: [app] N800 Camera Motion Detector w/HTTP server
Is your mmc1 device mounted with exec permissions?
For becomeroot - do a search, there are a bunch of threads on different ways to get root access. |
Re: [app] N800 Camera Motion Detector w/HTTP server
Quote:
I'll search for how to become root. What I would also like to know is the password for user. Maybe I should create another user that I have control of...oh wait...I need to be root. The next thing I will do is see if I can retrieve the image from the n800 webserver using lynx on another machine. Thanks for the help. It got me started. -- rhackenb |
Re: [app] N800 Camera Motion Detector w/HTTP server
Great :)
You can try mount -o rw,exec,remount /media/mmc1 You could do this for root access: Set red pill mode, install xterm + dropbear-server, ssh into n800, login as root/rootme, passwd user, passwd root, edit /etc/sudoers and youre done. |
Re: [app] N800 Camera Motion Detector w/HTTP server
.. and then remember to go back to blue pill mode again. ;)
|
Re: [app] N800 Camera Motion Detector w/HTTP server
konfoo/TA-t3: Installing the "becomeroot" package is a lot easier than faffing around with Red Pill Mode/SSH/Blue Pill mode (or R&D mode).
|
Re: [app] N800 Camera Motion Detector w/HTTP server
I just tried this out. Way cool that you got an app to use the camera.
|
All times are GMT. The time now is 03:38. |
vBulletin® Version 3.8.8