doc/ffprobe: factorize definition of writers syntax

The writers option syntax was unified.
This commit is contained in:
Stefano Sabatini 2012-11-16 10:25:16 +01:00
parent 83cab07a4c
commit cb309922cb

View File

@ -201,8 +201,9 @@ Read @var{input_file}.
A writer defines the output format adopted by @command{ffprobe}, and will be A writer defines the output format adopted by @command{ffprobe}, and will be
used for printing all the parts of the output. used for printing all the parts of the output.
A writer may accept one or more arguments, which specify the options to A writer may accept one or more arguments, which specify the options
adopt. to adopt. The options are specified as a list of @var{key}=@var{value}
pairs, separated by ":".
A description of the currently available writers follows. A description of the currently available writers follows.
@ -221,9 +222,6 @@ keyN=valN
Metadata tags are printed as a line in the corresponding FORMAT or Metadata tags are printed as a line in the corresponding FORMAT or
STREAM section, and are prefixed by the string "TAG:". STREAM section, and are prefixed by the string "TAG:".
This writer accepts options as a list of @var{key}=@var{value} pairs,
separated by ":".
A description of the accepted options follows. A description of the accepted options follows.
@table @option @table @option
@ -253,9 +251,6 @@ Metadata tags are printed in the corresponding "format" or "stream"
section. A metadata tag key, if printed, is prefixed by the string section. A metadata tag key, if printed, is prefixed by the string
"tag:". "tag:".
This writer accepts options as a list of @var{key}=@var{value} pairs,
separated by ":".
The description of the accepted options follows. The description of the accepted options follows.
@table @option @table @option
@ -307,9 +302,6 @@ A free-form output where each line contains an explicit key=value, such as
directly embedded in sh scripts as long as the separator character is an directly embedded in sh scripts as long as the separator character is an
alphanumeric character or an underscore (see @var{sep_char} option). 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. The description of the accepted options follows.
@table @option @table @option
@ -372,9 +364,6 @@ JSON based format.
Each section is printed using JSON notation. Each section is printed using JSON notation.
This writer accepts options as a list of @var{key}=@var{value} pairs,
separated by ":".
The description of the accepted options follows. The description of the accepted options follows.
@table @option @table @option
@ -401,9 +390,6 @@ Note that the output issued will be compliant to the
(@option{unit}, @option{prefix}, @option{byte_binary_prefix}, (@option{unit}, @option{prefix}, @option{byte_binary_prefix},
@option{sexagesimal} etc.) are specified. @option{sexagesimal} etc.) are specified.
This writer accepts options as a list of @var{key}=@var{value} pairs,
separated by ":".
The description of the accepted options follows. The description of the accepted options follows.
@table @option @table @option