I am having a single Image which I want to slide (Transition) from right to Left and stop at the end point and convert that into Video using FFMPEG. Although there are many posts regarding transitions but I couldn't find transition for single image to Video.
I had used the solution from this question:
ffmpeg -i C:\Sagar\Projects\Demos\Canvas\Canvas\BoxImage\1\output.png -i C:\Sagar\Projects\Demos\Canvas\Canvas\BoxImage\1\output.png -filter_complex "[0:v][1:v]overlay=x='if(lte(-w+(t)*100,w/2),-w+(t)*100,w/2)':y=0[out]" -map '[out]' -y C:\Sagar\Projects\Demos\Canvas\Canvas\BoxImage\1\outputout.mp4
but gives an error "Invalid stream specifier [out]":
![Invalid stream specifier [out]](../../images/3843886251.webp)
I have also tried
ffmpeg -f lavfi -i "color=black:d=15:s=1920x1080[background];movie='C:\Sagar\Projects\Demos\Canvas\Canvas\BoxImage\2\output.png' [overlay];[background][overlay]overlay='W-n:(H-h)/2'" C:\Sagar\Projects\Demos\Canvas\Canvas\BoxImage\2\outputoutput.mp4
But it still gives me error as below
