L
L
Lexx Xell2020-08-10 16:12:32
fmpeg
Lexx Xell, 2020-08-10 16:12:32

How to make zoom +/- in ffmpeg?

I'm trying to achieve the effect of "breathing" (first smooth zoom + to 1.2 then smooth zoom- to 1) of the background throughout the video. I am using zoompan. It turns out either zoom + or zoom- on a small segment of the video.
I use this filter:

zoompan=z='min(zoom+0.0005,1.2)':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Tikhonov, 2020-08-10
@LexxXell

And there to add sin (in_time) not?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question