Screenshot from video
AnsweredHi,
I would like to know if it is possible to set up a screenshot task with NX Witness.
For exemple take a screenshot of the current video every 10 minutes and save it into a folder.
Thank You
-
Hi @...,
In the API documentation there is the following option:
ec2/cameraThumbnail
If you check this in the API, you could add a wget command every 10 seconds for example by executing a script every 10 seconds with the watch command.
For example:
http://login:password@localhost:7001/ec2/cameraThumbnail?cameraId=<cameraid>&streamSelectionMode=forcedPrimary&aspectRatio=source&tolerant
If the camera is recording continuously, you also could use the Rapid Review feature to create a time-lapse video.
1 -
Thank You it is working well !
Just to mention that I tried to take a screenshot for a precise timestamp. Actually the request works but the picture cannot be read.
Here an example of the request I used for that :
http://demo.networkoptix.com:7001/ec2/cameraThumbnail?cameraId=%3Ccameraid%3E&time=2020-01-23T01%3A00%3A00.000
Timestamp format used : "YYYY-MM-DDTHH:mm:ss.zzz"
Thank You!
0
Please sign in to leave a comment.
Comments
2 comments