ffmpeg based video concatenation

I have a Python script that I use to concatenate a bunch of clips in a folder, into a single video. Unfortunately, this script requires that each video have the same: dimensions, frame rates, and audio/video codecs. I would like the script modified to automatically select the optimal ffmpeg options that also reencodes the least number of videos or the least total duration of the videos. I will send the github link to the existing script privately.

Leave a Reply