In this post , I’ll describe a practical use of the Beagleboard : It’s about building a Wireless IP camera for Home surveillance.
The Set-up of the Wi-Fi dongle and the camera were described in previous posts on this blog.
First checkout the source from the Subversion repository :
svn co https://mjpg-streamer.svn.sourceforge.net/svnroot/mjpg-streamer mjpg-streamer
then cross compile it by issuing :
cd mjpg-streamer/mjpg-streamer && make CC=arm-angstrom-linux-gnueabi-gcc
If the build is successful it will generate “mjpg_streamer” binary and plugins : a set of shared libraries (*.so)
that you need to transfert to the filesystem of the SDCard plus the “www” folder.
Finally you can lunch the mjpg-streamer webserver with :
./mjpg_streamer -i "./input_uvc.so -d /dev/video0 -y" -o "./output_http.so -w ./www"
(or put it in a script that start automatically)
The mjpg-streamer is listening on the TCP PORT 8080 so you’ll able to view the video stream by pointing any browser on the beagleboard IP address:
you can also configure your router to allow external access from the Internet on your video stream by enable 8080 port forwarding.
Here is a live demo video (view from my balcony):
and here is a nightly stream demo: