Page 1 of 1

add photo to section of video over several frames

Posted: Thu Mar 14, 2019 2:52 pm
by mchulet
There is a video which needs to be added random user photo towards its end while the normal audio continues, just this external image needs to be additionally added.

I have tried this command:

Code: Select all

D:\ffmpeg-4.1-win64-static\bin\ffmpeg source.jpg -i target.mp4 -r 25 -loop 1 -t 3 -i -f lavfi -t 3 -i aevalsrc=0 -filter_complex "[0:v] [2:a] [1:v] [1:a] concat=n=2:v=1:a=1 [v] [a]" -c:v libx264 -c:a aac -strict -2 -map "[v]" -map "[a]" output.mp4 
But this just adds image to the beginning and then appends the rest of the video, it does not fulfill the above mentioned requirement :(