

Turn the image into a 3 seconds mp4 film, then concat (demuxer) it with the others: ffmpeg -loop 1 -f image2 -i splitter.png -r 30 -t 3 splitter.mp4įfmpeg -f concat -i input.txt -codec copy output.mp4 Here is what I tried so far: Method 1: image to video I have tried a few things, but I always end up with the same problem: the video is 23:20 (video1 + 3 seconds + video2), but the 3 seconds gap is just the last video1 frame frozen instead of my image/text.Īny Idea what I did wrong or how I should achieve this? splitter.png (same resolution as video1.mp4).having a fade in / fade out at the intersection of each partįor now, I made the text as an image (but I am open to other suggestions).avoid reencoding the video in the process.Optional ideas that I would be interested in: I have 2 videos (same resolution, same encoding) files that I want to concat and I want to insert some text for 3 seconds between them, as a splitter.
