I am trying to move a png image by 10px over a white background during 2s (fps=25), but the transition I got is not smooth.
Here is the command I am using:
ffmpeg -y -vsync passthrough -f lavfi -i color=c=white:size=300x250 -loop 1 -framerate 25 -i image.png -filter_complex "overlay=eval=frame:format=yuv444:x=120:y=lerp(100\,110\,t/2)[s1]" -map "[s1]" -c:v libx264 -t 2 video.mp4 -hide_banner -loglevel debug
At first I thought that all decimals were rounded to integers, but from what I see in the logs it seems that ffmpeg skips frames that contain a fraction of a pixel as a
y coordinate (i.e. 100.2).
Is there a way to generate a smooth effect?