Open main menu

Changes

C779

1,814 bytes added, 16:25, 9 June 2021
3、Restart raspberry pi.If all goes well, you should get a / dev / video0 device.Using "arecord - L" will tell you whether the sound card of tc358743 is loaded correctly.
==Use raspistil to take photos==
 
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&apos; Enter &apos;to take a picture, press&apos; x&apos; and then &apos;Enter&apos; 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
== Video ==