Answer the question
In order to leave comments, you need to log in
How to synchronize video and image sequence through ffmpeg?
I'm trying to overlay a video using ffmpeg. I have a video in mp4 and a sequence of pictures, each of which is already mapped to each frame of the video.
I do it like this:
ffmpeg \
-i video.mp4 \
-framerate 30000/1001 \
-i %05d.png \
-filter_complex [0:v]overlay=x=0:y=0:[out] \
-map [out] -map 0:a \
out.mp4
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question