I have two images and I want to create a simple fading transition between them.
I also want the final output to be a sequence of images rather than a video? So if the fading transition was 10 frames long I'd want the output to be a sequence of 10 images.
How can I achieve this with ffmpeg?
See the
blend
video filter:This example will make a 3 second cross-fade of
input1.png
overinput0.png
.To crossfade/dip-to-black multiple images see Create video with 5 images with fade-in/out effect in
ffmpeg
.To the best of my knowledge you cannot achieve this just with ffmpeg. Please take a look at MLT framework if you want to do it in scriprs; take a look at openshot if you want an interactive app.
Try this:
Haven't tried with images, but you could try
-t 12 frames_%04d.png
at the end or whatever.