summaryrefslogtreecommitdiff
path: root/doc/ffprobe.texi
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-05-29 23:22:39 +0200
committerClément Bœsch <ubitux@gmail.com>2012-06-01 21:06:06 +0200
commitfd0c83c6667de5b1ebe40f115a746fddea558168 (patch)
tree1c686cd4d2264a31a31475f3df3ccb6880313872 /doc/ffprobe.texi
parentdb839544d6154a244225774f43fc1510e2bc97b3 (diff)
downloadffmpeg-fd0c83c6667de5b1ebe40f115a746fddea558168.tar.gz
ffprobe: add flat output format.
Diffstat (limited to 'doc/ffprobe.texi')
-rw-r--r--doc/ffprobe.texi29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi
index a725c37676..f5fdb5b28c 100644
--- a/doc/ffprobe.texi
+++ b/doc/ffprobe.texi
@@ -269,6 +269,35 @@ CSV format.
This writer is equivalent to
@code{compact=item_sep=,:nokey=1:escape=csv}.
+@section flat
+Flat format.
+
+A free-form output where each line contains an explicit key=value, such as
+"streams.stream.3.tags.foo=bar". The output is shell escaped, so it can be
+directly embedded in sh scripts as long as the separator character is an
+alphanumeric character or an underscore (see @var{sep_char} option).
+
+This writer accepts options as a list of @var{key}=@var{value} pairs,
+separated by ":".
+
+The description of the accepted options follows.
+
+@table @option
+@item sep_char, s
+Separator character used to separate the chapter, the section name, IDs and
+potential tags in the printed field key.
+
+Default value is '.'.
+
+@item hierarchical, h
+Specify if the section name specification should be hierarchical. If
+set to 1, and if there is more than one section in the current
+chapter, the section name will be prefixed by the name of the
+chapter. A value of 0 will disable this behavior.
+
+Default value is 1.
+@end table
+
@section ini
INI format output.