On 3/27/20, Michael Koch <[email protected]> wrote: > Am 27.03.2020 um 10:29 schrieb Paul B Mahol: >> On 3/27/20, Michael Koch <[email protected]> wrote: >>> Am 27.03.2020 um 10:10 schrieb Paul B Mahol: >>>> On 3/27/20, foxtail mega <[email protected]> wrote: >>>>> Actually I meant when ffmpeg is running, I want to send parameters to >>>>> that >>>>> running ffmpeg instance and that should change the filter_complex >>>>> overlay >>>>> parameters in the next frame of processing. >>>>> >>>>> Using expression is like hard coding parameters into ffmpeg command. I >>>>> need >>>>> something where I can send the variable parameters when I need it >>>>> without >>>>> stopping the current running ffmpeg command. >>>> Please stop top posting. >>>> >>>> There is sendcmd filter for this, but I think overlay filter does not >>>> support commands, >>>> but that could be easily fixed. >>> The overlay filter does already support commands. There is an example in >>> chapter 2.61 of my book: >>> http://www.astro-electronic.de/FFmpeg_Book.pdf >>> >>> But I think the question was if the parameters can be changed in >>> real-time while ffmpeg is running. I don't know if this is possible. >>> >> Look at realtime filter. > > That's not what the OP wanted. He wrote: > > "Actually I meant when ffmpeg is running, I want to send parameters to that > running ffmpeg instance and that should change the filter_complex overlay > parameters in the next frame of processing. > > Using expression is like hard coding parameters into ffmpeg command. I need > something where I can send the variable parameters when I need it without > stopping the current running ffmpeg command."
Exactly and realtime filter allows exactly that in combination with filters that send commands, there are at least 2 such filters for video. > > Michael > > > _______________________________________________ > ffmpeg-user mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
