doc/filters: add one more zoompan example
authorPaul B Mahol <onemda@gmail.com>
Fri, 12 Jun 2015 17:33:13 +0000 (17:33 +0000)
committerPaul B Mahol <onemda@gmail.com>
Fri, 12 Jun 2015 17:34:05 +0000 (17:34 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
doc/filters.texi

index 4b5c3c1..54b3464 100644 (file)
@@ -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