You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Anticipating a bigger size for the video files if they start to include timestamps, I propose to include time in the file names as a plan B:
Box_00_2022-12-30_13-32-33_pre.mp4
Box_00_2022-12-30_13-32-38_post.mp4
Looking at the documentation and proposed sources I think this will not be an easy task, so maybe we should consider it for the last phase
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
The text was updated successfully, but these errors were encountered: