aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-06-12 17:33:13 +0000
committerPaul B Mahol <onemda@gmail.com>2015-06-12 17:34:05 +0000
commitce3bcb9479a4b28bd6ea69ef01f06d5964d130ad (patch)
tree5155c2f1a2bda262a600704efd2c938fe08a0965 /doc
parent7e240f95818310ed721321e62130aa1c69f9cbe6 (diff)
downloadffmpeg-ce3bcb9479a4b28bd6ea69ef01f06d5964d130ad.tar.gz
doc/filters: add one more zoompan example
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 4b5c3c11af..54b34644c4 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -10149,6 +10149,12 @@ Zoom-in up to 1.5 and pan at same time to some spot near center of picture:
@example
zoompan=z='min(zoom+0.0015,1.5)':d=700:x='if(gte(zoom,1.5),x,x+1/a)':y='if(gte(zoom,1.5),y,y+1)':s=640x360
@end example
+
+@item
+Zoom-in up to 1.5 and pan always at center of picture:
+@example
+zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'
+@end example
@end itemize
@c man end VIDEO FILTERS