From fd0c83c6667de5b1ebe40f115a746fddea558168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Tue, 29 May 2012 23:22:39 +0200 Subject: ffprobe: add flat output format. --- doc/ffprobe.texi | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'doc/ffprobe.texi') 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. -- cgit v1.2.3