I am using ffmpeg to read a rtmp stream, add a filter such as a blur box and create a different rtmp stream.
the command for example looks like:
ffmpeg -i <rtmp_source_url> -filter_complex "split=2[a][b];[a]crop=w=300:h=300:x=0:y=0[c];[c]boxblur=luma_radius=10:luma_power=1[blur];[b][blur]overlay=x=0:y=0[output]" -map [output] -acodec aac -vcodec libx264 -tune zerolatency -f flv <rtmp_output_url>
where rtmp_source_url is where the camera/drone is sending the flux and rtmp_output_url is the resuting video with the blur box.
the blur box need to move, either because the target moved or the camera did. I want to do so without interrupting the output streaming.
I am using fluent-ffmpeg to create the ffmpeg process while a different part of the program compute where the blur box shall be.
thanks for you help and time!