Build IP Camera
ONVIF is a global and open industry forum with the goal of facilitating the development and use of a global open standard for the interface of physical IP-based security products - or, in other words, to create a standard for how IP products within video surveillance and other physical security areas can communicate with each other. ONVIF is an organization started in 2008 by Axis Communications, Bosch Security Systems and Sony.
Zoneminder Raspberry Pi Camera
First of all you have to log in to root mode. After you sign as root you can start to install MJPEG streamer. The following command installs the three libraries that MJPG-Streamer uses:
$ sudo apt-get install libjpeg8-dev imagemagick libv4l-dev
The videodev.h header file that MJPG-Streamer needs you have to replace with a videodev2.h. You need to create a symbolic link to make MJPG-Streamer:
$ sudo ln -s /usr/include/linux/videodev2.h /usr/include/linux/videodev.h
The source code for MJPG-Streamer is available at sourceforge.net, please user wget command to find and to direct download the link: