← 返回命令列表

Linux command

rpicam-still 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Example

rpicam-still -n -o path/to/file.jpg

Example

rpicam-still -e png -o path/to/file.png

Example

rpicam-still -r -o path/to/file.jpg

Example

rpicam-still --shutter 100000 -o path/to/file.jpg

Example

rpicam-still --width 1920 --height 1080 -o path/to/file.jpg

Example

rpicam-still -t 600000 --timelapse 10000 -o image%04d.jpg

说明

rpicam-still captures photos with additional format options and features not available in rpicam-jpeg. It supports multiple output formats and raw sensor data capture. This tool provides more control over image capture than the simpler rpicam-jpeg.

参数

-o, --output _file_
Output file path (use _%d_ for timelapse numbering).
-e, --encoding _format_
Output format (jpg, png, bmp, rgb, yuv420).
-r, --raw
Also save raw Bayer sensor data as a DNG file.
-n, --nopreview
Disable the preview window.
-t, --timeout _ms_
Duration of preview before capture in milliseconds (default: 5000).
--immediate
Skip the preview phase and capture immediately.
--timelapse _ms_
Capture images every _ms_ milliseconds until timeout.
--width _px_, --height _px_
Output image dimensions.
-q, --quality _0-100_
JPEG compression quality.
--shutter _microseconds_
Manual exposure time.
--gain _value_
Analog gain (ISO multiplier).
--awb _mode_
Auto white balance mode (auto, incandescent, tungsten, fluorescent, indoor, daylight, cloudy).

FAQ

What is the rpicam-still command used for?

rpicam-still captures photos with additional format options and features not available in rpicam-jpeg. It supports multiple output formats and raw sensor data capture. This tool provides more control over image capture than the simpler rpicam-jpeg.

How do I run a basic rpicam-still example?

Run `rpicam-still -n -o path/to/file.jpg` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -o, --output _file_ do in rpicam-still?

Output file path (use _%d_ for timelapse numbering).