Appendix B

Raspberry Pi Camera Module Quick Reference

THE RASPBERRY PI Camera Module comes with software designed to capture still images and videos, each of which has a variety of options that can control the final output. Options for raspistill and raspivid are included in this appendix. For more information, see Chapter 15, “The Raspberry Pi Camera Module”.

Shared Options

The following options, listed in alphabetical order, are shared between raspistill and raspivid. For application-specific options, see the individual raspistill and raspivid entries later in this appendix.

  • -? or --help (Help)—Displays all options and their uses.
  • -a or --annotate—Allows for text annotations to be applied to videos or images. Any text provided in quotes following this option will be printed on all images or videos captured, or the following bit fields (used in the form of -a N or --annotate N, where N is one of the following numbers or the sum of two or more numbers if multiple fields are desired) can be used to print other information or change how the text is displayed:
    • 1—Prints the text supplied by the user on the command line.
    • 2—Prints the text supplied by an application calling the utility as a module.
    • 4—Prints the current date.
    • 8—Prints the current time.
    • 16—Prints the camera's shutter settings.
    • 32—Prints the camera's CAF settings.
    • 64—Prints the camera's gain settings.
    • 128—Prints the camera's lens settings.
    • 256—Prints the camera's motion settings.
    • 512—Prints the current frame number.

Get Raspberry Pi User Guide, 4th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.