The MotioneyeOS image for the Raspberry Pi makes a great, stand-alone, security camera or a wildlife camera. However, I wanted to be able to use the video stream as part my BlueIris video surveilance system. After much searching, I found the solution.
In addition to storing video files, when movement is detected, the MontioneyeOS software also supplies a video stream that can be used to provide a live view of what’s going on. This video stream uses the MJPEG format and is available on port 8081 of the Pi address. You can access this stream from any computer on the local network by using the Pi IP followed by :8081. Here’s an example for a Pi with IP address 192.168.0.123
To use this stream in BlueIris, you need to add a new camera and make the following settings in the video configuration panel:
- Address: Use http:// 192.168.0.123:8081* NB: Use your Pi IP address!
- User: admin and password empty
- Make: Generic/ONVIF
- Model: MJPEG stream
- Media/video/RTSP port: 8081
- Video Main stream: /mjpeg.cgi
Next you need to make a couple of changes in MotioneyeOS.
- Login to your camera and go to Video Streaming
- Switch Video Streaming ON
- Set the frame rate and quality. I use 15fps and 75%
- Turn Motion optimisation ON. This reduces the frame rate in the absense of movement and helps reduce the loading on the computer running the security system.
It’s worth being conservative with the video resolution and frame rates, especially if you’re using Wi-Fi for the camera links.