Dahua .idx file definition.

Joined
Jul 10, 2022
Messages
6
Reaction score
0
Location
Sweden
Hi!
I have a few Dahua cameras such as IPC-T5442TM-AS, and IPC-T5442T-ZE.

I've coded my own little NVR solution that runs on a rasperry pi and it works great, however I'm hoping I can use the .IDX file that the camera creates to tag the videos with what the camera thinks is in them, vehicles, persons or other. I could also use this make different notifications if it sees a car or person.

I cant find any information about the file, any documentation or knowledge about the file format would be appreciated.

Thank you.

P.S The .idx file looks something like this:
Code:
Event={"Action":"Start","Data":{"Id":[0],"RegionName":["Region1"],"SmartMotionEnable":false},"Index":1,"Name":"VideoMotion"}
EncodeFormat={"Audio":{"Bitrate":64,"Channels":[0],"Compression":"G.711A","Depth":16,"Frequency":8000,"Mode":0,"Pack":"DHAV"},"AudioEnable":true,"Video":{"AiGOP":24,"BitRate":8192,"BitRateControl":"CBR","Compression":"H.264","CustomResolutionName":"2688x1520","FPS":12,"GOP":12,"Height":1520,"Pack":"DHAV","Priority":0,"Profile":"Main","Quality":4,"QualityRange":6,"SVCTLayer":1,"SvacSVCLayer":{"SpaceDomainSVCLayer":1,"TimeDomainSVCLayer":1},"Width":2688},"VideoEnable":true}
Frame="P,42969945816,0,12908,1"
Frame="P,42969945900,12908,19386,0"
Frame="M,42969945900,32294,86,0"
EncodeFormat={"Audio":{"Bitrate":64,"Channels":[0],"Compression":"G.711A","Depth":16,"Frequency":8000,"Mode":0,"Pack":"DHAV"},"AudioEnable":true,"Video":{"AiGOP":24,"BitRate":8192,"BitRateControl":"CBR","Compression":"H.264","CustomResolutionName":"2688x1520","FPS":12,"GOP":12,"Height":1520,"Pack":"DHAV","Priority":0,"Profile":"Main","Quality":4,"QualityRange":6,"SVCTLayer":1,"SvacSVCLayer":{"SpaceDomainSVCLayer":1,"TimeDomainSVCLayer":1},"Width":2688},"VideoEnable":true}
Frame="A,42969945940,32380,368,1"
Frame="A,42969945980,32748,368,0"
Frame="I,42969945983,33116,681722,0"
Frame="M,42969945983,714838,173,0"
Frame="M,42969945983,715011,135,0"
Frame="A,42969946020,715146,368,0"
Frame="A,42969946060,715514,368,0"
Frame="P,42969946066,715882,19439,0"
Frame="M,42969946066,735321,86,0"
Frame="A,42969946100,735407,368,0"
Frame="A,42969946140,735775,368,0"
Frame="P,42969946150,736143,20359,0"
Frame="A,42969946180,756502,368,0"
Frame="A,42969946220,756870,368,0"
Frame="P,42969946233,757238,18968,0"
Frame="A,42969946260,776206,368,0"
Frame="A,42969946300,776574,368,0"
Frame="P,42969946316,776942,17836,0"
Frame="M,42969946316,794778,86,0"
Frame="A,42969946340,794864,368,0"
Frame="A,42969946380,795232,368,0"
Frame="P,42969946400,795600,25713,0"
Frame="A,42969946420,821313,368,0"
P.P.S. Once my NVR-Messaging service is more tested I might make it public or at least write a little about it if anyone is interested, runs off a Raspberry PI sends pictures and videos to group chats. Takes about 4 seconds from motion to message in app including time it takes for camera to send the picture.
 
Last edited:
Top