[FFmpeg-user] How to change overlay parameter at runtime
Paul B Mahol
onemda at gmail.com
Fri Mar 27 11:10:57 EET 2020
On 3/27/20, foxtail mega <foxtailmegadeveloper at gmail.com> 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.
>
> On Fri 27 Mar, 2020, 2:11 PM Paul B Mahol, <onemda at gmail.com> wrote:
>
>> On 3/27/20, foxtail mega <foxtailmegadeveloper at gmail.com> wrote:
>> > can someone please help regarding this issue ?
>> >
>> > -re -i video.mp4 -i image.png -filter_complex "[0:v][1:v]
>> > overlay=25:25:enable='between(t,0,4)'" -pixel_format yuv420p -tune
>> > zerolatency -c:a copy -c:v libx264 -crf 27 -preset veryfast -f mpegts
>> > udp://localhost:5454
>> >
>> >
>> > here i am using overlay as 25:25, but i wish to change that at
>> > runtime, and i know i can't use variable for this, so how do i change
>> > this overlay parameters at runtime ?
>>
>> Using expressions, everything is clearly explained in available
>> documentation.
>>
>> > _______________________________________________
>> > ffmpeg-user mailing list
>> > ffmpeg-user at ffmpeg.org
>> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>> >
>> > To unsubscribe, visit link above, or email
>> > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://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