Answers.Body: <p>zoom value is capped between <code>1</code> and <code>10</code>.</p>
  
  <p><em>I wish ffmpeg had some versatile capability of arbitrary zoom and positioninig video input without limitations</em></p>
  
  <p>Patch welcome.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-25T16:28:38.987Z
Answers.LastActivityDate: 2019-03-25T16:28:38.987Z
Answers.UserDisplayName: Gyan
Body: <p>Does ffmpeg <a href="http://ffmpeg.org/ffmpeg-filters.html#zoompan" rel="nofollow noreferrer">zoompan</a> filter has a cap for <code>z</code> value? I tried a simple test that stops zooming up at <code>10.5</code>. Is it that <code>10.5</code> is the maximum value for the <code>z</code> parameter or is there a limit for maximum frame dimensions?</p>
  
  <p>zoompan=z='print(zoom + 0.5)'</p>
  
  <p>Output:</p>
  
  <pre><code>2.000000
  2.500000
  3.000000
  3.500000
  4.000000
  4.500000
  5.000000
  5.500000
  6.000000
  6.500000
  7.000000
  7.500000
  8.000000
  8.500000
  9.000000
  9.500000
  10.000000
  10.500000
  Last message repeated 26 times
  </code></pre>
  
  <p>If there is such a limit its worth mentioning in the <a href="http://ffmpeg.org/ffmpeg-filters.html#zoompan" rel="nofollow noreferrer">docs</a> as well as the minimum of 1. That matters when choosing the tool to implement a certain effect.</p>
  
  <p>I wish ffmpeg had some versatile capability of arbitrary zoom and positioning video input without limitations, like in any compositing software.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-03-25T16:36:44.587Z
Comments.Text: *worth mentioning in the docs* --> will appear in a few hours.
Comments.UserDisplayName: Gyan
Tags: <ffmpeg>
Title: ffmpeg zoompan filter zoom value limits
UserDisplayName: Serge
ThreadText: # ffmpeg zoompan filter zoom value limits
  
  (Asked by: username_0 on 2019-03-25)
  
  Does ffmpeg [zoompan](http://ffmpeg.org/ffmpeg-filters.html#zoompan) filter has a cap for `z` value? I tried a simple test that stops zooming up at `10.5`. Is it that `10.5` is the maximum value for the `z` parameter or is there a limit for maximum frame dimensions?
  
  zoompan=z='print(zoom + 0.5)'
  
  Output:
  
  ```
  2.000000
  2.500000
  3.000000
  3.500000
  4.000000
  4.500000
  5.000000
  5.500000
  6.000000
  6.500000
  7.000000
  7.500000
  8.000000
  8.500000
  9.000000
  9.500000
  10.000000
  10.500000
  Last message repeated 26 times
  
  ```
  
  If there is such a limit its worth mentioning in the [docs](http://ffmpeg.org/ffmpeg-filters.html#zoompan) as well as the minimum of 1. That matters when choosing the tool to implement a certain effect.
  
  I wish ffmpeg had some versatile capability of arbitrary zoom and positioning video input without limitations, like in any compositing software.
  
  **Tags:** ffmpeg
  
  > **Comments:**
  > **username_1**: *worth mentioning in the docs* --> will appear in a few hours.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-03-25. Score: 1 | Accepted answer
  
  zoom value is capped between `1` and `10`.
  
  *I wish ffmpeg had some versatile capability of arbitrary zoom and positioninig video input without limitations*
  
  Patch welcome.
  
  
  ---
  
  