mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-12-05 01:57:02 +00:00
doc/filters: add a signalstats example
Signed-off-by: Dave Rice <dave@dericed.com>
This commit is contained in:
parent
a1e3ea475a
commit
a15c5c44e2
@ -7745,6 +7745,22 @@ ffprobe -f lavfi movie=example.mov,signalstats -show_entries frame_tags=lavfi.si
|
||||
Playback video while highlighting pixels that are outside of broadcast range in red.
|
||||
@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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user