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

David Barbassat david.barbassat at cristalant.fr
Wed Jun 6 00:35:23 EEST 2018


Dear Lou, 

Thanks for your quik repply... this is exactly what I need :) ... 

I will check the ZMQ filter now  ! 

If someone have different clue it could be great too ;) 

Thanks again ! 

Le 2018-06-05 23:22, Lou Logan a écrit :

> 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:
> https://ffmpeg.org/ffmpeg-filters.html#zmq_002c-azmq
> 
> crop supports the following commands usable by (a)zmq and (a)sendcmd:
> https://ffmpeg.org/ffmpeg-filters.html#Commands-12
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list