I'm using ffmpeg library to develop android mobile application that can overlay images, draw texts and merge audio to video file then display it
I'm using this command to overlay two images into .avi video
ffmpeg -i inputvid -i photoOne.png -i photoTwo.png -filter_complex [1:v]scale=320:320[ovrl],[0:v][ovrl] overlay=25:25:enable='between(t,0,10)'
,overlay=25:25:enable='between(t,0,10)'" outvid
This command Scale the first images only to 320:320, but i want to scale the second image to 400:400 and i don't know how to specify a scale for the second photo.
ffmpeg
, try Super User. – Cornstalks