Browse Source

doc/filters: add one more zoompan example

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.8
Paul B Mahol 10 years ago
parent
commit
ce3bcb9479
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      doc/filters.texi

+ 6
- 0
doc/filters.texi View 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


Loading…
Cancel
Save