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:
But this just adds image to the beginning and then appends the rest of the video, it does not fulfill the above mentioned requirement
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