[FFmpeg-user] Way to encode and crop dynamically by keyboard

Lou Logan lou at lrcd.com
Wed Jun 6 00:22:20 EEST 2018

On Tue, Jun 5, 2018, at 1:06 PM, David Barbassat wrote:
> Dear All, 
> I am looking for a way to encode by ffmpeg a video but with a dynamic
> crop provided by shell variables 
> For example is it possible to use ${x} and ${y} in the command line and
> change them during the encoding process without launch the encoding each
> time ? 
> Like a crop motion :) 

Should be possible with the zmq filter:

crop supports the following commands usable by (a)zmq and (a)sendcmd:

More information about the ffmpeg-user mailing list