[FFmpeg-cvslog] doc/filters: drawtext additions and corrections
greg Luce
git at videolan.org
Fri Jun 21 09:33:20 EEST 2019
ffmpeg | branch: master | greg Luce <electron.rotoscope at gmail.com> | Thu Jun 20 12:08:04 2019 -0400| [18dab6175bad2864c8d19a1d1476f5a3c1130599] | committer: Gyan Doshi
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
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=18dab6175bad2864c8d19a1d1476f5a3c1130599
---
doc/filters.texi | 14 ++++++++++++--
1 file 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}.
+
+ at 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.
More information about the ffmpeg-cvslog
mailing list