N6123 File Naming & Commands
Frequently Asked Questions
Table of Contents
Brand:
- AMX
Models:
- N6123
Question:
How is a file name generated when recording a stream in the N6123, and is there a way to read the file name? Also, prior to recording the stream in N6123, can we change the filename to a user defined file name in N-able or using any API?
Answer:
The file name is autogenerated by the NVR during creation of recording. You can add a description prior to recording the file for clarification of what the file is. There are 2 methods in order to determine what the files are called on the NVR and interact with them via the API. You will use the list\r or the mpeglist\r to query the NVR. You can then parse the data and read the description field. The difference between the recording tab and the MPEG tab are: Recording tab is the raw file that can only be sent to that series of decoders. The MPEG tab is the files that have been converted to mp4 for play back. This file can then be downloaded from the unit. You can also record something that is HDCP on the NVR and play this back to the other devices in the same series. You CANNOT, though, convert the HDCP content to MPEG because of the HDCP you will have an error in the conversion process.
list\r command output:
list
index:0
filename:f.5E78AB11.index
start:1584966418
duration:60
description:test
mode:4
keep:0
deletequeue:0
convertqueue:0
cp:0
+
index:1
filename:f.5E7903B0.index
start:1584989104
duration:60
description:test2
mode:4
keep:0
deletequeue:0
convertqueue:0
cp:0
*
Mpeglist\r command output:
mpeglist
index:0
video:f.5E78AB4F.mp4
audio:f.5E78AB4F.mp3
duration:60
description:test
source:f.5E78AB11.index
stream:0
size:1202659
deletequeue:0
+
index:1
video:f_5E78ADAF_test_S600_20200323_0726.mp4
audio:f_5E78ADAF_test_S600_20200323_0726.mp3
duration:60
description: test
source:f.5E78AB11.index
stream:0
size:1202659
deletequeue:0
+
index:2
video:f_5E7903EC_test2_S600_20200323_1345.mp4
audio:f_5E7903EC_test2_S600_20200323_1345.mp3
duration:60
description:test2
source:f.5E7903B0.index
stream:0
size:1202081
deletequeue:0
*Table of Contents