[FFmpeg-user] Merging small variable frame rate videos

Rupsha Chaudhuri rupsha at gmail.com
Tue Apr 20 19:28:48 EEST 2021

I'm trying to generate a timelapse with images taken roughly at 10 Hz and
for about an hour. Maintaining the relative timestamps is important. So
I've split the images into roughly 1 min chunks and I generated 60 small
videos in parallel (I've handled the duration for the boundary images).
After that I stitch the videos. However when I look at the final contiguous
video I realize that at the chunk boundaries after stitching the video
either has an extra frame or falls behind the images.. the timestamps don't
line up.

The smaller videos are variable frame rate, so I convert them to mpeg-ts
before applying the concat protocol to merge them.

Has anyone experienced the frame issue after stitching variable frame rate


More information about the ffmpeg-user mailing list