-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Is your feature request related to a problem? Please describe.
I want to be able to troubleshoot the timing of video recording for the pre-motion and post-motion videos. One way to do this is to add the timestamps to each frame.
Describe the solution you'd like
I’d like to add timestamps to each frame of each video with millisecond resolution.
Describe alternatives you've considered
I’d be ok with resolution in seconds if milliseconds proves tricky.
Additional context
The pi camera documentation has information about how to add timestamps with resolution in seconds. I’m not sure if milliseconds will be possible. I’m also not sure why 0.2 seconds was chosen for wait_recording(), and how this affects the resolution of the timestamps. Also, I’m not sure whether this solution will fail for the pre-motion video captured by the stream.
See this issue about hard coding timestamps in picamera, as well as this post about an alternative solution for streaming video