How to sync audio automatically

I have written an MLT program that calculates the alignment for you. It can also determine if there is a drift between the audios and fix that two.

The program tells you how to adjust the audio’s speed and how many frames (or seconds) of difference there is between two tracks. Both tracks can be AV tracks.

I wrote it as a first step into getting the functionality implemented in Shotcut. See this post:

1 Like