Linux command
rpicam-vid 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Capture
rpicam-vid -t 10000 -o path/to/file.h264
说明
rpicam-vid captures encoded video using a Raspberry Pi camera. By default it produces H.264 encoded video, suitable for direct playback or further processing. The tool supports various output formats and encoding options for different use cases.
参数
- -t, --timeout _ms_
- Recording duration in milliseconds
- -o, --output _file_
- Output file path (.h264, .mp4, etc.)
FAQ
What is the rpicam-vid command used for?
rpicam-vid captures encoded video using a Raspberry Pi camera. By default it produces H.264 encoded video, suitable for direct playback or further processing. The tool supports various output formats and encoding options for different use cases.
How do I run a basic rpicam-vid example?
Run `rpicam-vid -t 10000 -o path/to/file.h264` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -t, --timeout _ms_ do in rpicam-vid?
Recording duration in milliseconds