0
$\begingroup$

I have two video where two person having conversation. They begin recording different times. I want to match these two videos' frame numbers, i.e. By matching audio.

How can I do that?

$\endgroup$
1
$\begingroup$

The problem you want to solve is called automatic audio alignment, or auto-synchronization of audio. Common algorithms are phase correlation, cross correlation on the raw audio waveform. People also use more "cooked" audio features like MFCCs, say each 10ms frame, and measure frame-wise similarity between the audio segments to be compared.

There are many threads on Stack overflow that show how to do this. For example: find-short-clip-of-audio-within-longer-clip-of-audio, cross-correlation-vs-fft-for-finding-phase-between-2-signals. Also some interesting repos on github, audiosync, videosync

$\endgroup$

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.