[FFmpeg-user] How to pan hozitonally on a video?

Paul B Mahol onemda at gmail.com
Tue Jan 26 19:35:21 CET 2016


On 1/26/16, Sub Phil <phil4000n at gmail.com> wrote:
> RE:https://www.ffmpeg.org/ffmpeg-filters.html#zoompan
>
> Hi,
>
> I have a 30 sec video in 1920x1080 at 25fps
>
> I want to pan/crop with a constant rectangle of 1200x980
>
> It rectangle starts at position (0,0) till t=10 sec
> than from t=10 sec to t=20sec I wish my rectangle to move at a
> constant/linear speed from position (0,0) to (400,10)
>
> Than from t=20 sec onwards, rectangle stays at (400,10).
>
> How can I do that??

Using crop filter and some kind of expressions for x and y.


More information about the ffmpeg-user mailing list