Difference between revisions of "Dahua"

From ZoneMinder Wiki
Jump to navigationJump to search
Line 17: Line 17:


=== Confirming Camera is On Your Network ===
=== Confirming Camera is On Your Network ===
Before  
Before I try to get a camera to work on Zoneminder, I try to look at it using the Swiss Army Knife of video tools, the VLC Player.  Just download the player and put the following url into the File/Open Network dialog box:
I found that it helpful to download the VLC player and put the following url into the File/Open Network dialog box:


rtsp://admin:admin@192.168.1.108
rtsp://admin:admin@192.168.1.108
You should see pictures coming out of your camera.  If you don't, then I am not going to be able to help you much.  The camera does respond to pings, so you might try pinging it.  If you can't ping it, you are not going to get very far.


You will find information on the Internet saying you need something like the following in order for it to work:
You will find information on the Internet saying you need something like the following in order for it to work:

Revision as of 01:19, 11 March 2015

IPC-HDB4300C

This camera works perfectly as long as you have Zoneminder set up with FFMPEG.

Capabilities

Stream 0 is 1920 x 1080 @ 25fps and stream 1 is 708 x 576 @ 25fps. Both streams are compressed using H264 MPEG-4 AVC. The FFMPEG decoder is the way to go.

Initial Configuration

The camera defaults to an IP address of 192.168.1.108 with a username/password of admin/admin. It has a built-in web browser that lets you set a number of functions. The camera comes with a manual on a mini-CD. The manual is marginally useful. It is best just to get on the web interface and play.

Once you have played around a bit, it might be best if you reset the camera back to factory defaults. Under the dome cover there is a reset button. Hold it for at least five seconds. If you expect the red light to flash off and on or do something else interesting, you are going to be disappointed. The light stays on, but the unit does reset.

Help and Documentation

HELP - On the web interface, if you click on the upper right corner question mark icon, you will get help... in Chinese. This might work for you, but if English is better, then try this:

http://192.168.1.108/help/English/help.htm?device=1

Changing the device seems to change the functions listed in the help menu.

Confirming Camera is On Your Network

Before I try to get a camera to work on Zoneminder, I try to look at it using the Swiss Army Knife of video tools, the VLC Player. Just download the player and put the following url into the File/Open Network dialog box:

rtsp://admin:admin@192.168.1.108

You should see pictures coming out of your camera. If you don't, then I am not going to be able to help you much. The camera does respond to pings, so you might try pinging it. If you can't ping it, you are not going to get very far.

You will find information on the Internet saying you need something like the following in order for it to work:

rtsp://admin:admin@192.168.1.108:554/live

This does work, but it does not seem to be necessary. Going to the IP address directly gets you to Stream 0 - the HD stream. You can see the properties of the stream using VLC by going to Window/Media Information/Codec Details. If you want to specifically point to the HD stream, use:

rtsp://admin:admin@192.168.1.108:554/cam/realmonitor?channel=1&subtype=0

To get to the SD or lower resolution feed, use: rtsp://admin:admin@192.168.1.108:554/cam/realmonitor?channel=1&subtype=1

IPC-HDB3200C

  • Source Type: Remote
  • Remote Protocol: RTSP
  • Remote Method: RTP/RTSP
  • Remote Host Name: user:password@ip.address
  • Remote Host Port: 554
  • Remote Host Path: /cam/realmonitor?channel=1&subtype=0&tcp
  • Target Colorspace: 24 bit colour
  • Capture Width (pixels): 1920
  • Capture Height (pixels): 1080
  • Preserve Aspect Ratio: Unselected
  • Orientation: Normal
  • Deinterlacing: Disabled

Note that this camera can occasionally go into an 'indeterminate' state if power is interrupted or browned-out. When in this state, it will respond to pings and telnet, but will not stream an image. There is an app https://play.google.com/store/apps/details?id=nz.co.trillium.dahuareboot that will reboot it out of this state.