Hikvision Metadata

Started by dashcammer, December 14, 2023, 07:27:15 AM

Previous topic - Next topic

dashcammer

Hello everyone.
I'm trying to extract information from a video file generated by Hikvision NVR.

There should be information like timestamp start and end, which I couldn't find in simple '-a' command.
Also, there are some information like camera id (it shows on the video 'camera 01') and I need to get it .. any ideas?

Thanks everyone.

Phil Harvey

Can you upload a sample somewhere so we can take a look?

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

dashcammer

Thanks Phil
Here is a sample:
https://www.dropbox.com/scl/fi/256d6d9eoen0o6a9bpz9r/D01_20231207144456_01.mp4?rlkey=0ps4b1ewapzgtxgcfumwowjfq&dl=0

Phil Harvey

I got the sample.  No good news unfortunately:

1. All of the metadata timestamps are zero in this file.  There is a Duration, but nothing to indicate start time in the metadata.  There may be timestamps in the video stream, but ExifTool doesn't decode the video.

2. The string "camera" doesn't exist anywhere in the file.  I can't see any unknown metadata that corresponds to the "camera 01" burned into the video image.

So it looks like the timestamp and the "camera 01" exist only as a video overlay, and not in the metadata.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

StarGeek

Just to verify, is this video directly from the camera and not cut from a larger video?  Because most video editing software, even simple ones that do lossless cuts, will strip away most, if not all, metadata.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

dashcammer

Yes, this is as-is from the NVR.

Thanks, Phil, truly appreciate it.