rpicam-raw
TLDR
Capture raw video for specific duration (milliseconds)
$ rpicam-raw -t 2000 -o path/to/file.raw
Capture with custom dimensions and framerate$ rpicam-raw -t 5000 --width 4056 --height 3040 -o path/to/file.raw --framerate 8
SYNOPSIS
rpicam-raw [options]
DESCRIPTION
rpicam-raw captures raw unprocessed video from a Raspberry Pi camera. Raw video preserves all sensor data without compression, suitable for post-processing.
Output files can be large due to the uncompressed nature of raw video.
PARAMETERS
-t, --timeout ms
Recording duration in milliseconds-o, --output file
Output file path--width pixels
Video width--height pixels
Video height--framerate fps
Frames per second
CAVEATS
Raw video files are very large. Ensure sufficient storage and fast media. Post-processing software required to view raw output.
HISTORY
Part of rpicam-apps, the official Raspberry Pi camera application suite using libcamera.
SEE ALSO
rpicam-vid(1), rpicam-still(1)


