Jump to content

Libcamera

From ArchWiki

Libcamera is a camera support library. It includes support for cameras that have poor or no support by upstream drivers.

Installation

The libcamera package is available from the Extra repository. pipewire-libcamera can be used to add support to pipewire.

Usage

For applications that support it, libcamera can be used as is. Some applications need to use V4L2, so libcamerify from libcamera-tools can use LD_PRELOAD to add a virtual V4L2 device that points to libcamera, for example running cheese through this virtual device:

$ libcamerify cheese

Debugging

Running qcam as provided by libcamera-tools can show whether the camera in use is working even if other software does not support the libcamera APIs.

See Also

Libcamera website

IPU6 camera support/guide in Fedora, including ways to debug libcamera

Enabling/debugging libcamera in Firefox