diff options
author | Dave Rice <dave@dericed.com> | 2014-07-09 07:41:47 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2014-07-10 13:34:37 +0400 |
commit | a15c5c44e262c115f5e5820b35447012aa214955 (patch) | |
tree | 27bb82835d08d1da025396ccaf6b754b9eed61c9 /doc | |
parent | a1e3ea475ac3cffa4672877f0cc8c8d48aa99963 (diff) |
doc/filters: add a signalstats example
Signed-off-by: Dave Rice <dave@dericed.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 16 |
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} |