Author Topic: Get recording start/finish timestamp via api  (Read 4853 times)

hcawn

  • Newbie
  • *
  • Posts: 1
    • View Profile
Get recording start/finish timestamp via api
« on: September 08, 2021, 09:38:29 AM »
Hello,

I'm controlling my Chronos 2.1 via the web api https://www.krontech.ca/wp-content/uploads/2020/05/WebAPI_Printout.pdf. I use the dateTime request to get the timestamp with milliseconds of the camera which is very useful for my application. I however would like to know the timestamp (with ms) a recording was started / stopped so that I can work out where it needs to be cropped.
I know I can have the time embedded into the video as part of the overlay but I cannot read that programmatically so need it as part of a JSON response when recording is started or stopped.
I cannot see anything in the documentation that would provide this, the next closest is extracting the time from the file save name but that's not going to be the correct time.

Does anybody know if this is possible?

H

Nikon1

  • Hero Member
  • *****
  • Posts: 983
    • View Profile
Re: Get recording start/finish timestamp via api
« Reply #1 on: September 08, 2021, 09:42:00 AM »
I have no idea about how the API works, but from what i know, the Filename will be the Timestamp whenever the Save was Started, not the Recording.