Skip to content
Synchronize your subtitles using machine learning
Python Makefile
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
subsync
.gitignore
LICENSE add: LICENSE Apr 4, 2018
MANIFEST.in fix: make module installable by pip Apr 3, 2018
Makefile fix: update makefile with twine Jul 22, 2019
README.md docs: add dependency ffmpeg Jan 1, 2019
requirements.txt fix: windows ffmpeg arguments Apr 4, 2018
setup.cfg add: setup.cfg Apr 4, 2018
setup.py fix: allow any version of tensorflow Jul 22, 2019

README.md

Subsync

Synchronize your subtitles using machine learning

Subsync analyses and processes the sound from your media files and uses machine learning to detect speech. Speech detection is used to shift existing subtitles for a perfect match in audio and text!

Features

  • Machine learning model for voice activity detection (not recognition)
  • Shift subtitle as a whole for best match
  • Sync every sentence in the subtitle individually
  • Sync using existing matched subtitle in a different laguage

Dependencies

Installation

pip install subsync

Help

usage: subsync [-h] [--version] [--graph] [-d SECONDS] [-m SECONDS] [-s]
                   [--logfile PATH]
                   MEDIA [MEDIA ...]

positional arguments:
  MEDIA                 media for which to synchronize subtitles

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --graph               show graph for subtitle synchronization (default:
                        False)
  -d SECONDS, --duration SECONDS
                        duration (in seconds) of the sample audio length
                        increases precision but reduces speed (default: 900)
  -m SECONDS, --margin SECONDS
                        the margin in which to search for a subtitle match
                        (default: 12)
  -s, --start           sample audio from the start of the media instad of the
                        middle (default: False)
  -r, --recursive       recurviely sync every sentence in the subtitle
                        (default: False)
  --logfile PATH        path to location of log file for logging application
                        specific information (default: None)

Special thanks

[1] Automatic Subtitle Synchronization through Machine Learning

You can’t perform that action at this time.