[FFmpeg-user] How to change overlay parameter at runtime

Paul B Mahol onemda at gmail.com
Fri Mar 27 10:35:42 EET 2020


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".


More information about the ffmpeg-user mailing list