evercam / ex_nvr

Video recording and computer vision for edge devices
https://evercam.github.io/ex_nvr/
GNU Affero General Public License v3.0
40 stars 9 forks source link

snapshots milisecond accuracy #428

Closed Diaislam closed 4 months ago

Diaislam commented 4 months ago

Description: the endpoint to request a snapshot from exnvr is not accurate with miliseconds camera exid newwa-dyrua Example:

image request newwa-dyrua_2024_04_19_10_58_05_400 , second: 5 , milisecond = 100 Screenshot from 2024-05-10 12-45-39 image request newwa-dyrua_2024_04_19_10_58_05_700 second: 4 milisecond = 700 is the same exact image image

600 miliseconds difference but getting the same image

gBillal commented 4 months ago

Hi @Diaislam I tried with this camera I get the following results 2024-04-19T10:58:05.000Z image

2024-04-19T10:58:05.500Z image

The two images are not the same. Are you sure that you provide the right timestamps ?

Diaislam commented 4 months ago

image yes correct but if you try the timestamps i sent milisecond 100 & milisecond 700 they are the same image , the

if you try 2024-04-19T10:58:04.500 and 2024-04-19T10:58:05.000 they are also the same image, what i'm trying to say is in one second there are only 2 images mostly

gBillal commented 4 months ago

Nope they're not the same, I tried with 100 millisecond and 300 millisecond and it gave me different images The md5 hash of the two image is: de4fbbdfdb75dac7a1ef1041d6cf7c90 a5f47b51a9013a34277f729f39ebd6ea