Skip to content

Add description for metadata(-format) CLI options #4112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions documentation/asciidoc/computers/camera/rpicam_options_common.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -571,3 +571,24 @@ The number of buffers to allocate for still image capture or for video recording
==== `viewfinder-buffer-count`

As the `buffer-count` option, but applies when running in preview mode (that is `rpicam-hello` or the preview, not capture, phase of `rpicam-still`).

==== `metadata`

Save captured image metadata to a file or `-` for stdout. The fields in the metadata output will depend on the camera model in use.

See also `metadata-format`.

==== `metadata-format`

Format to save the metadata in. Accepts the following values:

* `txt` for text format
* `json` for JSON format

In text format, each line will have the form

key=value

In JSON format, the output is a JSON object.

This option does nothing unless `--metadata` is also specified.
Loading