Hi all, I am updating this patch for the addroi filter to now include the 
ability to dynamically move the region of interest via message passing.

Through the ZeroMQ library or similar, new regions of interest in a video that 
is in the process of being encoded can now be sent through the command line. 
This works very well for live streams using FFmpeg.

An example of use will be as follows:

./ffmpeg -i <input_video> -c:v libx264 -crf <NUM_VALUE> -vf 
"addroi=iw-200:ih-200:iw/2:ih/2:-1,zmq" -f dash /var/www/html/dash/file.mpd

In case you need to change it, just execute this command changing the 
attributes you want to set:

echo Parsed_addroi_0 reinit x=200:y=200:w=100:h=100 | ./zmqsend

Attachment: 0001-addroi-filter-Now-it-can-be-dynamically-moved-with-z.patch
Description: 0001-addroi-filter-Now-it-can-be-dynamically-moved-with-z.patch

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to