Skip to content
Snippets Groups Projects
Commit ce3bcb94 authored by Paul B Mahol's avatar Paul B Mahol
Browse files

doc/filters: add one more zoompan example


Signed-off-by: default avatarPaul B Mahol <onemda@gmail.com>
parent 7e240f95
No related branches found
No related tags found
No related merge requests found
...@@ -10149,6 +10149,12 @@ Zoom-in up to 1.5 and pan at same time to some spot near center of picture: ...@@ -10149,6 +10149,12 @@ Zoom-in up to 1.5 and pan at same time to some spot near center of picture:
@example @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 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 @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 @end itemize
@c man end VIDEO FILTERS @c man end VIDEO FILTERS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment