Hubertnator / RaspiCam

RaspiCam repository
MIT License
0 stars 0 forks source link

Time Accuracy #4

Open Hubertnator opened 4 years ago

Hubertnator commented 4 years ago

So,

Right now if we want to record a 10min video, the camera starts recording, sleeps for 599 seconds, and stops recording. Now this is pretty inaccurate, so I will change this to work like this:

  1. We get the time (amount of time after POSIX)
  2. We record
  3. If time+600 == time now, then stop recording