3rd Party VMS/Control4/Setup Video Feeds

How to Setup Video Feeds on Dahua IP Camera or Recorder

Description

This article will show you how to configure a video stream from a Dahua device for integration with Control 4

Prerequisites

Video Instructions

Step by Step Instructions to Use Main Stream

Note: Certain older Control4 equipment require MJPEG for video stream (HC800, HC250, Infinity Touchscreens etc..). If these older devices are used at property, the dealer MUST enable Sub Stream and set to MJPEG. If dealer is using T3 and EA controllers, MJPEG does not need to be used

  • Log into NVR or use GUI and go to Setup
  • Select IMAGE, ENCODE
  • Choose Proper Channel (repeat for each channel)
  • Change Main Stream Settings to the following (note: these settings are best practices; individual systems may require modification of these settings for certain applications)

Control 4 How To Use Main Stream 1.jpg

1. Code-Stream Type: Continuous

2. Compression: H.264

3. Resolution: 1280*720(720P)

4. Frame Rate(FPS): 13

5. Bit Rate Type: VBR

6. Bit Rate: 1024

IF MJPEG is required do the following:

Control 4 How To Use Main Stream 2.jpg

1. Enable Sub Stream on Channel

2. Compression: MJPEG

3. Resolution: 704*480(D1)

4. Frame Rate(FPS): 13

5. Bit Rate: 1024

Step by Step Instructions to Use Sub Stream

NVR Instructions

1. Make sure the Recorder has been updated to the correct supported firmware:

The full list of supported firmware can be found at 3rd Party VMS/Control4

Firmware version used for this guide: V3.216.10BE000.0Build Date:2019-04-18

Also make sure the recorder is factory defaulted before beginning setup by going into Setup>System>Default>Factory Reset

Recorder default.jpg

1.b. Make sure the monitor has been connected to the same local network as the devices. For wifi setup:


2. Open Control4 Composer. If this is the first time loading the program, you will be prompted to enter your Control4 account credentials:

Control 4 Setup 1.jpg


3. After logging in a prompt will appear. Select the type of connection the computer has to the Control4 Controller. Make sure the controller is powered on and connected to the network. In this case the computer is on the same network as the EA1 Controller, so Local System is selected


Control 4 Setup 2.jpg


4. The software will scan the local network and give a prompt with any discovered devices. Select the controller then click Connect


Control 4 Setup 4.jpg


5.To begin adding devices, select the 'Discovered' tab in the System Design interface to pull up devices on the local network that have been automatically detected by the software


Control 4 Setup 4.5.jpg


6. Begin by adding the Control4 devices on the network, such as the C4-EA1 Controller and Wireless Monitor. You can double click the item in the list to add or Right Click>Add to Project

Control 4 Setup 6.5.jpg


7. Added devices will auto populate the device tree on the left side of the screen

Control 4 Setup 6.6.jpg


8. Right click the Dahua Recorder from the Discovered devices list and select Add to Project

Control4 recorder 1.jpg


9. The recorder will be added to the device tree on the left. Enter the NVR settings in the center of the page, such as local IP and username/password, and # of Channels should be the number of video streams added to the recorder.

Control4 recorder 2.jpg


10. After entering each field, click Set next to each field to save each setting


Control4 recorder 3.jpg

11. To update the driver, right click the device in the list, 'NVR Viewer' by default, and select Update Driver. Locate the directory where the dahua_camera_nvr_fixed.c4z driver was downloaded to and Select Open.

If you receive a prompt asking to overwrite the current file, make sure you select Yes

Control4 recorder 5.jpg

The NVR setup is complete, now the video streams must be defined through the Composer software

12. To integrate the video streams from the IP cameras added to the recorder, click on the Search tab in the top right of the page, then enter "dahua" to filter the device types and press Enter

Control4 recorder 6.jpg

13. Right click the search result that is listed as 'Dahua NVR Fixed Camera' and select 'Add to Project' - this is the correct driver to add a video stream from an IP Camera that is already added to a Dahua NVR.

Control4 recorder 7.jpg

14. A device entry will appear in the tree as "Fixed Camera".

With Fixed Camera selected, under Advanced Properties in the center of the screen:

  • Change the Hostname/ IP Address field to be the local IP of the NVR then click 'Set'

Control4 recorder 9.jpg

  • Change the dropdown box next to 'Driver Actions' to 'Set Driver for Direct Camera Access'

Control4 recorder 8.jpg


After a moment, the Driver Status will update if the connection to the NVR was successful:

Control4 recorder 8.5.jpg

Repeat the process for however many additional streams from the NVR are being integrated, in this guide 2 channels from the NVR are being added, so 2 devices were created in the same way.

15. Once any additional Devices have been added to the tree, select Connections, then select the Devices just created in the Device Tree, then in the center of the screen under 'Control Inputs' select the 'NVR_Link' driver to configure the input.

Control4 recorder 10.jpg

16. To associate the IPC from the NVR to this channel, drag and drop 'NVR_Link' from the top window and drop it on one of the Output Devices that appears in the bottom window.

Nvr link configure animated.gif



Control4 recorder 11.jpg

Control4 recorder 12.jpg

Under 'Connections' the channel will update with the connected stream

Control4 recorder 13.jpg


Once the device has been added - the stream type can be modified to pull either the Main or Sub Stream from the camera

17. Select the device in the device tree, select System Design on the left, then under Properties you can modify Advanced Properties for the device

Control 4 How To Use Sub Stream NVR 1.jpg


18. Scroll down until you see the H264 / MJPEG Video Stream dropdown windows.


Control 4 How To Use Sub Stream NVR 2.jpg


Main Stream is 0

Sub Stream is 1

Sub Stream 2 is 2


Click Set once you make any changes to save

Control 4 How To Use Sub Stream NVR 3.jpg

IP Camera Instructions

1. Make sure the camera has been updated to the correct supported firmware:

The full list of supported firmware can be found at 3rd Party VMS/Control4

Firmware version used for this guide: V2.800.10SA000.0.T, Build Date: 2019-03-14

Also make sure the camera is factory defaulted before beginning setup by going into System>Default>Factory Default

Factory default camera.jpg

2. Open Control4 Composer. If this is the first time loading the program, you will be prompted to enter your Control4 account credentials:

Control 4 Setup 1.jpg


3. After logging in a prompt will appear. Select the type of connection the computer has to the Control4 Controller. Make sure the controller is powered on and connected to the network. In this case the computer is on the same network as the EA1 Controller, so Local System is selected


Control 4 Setup 2.jpg


4. The software will scan the local network and give a prompt with any discovered devices. Select the controller then click Connect


Control 4 Setup 4.jpg


5.To begin adding devices, select the 'Discovered' tab in the System Design interface to pull up devices on the local network that have been automatically detected by the software


Control 4 Setup 4.5.jpg


6. Begin by adding the Control4 devices on the network, such as the C4-EA1 Controller and Wireless Monitor. You can double click the item in the list to add or Right Click>Add to Project

Control 4 Setup 6.5.jpg


7. Added devices will auto populate the device tree on the left side of the screen

Control 4 Setup 6.6.jpg


8. Right click the Dahua IPC from the Discovered devices list and select Add to Project

Control 4 Setup 7.jpg

9 The camera will appear in the device tree list on the left. In the device Properties window in the center, enter the authentication information for the camera.

Enter the username/password for the camera (click 'Set' after making any adjustments) and make sure Authentication Type is set to 'Digest'

Control 4 Setup 8.jpg


10. Right click the camera in the list and select 'Update Driver'


Control 4 Setup 9.jpg

11. Navigate to the directory where the Dahua driver was downloaded to and select Open

Control 4 Setup 10.jpg


12. If you receive a prompt asking to overwrite, confirm the driver overwrite

Control 4 Setup 11.jpg

A prompt will also appear that recommends a restart after a driver update.

Control 4 Setup 12.jpg


You can hold the ID button the on the controller for 5 seconds to restart the device, or power cycle the Control4 Controller to restart the director service. When the unit powers back on you can open Composer to make any further settings changes to the system.

To manually update the Composer information from the computer to the controller, under File select Refresh Navigators

Control 4 Setup 13.jpg

14. The camera stream will now appear under the 'Security' option in the Control4 interface, such as the Control4 Tabletop Touch Screen, which will be used for this guide.


4.JPG

5.JPG


6.JPG

Note Regarding Sub Stream Integration

Please note if you switch the settings to access the lower resolution substream, then it may appear at it's resolution in any Control 4 interface, such as the wireless monitor:

Control 4 Substream 2.jpg

If that happens you can press the 1:1 icon below the video to make the stream go full screen:

Control 4 Substream 3.jpg