Language-agnostic automatic synchronization of subtitles with video, so that subtitles are aligned to the correct starting point within the video. First, make sure ffmpeg is installed. Make sure ffmpeg is on your path and can be referenced from the command line! Next, grab the script. It should work with both Python 2 and Python 3. There may be occasions where you have a correctly synchronized srt file in a language you are unfamiliar with, as well as an unsynchronized srt file in your native language. In this case, you can use the correctly synchronized srt file directly as a reference for synchronization, instead of using the video as the reference. ffsubsync uses the file extension to decide whether to perform voice activity detection on the audio or to directly extract speech from an srt file. ffsubsync usually finishes in 20 to 30 seconds, depending on the length of the video.

Features

  • The synchronization algorithm operates in 3 steps
  • ffsubsync uses the file extension to decide whether to perform voice activity detection on the audio or to directly extract speech from an srt file
  • ffsubsync usually finishes in 20 to 30 seconds, depending on the length of the video
  • The most expensive step is actually extraction of raw audio
  • Language-agnostic automatic synchronization of subtitles with video
  • If the sync fails, there are recourses available

Project Samples

Project Activity

See All Activity >

Categories

Multimedia

License

MIT License

Follow FFsubsync

FFsubsync Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of FFsubsync!

Additional Project Details

Operating Systems

Mac, Windows

Programming Language

Python

Related Categories

Python Multimedia Software

Registered

2021-11-10