Skip to content

Commit c7caa15

Browse files
authored
Merge pull request #4112 from pedro-w/metadata-docs
Add description for metadata(-format) CLI options
2 parents 34c51dd + 864db21 commit c7caa15

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

documentation/asciidoc/computers/camera/rpicam_options_common.adoc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,3 +571,24 @@ The number of buffers to allocate for still image capture or for video recording
571571
==== `viewfinder-buffer-count`
572572
573573
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`).
574+
575+
==== `metadata`
576+
577+
Save captured image metadata to a file or `-` for stdout. The fields in the metadata output will depend on the camera model in use.
578+
579+
See also `metadata-format`.
580+
581+
==== `metadata-format`
582+
583+
Format to save the metadata in. Accepts the following values:
584+
585+
* `txt` for text format
586+
* `json` for JSON format
587+
588+
In text format, each line will have the form
589+
590+
key=value
591+
592+
In JSON format, the output is a JSON object.
593+
594+
This option does nothing unless `--metadata` is also specified.

0 commit comments

Comments
 (0)