HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

cam — Frontend tool for `libcamera`. See also: `v4l2-ctl`. More information: <https://libcamera.org/docs.h

Submitted by: @import:tldr-pages··
0
Viewed 0 times
libcameracommandfrontendclitoolcamforsee
linux

Problem

How to use the cam command: Frontend tool for libcamera. See also: v4l2-ctl. More information: <https://libcamera.org/docs.html>.

Solution

cam — Frontend tool for libcamera. See also: v4l2-ctl. More information: <https://libcamera.org/docs.html>.

List available cameras:
cam {{[-l|--list]}}


List controls of a camera:
cam {{[-c|--camera]}} {{camera_index}} --list-controls


Write frames to a folder:
cam {{[-c|--camera]}} {{camera_index}} {{[-C|--capture=]}}{{frames_to_capture}} {{[-F|--file]}}


Display camera feed in a window:
cam {{[-c|--camera]}} {{camera_index}} {{[-C|--capture]}} {{[-S|--sdl]}}

Code Snippets

List available cameras

cam {{[-l|--list]}}

List controls of a camera

cam {{[-c|--camera]}} {{camera_index}} --list-controls

Write frames to a folder

cam {{[-c|--camera]}} {{camera_index}} {{[-C|--capture=]}}{{frames_to_capture}} {{[-F|--file]}}

Display camera feed in a window

cam {{[-c|--camera]}} {{camera_index}} {{[-C|--capture]}} {{[-S|--sdl]}}

Context

tldr-pages: linux/cam

Revisions (0)

No revisions yet.