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
I have a Raspberry Pi Zero 2W running the Bullseye OS and using the HQ camera running at 15 fps. I am attempting to emulate the basic CircularOutput example from the Picamera2 manual on page 43.
My understanding is that the example will start a circular buffer and can run for a period of time while filling the buffer with the most recent 5 seconds of video. At some point in time, the fileoutput is given a filename to write to and the most recent 5 seconds of video is saved to that file and the file is appended with video for a period of time until a stop is issued. The resulting video will be the buffered 5 seconds plus the video that was saved between the time the filename was created and the stop command.
In practice, I am seeing only the most recent 5 seconds of video saved, from when the stop was issued.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Raspberry Pi Zero 2W running the Bullseye OS and using the HQ camera running at 15 fps. I am attempting to emulate the basic CircularOutput example from the Picamera2 manual on page 43.
My understanding is that the example will start a circular buffer and can run for a period of time while filling the buffer with the most recent 5 seconds of video. At some point in time, the fileoutput is given a filename to write to and the most recent 5 seconds of video is saved to that file and the file is appended with video for a period of time until a stop is issued. The resulting video will be the buffered 5 seconds plus the video that was saved between the time the filename was created and the stop command.
In practice, I am seeing only the most recent 5 seconds of video saved, from when the stop was issued.
Relevant code snippet follows:
A period of time > 5 seconds passes ...
Another period of time > 5 seconds passes ...
I hope that I am just missing something simple.
Beta Was this translation helpful? Give feedback.
All reactions