aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorgreg Luce <electron.rotoscope@gmail.com>2019-06-20 12:08:04 -0400
committerGyan Doshi <ffmpeg@gyani.pro>2019-06-21 11:58:50 +0530
commit18dab6175bad2864c8d19a1d1476f5a3c1130599 (patch)
tree7d1a782b3baa18ccd239fe5639d85127081bd89e /doc
parenta1a8815220fcb844b645ce32cb1593e744798419 (diff)
downloadffmpeg-18dab6175bad2864c8d19a1d1476f5a3c1130599.tar.gz
doc/filters: drawtext additions and corrections
Document the pict_type constant. Clarify availability of metadata. Minor grammar fixes. Written with the help of Gyan and kepstin
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi14
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 3313f96bd4..2d9af46a6b 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -8962,7 +8962,10 @@ the width of the rendered text
the x and y offset coordinates where the text is drawn.
These parameters allow the @var{x} and @var{y} expressions to refer
-each other, so you can for example specify @code{y=x/dar}.
+to each other, so you can for example specify @code{y=x/dar}.
+
+@item pict_type
+A one character description of the current frame's picture type.
@end table
@anchor{drawtext_expansion}
@@ -9032,11 +9035,18 @@ The first argument is mandatory and specifies the metadata key.
The second argument is optional and specifies a default value, used when the
metadata key is not found or empty.
+Available metadata can be identified by inspecting entries
+starting with TAG included within each frame section
+printed by running @code{ffprobe -show_frames}.
+
+String metadata generated in filters leading to
+the drawtext filter are also available.
+
@item n, frame_num
The frame number, starting from 0.
@item pict_type
-A 1 character description of the current picture type.
+A one character description of the current picture type.
@item pts
The timestamp of the current frame.