I have over 500 ~30 second (length varies) clips from a now deleted Twitch livestream that I would like to reassemble into one file. However many of the clips overlap each other (some might even be fully redundant, entirely continued in the preceding and following clips). Also the data might not be complete, so there could be gaps between clips.

naming scheme:




The number at the end signifies the timestamp when the clip begins. Using the clip lengths plus the starting point given in the file name it seems possible to calculate the overlap and trim it. Is there any way to do this automatically? I dont have much experience with FFMPEG but it seems doable.

Or is there a way to mass-import files into any video editing software using the offsets? So all the clips would automatically be placed at their respective start point, and I would just have to remove the visible overlap.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy