FFmpeg 7.1
Since* 4.3
#

Scroll input video horizontally and/or vertically by constant speed.

The filter accepts the following options:

horizontal, h

Set the horizontal scrolling speed. Default is 0. Allowed range is from -1 to 1. Negative values changes scrolling direction.

vertical, v

Set the vertical scrolling speed. Default is 0. Allowed range is from -1 to 1. Negative values changes scrolling direction.

hpos

Set the initial horizontal scrolling position. Default is 0. Allowed range is from 0 to 1.

vpos

Set the initial vertical scrolling position. Default is 0. Allowed range is from 0 to 1.

#

Commands

This filter supports the following commands:

horizontal, h

Set the horizontal scrolling speed.

vertical, v

Set the vertical scrolling speed.