add photo to section of video over several frames

Questions involving a Windows version of FFmpeg.
Post Reply
mchulet
Posts: 1
Joined: Thu Mar 14, 2019 2:48 pm

add photo to section of video over several frames

Post by mchulet » Thu Mar 14, 2019 2:52 pm

Hi,
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 :(

-Thanks
mchulet

Post Reply