rpicam-raw
Capture a raw video on a Raspberry Pi camera.
TLDR
Capture a video for a specific amount of seconds
$ rpicam-raw -t [2000]} -o [path/to/file.raw]
Change video dimensions and framerate
$ rpicam-raw -t [5000] --width [4056] --height [3040] -o [path/to/file.raw] --framerate [8]