summaryrefslogtreecommitdiff
path: root/doc/ffprobe.texi
diff options
context:
space:
mode:
authorGyan Doshi <ffmpeg@gyani.pro>2021-05-01 17:37:34 +0530
committerGyan Doshi <ffmpeg@gyani.pro>2021-05-05 15:04:54 +0530
commit7c451b609c267462de152895634902f14c3ea60a (patch)
tree976c59a64e88d619684e44ed48f3ae0c4dafa38a /doc/ffprobe.texi
parentd055af5e7ba96b7d2c72a2ff0d7b7d614c2b46a7 (diff)
ffprobe: add option to control optional fields display
Diffstat (limited to 'doc/ffprobe.texi')
-rw-r--r--doc/ffprobe.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi
index d7fab4ff40..59a397a225 100644
--- a/doc/ffprobe.texi
+++ b/doc/ffprobe.texi
@@ -335,6 +335,12 @@ Show information about all pixel formats supported by FFmpeg.
Pixel format information for each format is printed within a section
with name "PIXEL_FORMAT".
+@item -show_optional_fields @var{value}
+Some writers viz. JSON and XML, omit the printing of fields with invalid or non-applicable values,
+while other writers always print them. This option enables one to control this behaviour.
+Valid values are @code{always}/@code{1}, @code{never}/@code{0} and @code{auto}/@code{-1}.
+Default is @var{auto}.
+
@item -bitexact
Force bitexact output, useful to produce output which is not dependent
on the specific build.