aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDave Rice <dave@dericed.com>2014-07-08 23:41:47 -0400
committerPaul B Mahol <onemda@gmail.com>2014-07-10 09:34:37 +0000
commita15c5c44e262c115f5e5820b35447012aa214955 (patch)
tree27bb82835d08d1da025396ccaf6b754b9eed61c9 /doc
parenta1e3ea475ac3cffa4672877f0cc8c8d48aa99963 (diff)
downloadffmpeg-a15c5c44e262c115f5e5820b35447012aa214955.tar.gz
doc/filters: add a signalstats example
Signed-off-by: Dave Rice <dave@dericed.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index ada33a78dd..b736b3fe31 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -7746,6 +7746,22 @@ Playback video while highlighting pixels that are outside of broadcast range in
@example
ffplay example.mov -vf signalstats="out=brng:color=red"
@end example
+
+@item
+Playback video with signalstats metadata drawn over the frame.
+@example
+ffplay example.mov -vf signalstats=stat=brng+vrep+tout,drawtext=fontfile=FreeSerif.ttf:textfile=signalstat_drawtext.txt
+@end example
+
+The contents of signalstat_drawtext.txt used in the command are:
+@example
+time %@{pts:hms@}
+Y (%@{metadata:lavfi.signalstats.YMIN@}-%@{metadata:lavfi.signalstats.YMAX@})
+U (%@{metadata:lavfi.signalstats.UMIN@}-%@{metadata:lavfi.signalstats.UMAX@})
+V (%@{metadata:lavfi.signalstats.VMIN@}-%@{metadata:lavfi.signalstats.VMAX@})
+saturation maximum: %@{metadata:lavfi.signalstats.SATMAX@}
+
+@end example
@end itemize
@anchor{smartblur}