I am using this command to overlay the image into the video.
ffmpeg",i", inputVideoPath,"-i", imageToOverlay,"
-filter_complex",overlay=10:10","-strict", "-2","-b:a" ,"32k",
"-r","15","-preset", "ultrafast",outputVideoPath
Can we set the dynamic values into the "overlay=x:y" also "imageToOverlay" which is image path?
try this command
for more information check this link
check this link as well