Reputation: 593
I have some film I want to replace all frames from that video to my static image. So that video duration, resolution(width, height), sound and other properties stay the same.
Upvotes: 7
Views: 3403
Reputation: 92928
Use
ffmpeg -i video -i image
-filter_complex "[1][0]scale2ref[i][v];[v][i]overlay" -c:a copy out.mp4
The scale2ref filter resizes the image to the same size as the video. The overlay filter then superimposes the images onto the video, repeating it till it ends.
Upvotes: 9