[FFmpeg-user] visualising Filtergraphs
Nicolas George
nicolas.george at normalesup.org
Fri Sep 14 11:12:52 CEST 2012
Le nonidi 29 fructidor, an CCXX, Tim Nicholson a écrit :
> > echo "scale=iw/2:ih/2:interl=1" | \
> graph2dot -o graph.tmp && dot -Tpng graph.tmp \
> -o graph.png && display graph.png
> Input pad "default" for the filter "Parsed_scale_0" of type "scale" not
> connected to any source
You need to provide it with a self-contained graph, with its inputs and
outputs:
$ tools/graph2dot <<<'testsrc , scale=iw/2:ih/2:interl=1 , nullsink'
[Parsed_testsrc_0 @ 0x186c960] size:320x240 rate:25/1 duration:-1.000000 sar:1/1
[Parsed_scale_1 @ 0x186d100] w:320 h:240 fmt:rgb24 sar:1/1 -> w:160 h:120 fmt:rgb24 sar:1/1 flags:0x2
digraph G {
node [shape=box]
rankdir=LR
"Parsed_testsrc_0\n(testsrc)" -> "Parsed_scale_1\n(scale)" [ label= "inpad:default -> outpad:default\nfmt:rgb24 w:320 h:240 tb:1/25
]"Parsed_scale_1\n(scale)" -> "Parsed_nullsink_2\n(nullsink)" [ label= "inpad:default -> outpad:default\nfmt:rgb24 w:160 h:120 tb:1/25
]}
Regards,
--
Nicolas George
More information about the ffmpeg-user
mailing list