diff options
author | Stefano Sabatini | 2011-10-02 11:25:44 +0200 |
---|---|---|
committer | Stefano Sabatini | 2011-11-16 00:32:08 +0100 |
commit | 1c43713e57b4f28707f301b8b6137ab9d7ea26f9 (patch) | |
tree | f8ce3154c4c6b8098aab5c8cdbe9368362fc332a /doc/ffprobe.texi | |
parent | 0491a2a07a44f6e5e6f34081835e402c07025fd2 (diff) |
ffprobe: add compact writer
Diffstat (limited to 'doc/ffprobe.texi')
-rw-r--r-- | doc/ffprobe.texi | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi index 9496fc95be..172e35dc4e 100644 --- a/doc/ffprobe.texi +++ b/doc/ffprobe.texi @@ -147,6 +147,58 @@ keyN=valN Metadata tags are printed as a line in the corresponding FORMAT or STREAM section, and are prefixed by the string "TAG:". +@section compact +Compact format. + +Each section is printed on a single line. +If no option is specifid, the output has the form: +@example +section|key1=val1| ... |keyN=valN +@end example + +Metadata tags are printed in the corresponding "format" or "stream" +section. A metadata tag key, if printed, is prefixed by the string +"tag:". + +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 item_sep, s +Specify the character to use for separating fields in the output line. +It must be a single printable character, it is "|" by default. + +@item nokey, nk +If set to 1 specify not to print the key of each field. Its default +value is 0. + +@item escape, e +Set the escape mode to use, default to "c". + +It can assume one of the following values: +@table @option +@item c +Perform C-like escaping. Strings containing a newline ('\n') or +carriage return ('\r'), the escaping character ('\') or the item +separator character @var{SEP} are escaped using C-like fashioned +escaping, so that a newline is converted to the sequence "\n", a +carriage return to "\r", '\' to "\\" and the separator @var{SEP} is +converted to "\@var{SEP}". + +@item csv +Perform CSV-like escaping, as described in RFC4180. Strings +containing a newline ('\n'), a carriage return ('\r'), a double quote +('"'), or @var{SEP} are enclosed in double-quotes. + +@item none +Perform no escaping. +@end table + +@end table + @section json JSON based format. |