SubSync – A tool for resynchronizing subtitles

Subsync

 

If you’re in the habit of downloading your movies and subtitles separately, you’ve probably experienced some awkward lags between the subtitles and the audio track.

With VLC it’s easy to readjust the audio/video/subtitle timing, but if you want to automate the process you would need something like SubSync .

SubSync works roughly like this: It divides the video and the subtitles in small pieces of 10ms and for each division, determines if dialogue is present (audio).

It then proceeds to realign the subtitles timecodes with these moments of dialogue.

You can install this tool as follows:

  • As an Addon
  • Using  Homebrew,
    brew install ffmpeg
    pip install git+https://github.com/smacke/subsync

    You can then use it on the command line like this:

    subsync video.mp4 -i unsynchronized.srt > synchronized.srt

    or

    subsync video.mp4 -i unsynchronized.srt -o synchronized.srt

     More details here .

Leave a Reply

Your email address will not be published. Required fields are marked *