Commit b90210e9 authored by Tim Nicholson's avatar Tim Nicholson Committed by Stefano Sabatini

doc/filters: clarify use of graph2dot

The GRAPH_DESCRIPTION string supplied to graph2dot must include explicitly
defined inputs and outputs which are not normally part of the command line
used in a real invocation.

This clarifies that requirement, and provides an example.
Signed-off-by: 's avatarStefano Sabatini <stefasab@gmail.com>
parent f398617b
...@@ -79,7 +79,18 @@ display graph.png ...@@ -79,7 +79,18 @@ display graph.png
@end example @end example
can be used to create and display an image representing the graph can be used to create and display an image representing the graph
described by the @var{GRAPH_DESCRIPTION} string. described by the @var{GRAPH_DESCRIPTION} string. Note that this string must be
a complete self-contained graph, with its inputs and outputs explicitly defined.
For example if your command line is of the form:
@example
ffmpeg -i infile -vf scale=640:360 outfile
@end example
your @var{GRAPH_DESCRIPTION} string will need to be of the form:
@example
nullsrc,scale=640:360,nullsink
@end example
you may also need to set the @var{nullsrc} parameters and add a @var{format}
filter in order to simulate a specific input file.
@c man end GRAPH2DOT @c man end GRAPH2DOT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment