Synchronization of subtitles with video

Language-agnostic automatic synchronization of subtitles with video, so that subtitles are aligned to the correct starting point within the video. The implementation for this project was started during HackIllinois 2019, for which it received an Honorable Mention (ranked in the top 5 projects, excluding projects that won company-specific prizes).

Install

First, make sure ffmpeg is installed. On MacOS, this looks like:
brew install ffmpeg

Next, grab the script. It should work with both Python 2 and Python 3:
pip install git+https://github.com/smacke/subsync

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

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

For more check out https://github.com/smacke/subsync

Tagged :

Leave a Reply

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

%d bloggers like this: