<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>

CC BY-SA 4.0
2019-03-25T16:28:38.987Z
2019-03-25T16:28:38.987Z
Gyan
<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>

CC BY-SA 4.0
2019-03-25T16:36:44.587Z
*worth mentioning in the docs* --> will appear in a few hours.
Gyan
<ffmpeg>
ffmpeg zoompan filter zoom value limits
Serge
# ffmpeg zoompan filter zoom value limits

(Asked by: username_0 on 2019-03-25)

Does ffmpeg 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 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.


---

