In case if you have to replace one of your cameras, you'll likely discover that Nx Witness doesn't retrieve the footage from the old one automatically. Even if you set the same name and IP address to the new unit.
The reason here is that neither camera resource name nor even IP address do not stand for camera's unique identifier for Nx Witness Media Server. The Nx Server uses a unique ID for each camera in a system. Sometimes units report their MAC addresses, sometimes they report a different ID via their ONVIF.
If you don't need the footage itself but have concerns about the occupied storage space -- no worries. When its time comes, Nx Server will rewrite all the oldest footage, including the video from the offline cameras.
- The very first thing you need to do here is to collect both the old and new unique ID for the camera to be replaced and the new camera. In order to do that, you should give them some distinguishable names. So connect to the server with both the camera to be replaced and the new camera using the Nx Client, and rename those cameras to something like "Faulty" and "Replacement".
- Make the following API request to your server by inputting the following string in a browser:
http://<server_address>:<server_port>/ec2/getCamerasEx?extraFormatting
Instead of <server_address> place the address of your server, instead of <server_port> place the TCP port used for listening by the server (by default, 7001). This request will provide you a full list of cameras with every parameter, including the necessary ID. - If you're using Internet Explorer, open the saved file with WordPad. If it's some other browser, you'll get the json-formatted list right in the browser tab.
Search the browser tab (Control + F or Command + F) for the names of the cameras ("Faulty" and "Replacement").
Near each search result, you'll find a field called "physical ID". This is the unique ID Nx Server uses to operate with this camera. Copy & Paste this file.
Repeat for both cameras. - Now you will be finding, copying, and moving the archive files associated with the camera-to-be-replaced.
- Search for HD Witness Media folder on your computer. In a standard installation, the folder may be located at D:\HD Witness Media\hi_quality.
In this example, we will show how to move the archive in Windows OS. For Linux-based servers, everything will work the same way. A full list of storage drives can be found in the Media Server settings dialog in the Nx client or in the "info" tab of a Server's web-page.
The D directory every folder is called as some camera physical ID. Find folders of the faulty and replacement cameras.
- Open the faulty camera folder, select all subdirectories (they will be named by years numbers like "2016") and cut them (CTRL+X).
- Go to the replacement camera folder and paste the copied folders into the replacement camera's media folder. If you're prompted to make a replacement in case of conflicts, click "Yes to all".
- Copy and paste all files you would like to move to the new camera's media folder - example: \HD Witness Media\low_quality files.
The only thing left -- to rebuild archive index. Right-click on the Server the new camera is connected to and open the Server Settings dialog. Choose the Storage Management tab --> click "Start" at archive index rebuild section.
When it's over, you'll find the old footage at new camera timeline.
Below you'll find a video recording of how we get footage from faulty camera with physical ID and MAC 00-1A-07-00-C6-C6 to the new one(replacement) with physical ID and MAC 00-1A-07-03-BD-09.
Questions
If you have any questions related to this topic or you want to share your experience with other community members or our team, please visit and engage in our support community or reach out to your local reseller.
Comments
0 comments
Article is closed for comments.