[FFmpeg-devel] [PATCH] doc/filters: document x, y drawtext expression parameters

Stefano Sabatini stefasab at gmail.com
Tue May 1 13:29:44 CEST 2012


---
 doc/filters.texi |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index e72d34a..ec4eb5e 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1423,6 +1423,12 @@ the height of the rendered text
 
 @item text_w, tw
 the width of the rendered text
+
+ at item x, y
+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}.
 @end table
 
 If libavfilter was built with @code{--enable-fontconfig}, then
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list