3
1
I have used the below command to make a left to right transition of overlay image over a video.
ffmpeg -i Test.mp4 -i transparent.png -filter_complex "overlay=x='if(gte(t,0), -w+(t)*100, 3)':y=450" out.mp4
The overlay image is moving from left to right continuously. I need it to stop at certain point, like a left to right transition. How to do that?
The
if
andlte
expressions can be simplified bymin
/max
expressions. See my other answer below. (I initially wrote it for another question, moved here so as not to create a duplicate thread.) – slhck – 2018-12-28T13:34:52.000Nice! Which values do I have to negate/reverse if I want it to come from the right side, instead of the left? – The Unknown Dev – 2019-03-15T18:39:09.227
I have posted another question here http://superuser.com/questions/730062/ffmpeg-fade-between-images can you help out?
– 2vision2 – 2014-03-18T04:24:58.753