mirror of https://github.com/CrimsonTome/tldr.git
rpicam-{hello,jpeg,raw,still,vid}: add page (#12078)
* rpicam-{hello,jpeg,raw,still,vid}: add page --------- Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>pull/23/head
parent
c7868a7c9c
commit
59f2ba32cd
|
@ -0,0 +1,12 @@
|
||||||
|
# rpicam-hello
|
||||||
|
|
||||||
|
> View a live camera stream using a Raspberry Pi camera.
|
||||||
|
> More information: <https://www.raspberrypi.com/documentation/computers/camera_software.html#rpicam-hello>.
|
||||||
|
|
||||||
|
- Display a camera preview stream for a specific amount of time (in milliseconds):
|
||||||
|
|
||||||
|
`rpicam-hello -t {{time}}`
|
||||||
|
|
||||||
|
- Tune the configuration for a particular camera sensor:
|
||||||
|
|
||||||
|
`rpicam-hello --tuning-file {{/usr/share/libcamera/ipa/rpi/path/to/config.json}}`
|
|
@ -0,0 +1,16 @@
|
||||||
|
# rpicam-jpeg
|
||||||
|
|
||||||
|
> Capture and store a JPEG image using a Raspberry Pi camera.
|
||||||
|
> More information: <https://www.raspberrypi.com/documentation/computers/camera_software.html#rpicam-jpeg>.
|
||||||
|
|
||||||
|
- Capture an image and name the file:
|
||||||
|
|
||||||
|
`rpicam-jpeg -o {{path/to/file.jpg}}`
|
||||||
|
|
||||||
|
- Capture an image with set dimensions:
|
||||||
|
|
||||||
|
`rpicam-jpeg -o {{path/to/file.jpg}} --width {{1920}} --height {{1080}}`
|
||||||
|
|
||||||
|
- Capture an image with an exposure of 20 seconds and a gain of 150%:
|
||||||
|
|
||||||
|
`rpicam-jpeg -o {{path/to/file.jpg}} --shutter 20000 --gain 1.5`
|
|
@ -0,0 +1,12 @@
|
||||||
|
# rpicam-raw
|
||||||
|
|
||||||
|
> Capture a raw video on a Raspberry Pi camera.
|
||||||
|
> More information: <https://www.raspberrypi.com/documentation/computers/camera_software.html#rpicam-raw>.
|
||||||
|
|
||||||
|
- 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}}`
|
|
@ -0,0 +1,16 @@
|
||||||
|
# rpicam-still
|
||||||
|
|
||||||
|
> Capture and store a photo using a Raspberry Pi camera with legacy features missing from `rpicam-jpeg`.
|
||||||
|
> More information: <https://www.raspberrypi.com/documentation/computers/camera_software.html#rpicam-still>.
|
||||||
|
|
||||||
|
- Capture a photo with different encoding:
|
||||||
|
|
||||||
|
`rpicam-still -e {{bmp|png|rgb|yuv420}} -o {{path/to/file.{{bmp|png|rgb|yuv420}}}}`
|
||||||
|
|
||||||
|
- Capture a raw image:
|
||||||
|
|
||||||
|
`rpicam-still -r -o {{path/to/file.jpg}}`
|
||||||
|
|
||||||
|
- Capture a 100 second exposure image:
|
||||||
|
|
||||||
|
`rpicam-still -o {{path/to/file.jpg}} --shutter 100000`
|
|
@ -0,0 +1,13 @@
|
||||||
|
# rpicam-vid
|
||||||
|
|
||||||
|
> Capture a video using a Raspberry Pi camera.
|
||||||
|
> Some subcommands such as `vlc` have their own usage documentation.
|
||||||
|
> More information: <https://www.raspberrypi.com/documentation/computers/camera_software.html#rpicam-vid>.
|
||||||
|
|
||||||
|
- Capture a 10 second video:
|
||||||
|
|
||||||
|
`rpicam-vid -t 10000 -o {{path/to/file.h264}}`
|
||||||
|
|
||||||
|
- Play the video using `vlc`:
|
||||||
|
|
||||||
|
`vlc {{path/to/file.h264}}`
|
Loading…
Reference in New Issue