[FFmpeg-cvslog] doc/filters: add one more zoompan example

Paul B Mahol git at videolan.org
Fri Jun 12 19:34:13 CEST 2015


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Jun 12 17:33:13 2015 +0000| [ce3bcb9479a4b28bd6ea69ef01f06d5964d130ad] | committer: Paul B Mahol

doc/filters: add one more zoompan example

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ce3bcb9479a4b28bd6ea69ef01f06d5964d130ad
---

 doc/filters.texi |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/filters.texi b/doc/filters.texi
index 4b5c3c1..54b3464 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
+
+ at item
+Zoom-in up to 1.5 and pan always at center of picture:
+ at example
+zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'
+ at end example
 @end itemize
 
 @c man end VIDEO FILTERS



More information about the ffmpeg-cvslog mailing list