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
There's a rather cool patch that's just landed in raspivid (raspberrypi/userland#132) which permits recording to a circular in-memory buffer and then permitting the last n seconds (where n <= the length of the buffer) to be dumped to disk on a key-press.
It's currently possible to implement this in picamera, but non-trivial as it'd involve firstly building a custom stream to replicate the circular buffer, and then dealing with the MMAL interface to figure out the location of the SPS headers and I-frames (actually the latter could probably be done with the new frame property, but not the former currently).
We should make this easier for new users firstly by providing such a circular stream in the package, and secondly by making it easier to query the location of SPS headers.
The text was updated successfully, but these errors were encountered:
There's a rather cool patch that's just landed in raspivid (raspberrypi/userland#132) which permits recording to a circular in-memory buffer and then permitting the last n seconds (where n <= the length of the buffer) to be dumped to disk on a key-press.
It's currently possible to implement this in picamera, but non-trivial as it'd involve firstly building a custom stream to replicate the circular buffer, and then dealing with the MMAL interface to figure out the location of the SPS headers and I-frames (actually the latter could probably be done with the new frame property, but not the former currently).
We should make this easier for new users firstly by providing such a circular stream in the package, and secondly by making it easier to query the location of SPS headers.
The text was updated successfully, but these errors were encountered: