Body: <p>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. </p>
  
  <p>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. </p>
  
  <p>Are there any command line programs that will sync two clips using their audio?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-31T05:03:42.000Z
Comments.Text: Any distinctive sounds present - clapper?
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-31T06:10:10.217Z
Comments.Text: That's what http://www.redgiant.com/products/pluraleyes/ does. Not free though.
Comments.UserDisplayName: audionuma
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-02T02:57:20.943Z
Comments.Text: Not command-line either. I want something I can automate. @Mulvya, no clapper.
Comments.UserDisplayName: stib
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-30T12:24:34.333Z
Comments.Text: @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.
Comments.UserDisplayName: stib
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-05-19T13:57:01.340Z
Comments.Text: I'm also interested in this sort of thing.  I usually edit video using https://www.mltframework.org/
Comments.UserDisplayName: Jim Fowler
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-05-20T04:59:20.107Z
Comments.Text: There's this, but I don't think it quite does what I want: https://github.com/google/audio-sync-kit
Comments.UserDisplayName: stib
Tags: <ffmpeg><audio><sync><command-line>
Title: Is there command line software that syncs two audio tracks
UserDisplayName: stib
ThreadText: # Is there command line software that syncs two audio tracks
  
  (Asked by: username_0 on 2017-05-31)
  
  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?
  
  **Tags:** ffmpeg, audio, sync, command-line
  
  > **Comments:**
  > **username_1**: Any distinctive sounds present - clapper?  
  > **username_2**: That's what http://www.redgiant.com/products/pluraleyes/ does. Not free though.  
  > **username_0**: Not command-line either. I want something I can automate. @Mulvya, no clapper.  
  > **username_0**: @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.  
  > **username_3**: I'm also interested in this sort of thing.  I usually edit video using https://www.mltframework.org/  
  > **username_0**: There's this, but I don't think it quite does what I want: https://github.com/google/audio-sync-kit  
  
  ---
  
  ## 0 answers
  
  