I have a bunch of separately recorded audio and video tracks that I need to sync. By sync (synch?) I mean align the two tracks so that the audio matches as closely as possible. The two tracks are recorded from different mics (a boom mic attached to a sound recorder and the built in crappy mic on a camera), so they're not exactly the same.

I can do it with Resolve or Premiere etc., but using a GUI app is soo tedious. I feel like this is the sort of thing that ffmpeg should be able to do, but I can't find anything.

Are there any command line programs that will sync two clips using their audio?

  • Any distinctive sounds present - clapper?
    – Gyan
    May 31, 2017 at 5:03
  • That's what redgiant.com/products/pluraleyes does. Not free though.
    – audionuma
    May 31, 2017 at 6:10
  • Not command-line either. I want something I can automate. @Mulvya, no clapper.
    – stib
    Jun 2, 2017 at 2:57
  • sync amount would be guessed out of nowhere or provided by user?
    – user12174
    Aug 29, 2017 at 7:30
  • @PaulB.Mahol synched by audio. Premier and Resolve and FCP use some sort of algorithm that matches the timing of the two clips by comparing the audio. I would have thought it's the kind of thing that would exist as FOSS.
    – stib
    Aug 30, 2017 at 12:24


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.