Picamera2

Latest version: v0.3.25

Safety actively analyzes 714919 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

0.3.13

Added

* Pi 5 support added. Includes platform detection, new raw formats etc.
* Libav encoders added. These will be used as the H264 and MJPEG encoder on Pi 5.

Changed

* Frame buffers are now cached to improve performance.
* Encoders should no longer drop frames when closed.
* FfmpegOutput should stop properly when there's an audio stream.
* Updates for the latest version of libcamera, including sensor configuration.

0.3.12

Added

Changed

* Small bug that prevented the configuration of USB cams fixed.

0.3.11

Added

Changed

* The search path for tuning files (after the libcamera re-organisation) has been fixed.
* The built-in configuration objects (picamera2.preview_configuration etc.) are updated to work better with raw streams now that the latest libcamera is more efficient when we use them.

0.3.10

Added

* Support for running multiple encoders, either on the same or different streams.
* Pathlib objects now supported.

Changed

* The camera can be stopped more quickly.
* Fix problem passing modes from the sensor mode list to the configure methods.
* H264 encoder quality was having no effect on bitrate - fixed.
* ffmpegoutput - wait correctly for it to finish when we stop it.
* Amount of CMA memory required is reduced for many use cases.

0.3.9

Unreleased (on "next" branch)

Added

* MJPEG server example added that uses the hardware MJPEG encoder.
* Example showing previews from two cameras in a single Qt app.
* H264 encoder can accept a frame time interval to be put in the SPS headers.
* H264 encoder should now advertise the correct level in streams for higher bitrates.
* Exif DateTime and DateTimeOriginal tags are now added.
* H264 encoder now supports a constant quality parameter.

Changed

* JpegEncoder chooses pixel format automatically from the stream format.
* Work around OpenGL import error on 64-bit OS Lite images.
* FFmpeg: use the audio_samplerate parameter correctly.
* camera_controls are converted to native Python types (tuples, not libcamera.Rectangle objects).
* Camera configuration will fail if an encoder is still running.
* Encoder interface tidied to make it easier to run a second encode "by hand" (example included).
* Picamera2 updated for the latest libcamera which changes colour space handling.
* Encoder outputs no longer close files that they didn't open.
* CircularOutput class now flushes the fifo correctly when outputs are closed.
* Bug fix when capturing several DNG files back to back.

0.3.8

Added

* Support for cameras that have autofocus integrated properly with libcamera.
* New switch_mode_and_capture_request method.

Changed

* Fewer frame drops when recording videos.
* Fixes when closing a preview window with the mouse.

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.