Open main menu

Raspistill

Revision as of 13:06, 27 December 2021 by Harry (talk | contribs) (Created page with "==Use raspistill to take photos== Note: raspistill is removed from Raspberry pi Bullseys OS. Raspistil function: run the camera at a specified time, and capture jpg images i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Use raspistill to take photos

Note: raspistill is removed from Raspberry pi Bullseys OS.

Raspistil function: run the camera at a specified time, and capture jpg images if necessary.

Format:raspistill [options]

Main image parameters and commands:

-?, --Help: help document

-w. -- width: set the image width < size > width

-h. -- height: set image height < size > height

-q. -- Quality: set JPEG quality < 0 to 100 >

-r. -- raw: add raw raw Bayer data to JPEG metadata

-o. -- output: output file name < file name >,

-l. -- Latest: link the latest complete image to the specified file < file name >

-v. -- verb: output details when running the camera

-t. -- timeout: the time delay is specified when photographing and closing. If it is not specified, the default is 5S

-e. -- encoding: encode to output the specified format file (jpg, BMP, GIF, PNG)

-TL, - timelapse: take one picture every < MS > at intervals

-k. -- keypress: press the key to trigger, press' Enter 'to take a picture, press' x' and then 'Enter' to exit

-s. - signal: signal triggered, waiting for another process signal to take a picture

-GC, - glcapture: capture GL frame buffer instead of camera image

-Set, - settings: retrieve the camera settings and write them to stdout

-CS, - camselect: select camera device < digital >, default 0


The above is just a list of some common commands. More detailed commands can be used by Baidu, Google or viewing help documents. Here are some specific examples:

After a delay of two seconds (in milliseconds), take a picture and save it as

image.jpg.raspistill -t 2000 -o image.jpg

Take a custom size photo.raspistill -t 2000 -o image.jpg -w 640 -h 480

Record a 5 second video clip (1080p25) using the default settings.raspivid -t 5000 -o

video.h264

Save to file a 5 second encoded camera stream image raspivid - t 5000 - O - >

My_file.h264

Add your comment
Geekworm Wiki welcomes all comments. If you do not want to be anonymous, register or log in. It is free.


You need to log in to edit this page.

Log in
Sign up