How to setup MPEG-4 streaming with RTSP monitor from a Vivotek IP8332 camera

From ZoneMinder Wiki
Jump to navigationJump to search

IP8330/32

The IP8332 is a 1Megapixel (1280x800) day and night camera with an IR filter for night vision. It can have 4 concurrent streams in either H.264, MPEG-4 or MJPEG with an option for Multicast.

Once this camera is on your network, access its web interface by putting its IP into your web browser (preferably Firefox). How you attains its IP/Hostname is outside the scope of this article.

This camera's 4 streams can be access by either Motion JPEGs or RTSP for MPEG-4 and H.264.

MJPEG:
http://<ip>:80/video.mjpg or http://<ip>:8080/video.mjpg
http://<ip>:80/video2.mjpg or http://<ip>:8080/video2.mjpg
http://<ip>:80/video3.mjpg or http://<ip>:8080/video3.mjpg
http://<ip>:80/video4.mjpg or http://<ip>:8080/video4.mjpg


MPEG-4 or H.264:
rtsp://<ip>:554/live.sdp
rtsp://<ip>:554/live2.sdp
rtsp://<ip>:554/live3.sdp
rtsp://<ip>:554/live4.sdp

These paths and ports can be changed under the Network configuration as well as the quality and resolution of the stream/picture all on the Vivotek's web interface. Read the manual (page 43) for full details: [1]

Now to put this all together into ZoneMinder.
For MJPEG we add a new Monitor with the below settings. Put in the stream that is sending out a JPEG image stream otherwise the monitor will fail.

IP8332-JPEG01.png

Remote Protocol: HTTP
Remote Method: Simple
Remote Host Name: Put in the cameras IP or hostname
Remote Host Path: /video4.mjpg


IP8332-JPEG02.png

And for MPEG4. Put in the stream that is sending out a MPEG4 or H.264 video stream otherwise the monitor will fail.

IP8332-MPEG01.png

Remote Protocol: RTSP
Remote Method: RTP/RTSP
Remote Host Name: Put in the cameras IP or hostname
Remote Host Path: /live3.sdp

IP8332-MPEG02.png

Notes: Depending on how you config the stream effects whether it can be access via http or rtsp.
That is, if you have stream 2 set for JPEG on the camera web config page, then only the URLs http://<ip>:80/video2.mjpg or http://<ip>:8080/video2.mjpg will work and rtsp://<ip>:554/live2.sdp will not.
You can change the quality of the stream that is being sent out also on the cameras web interface.
For me, with ZM v1.24.2 I have found that setting an H.264 stream does not work, only MPEG4. H.264 does work, however, using VLC (ver 1.1.5) on my PCLinuxOS desktop.