I'm using this command to create a video of a long image (webpage screenshot):
ffmpeg -f lavfi -i color=s=1920x1080 -loop 1 -t 0.08 -i "input.png" -filter_complex "[1:v]scale=1920:-2,setpts=if(eq(N\,0)\,0\,1+1/0.02/TB),fps=25[fg]; [0:v][fg]overlay=y=-'t*h*0.02':eof_action=endall[v]" -map "[v]" output.mp4
It works, but and issue is that it scrolls the image all the way out of the view. How can I change the command, so that it stops just as the last row of pixels of the image is visible?