rpicam-hello --list-camerasLists connected cameras with their sensor modes and resolutions.
Capture stills and video from Raspberry Pi camera modules with rpicam-still, rpicam-vid and friends (formerly libcamera-*).
sudo apt install rpicam-appsrpicam-still -o <file>Takes a JPEG after a short preview for auto-exposure.
Example
rpicam-still -o photo.jpgrpicam-still -n -t 1 -o <file>No preview and minimal delay — useful in scripts.
Example
rpicam-still -n -t 1 -o quick.jpgrpicam-still --width <w> --height <h> -o <file>Sets the resolution.
Example
rpicam-still --width 1920 --height 1080 -o hd.jpgrpicam-still -r -o <file>Also saves a DNG raw file.
Example
rpicam-still -r -o raw.jpgrpicam-still --timelapse <ms> -t <ms> -o <pattern>One frame a minute for an hour.
Example
rpicam-still --timelapse 60000 -t 3600000 -o tl_%04d.jpgrpicam-still --shutter <us> --gain <g> -o <file>Manual exposure: a 2-second shutter at base gain.
Example
rpicam-still --shutter 2000000 --gain 1 -o night.jpgrpicam-still --hflip --vflip -o <file>Flips the image when the camera is mounted upside down.
rpicam-vid -t <ms> -o <file>Records raw H.264 for the given milliseconds.
Example
rpicam-vid -t 10000 -o clip.h264rpicam-vid -t <ms> --codec libav -o <file>.mp4Records straight to MP4.
Example
rpicam-vid -t 10000 --codec libav -o clip.mp4rpicam-vid -t 0 --inline --listen -o tcp://0.0.0.0:<port>Streams video over TCP; open tcp://<pi>:8888 in VLC or ffplay.
Example
rpicam-vid -t 0 --inline --listen -o tcp://0.0.0.0:8888rpicam-vid --framerate <fps> --width <w> --height <h> -o <file>Sets resolution and frame rate.
Example
rpicam-vid --framerate 60 --width 1280 --height 720 -t 5000 -o fast.h264The Raspberry Pi configuration tool, interactive or scriptable: enable interfaces, set locale, expand storage and tune boot options.
Queries the Raspberry Pi’s VideoCore firmware: temperature, clock speeds, voltages, throttling state and memory split.
Reading and driving Raspberry Pi GPIO pins from the shell using pinctrl and the libgpiod utilities (gpiodetect, gpioget, gpioset).
Utilities to detect, read and write devices on an I²C bus: i2cdetect, i2cget, i2cset and i2cdump.