Python Subtitles

Open-source Python projects categorized as Subtitles

Top 23 Python Subtitle Projects

  • ffsubsync

    Automagically synchronize subtitles with video.

    Project mention: The GitHub Black Market That Helps Coders Cheat the Popularity Contest | | 2023-10-23

    > Another giveaway is the ratio of stars to watchers / forks. I remember one project with thousands of stars but only 10 users "watching" it. They went on to raise a sizable seed round too.

    Not necessarily indicative of foul play. I have two projects like this ( and and I attribute it to not having great developer documentation.

  • video-subtitle-extractor

    视频硬字幕提取,生成srt文件。无需申请第三方API,本地实现文本识别。基于深度学习的视频字幕提取框架,包含字幕区域检测、字幕内容提取。A GUI tool for extracting hard-coded subtitle (hardsub) from videos and generating srt files.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • youtube-transcript-api

    This is a python API which allows you to get the transcript/subtitles for a given YouTube video. It also works for automatically generated subtitles and it does not require an API key nor a headless browser, like other selenium based solutions do!

    Project mention: The one thing YouTube doesn't want you to think about: Articles from their videos. AT SCALE | /r/OpenAI | 2023-04-24

    no whisper involced.

  • Sub-Zero.bundle

    Subtitles for Plex, as good you would expect them to be.

    Project mention: Automatic Subtitles | /r/PleX | 2023-06-05

    Sub-Zero has not been maintained since 2021 so I wouldn't consider that a good source.

  • yt-whisper

    Using OpenAI's Whisper to automatically generate YouTube subtitles

  • auto-subtitle

    Automatically generate and overlay subtitles for any video.

    Project mention: Built this app to generate subtitles, summaries, and chapters for videos, all self-hostable with a single Docker image | /r/selfhosted | 2023-03-28

    Have a look at this repo , it generates subtitles with whisper locally

  • subsai

    🎞️ Subtitles generation tool (Web-UI + CLI + Python package) powered by OpenAI's Whisper and its variants 🎞️

    Project mention: Porting CP/M to the Brother SuperPowerNote Z80 laptop thing [video] | | 2023-12-13

    Adding Whisper subtitles was really easy and they're dramatically better than the automatic Google ones (I did it via, which was really easy to use). So there is now a reasonably good transcript available in the video comments.


    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

  • netflix-to-srt

    Rip, extract and convert subtitles to .srt closed captions from .xml/dfxp/ttml and .vtt/WebVTT (e.g. Netflix, YouTube)

  • Rapidbay

    Self-hosted torrent video streaming service compatible with Chromecast, AppleTV & Kodi deployable in the cloud

    Project mention: Popular Pirate Bay Proxy Site Disappears from GitHub | | 2023-05-20

    sounds like you're looking for rapidbay

  • whisper-standalone-win

    Whisper & Faster-Whisper standalone executables for those who don't want to bother with Python.

    Project mention: Question : is this a movie only tracker? | /r/Karagarga | 2023-07-03

    On the other hand, if you need subtitles for a movie that doesn't have some. There are some automated solutions like Whisper that can do a very decent job in most cases :

  • srt

    A simple library and set of tools for parsing, modifying, and composing SRT files. (by cdown)

  • subaligner

    Automatically synchronize and translate subtitles, or create new ones by transcribing, using pre-trained DNNs, Forced Alignments and Transformers.

    Project mention: Show HN: Subaligner – A Multilingual Subtitle Generator | | 2023-03-12
  • JavascriptSubtitlesOctopus

    Displays subtitles in .ass format from JavaScript. Supports most SSA/ASS features, easily integrates with HTML5 videos.

  • autosubsync

    Automatically synchronize subtitles with audio using machine learning

  • movies2anki

    Convert movies with subtitles to watch them with Anki. Inspired by subs2srs

    Project mention: Subs2SRS is safe? | /r/Anki | 2023-03-16

    If you want something "safer", simply because the code is accessible and it's newer, you can look at this project

  • Subtitle-Downloader

    Auto download subtitles from streaming services, such as Apple TV+, CatchPlay, Crunchyroll, Disney+, FridayVideo, HBO GO Asia, iQIYI, iTunes, KKTV, LINE TV, meWATCH, MyVideo, NowE, NowPlayer, Viki, Viu, WeTV, YouTube, and etc.

  • interSubs

    Interactive subtitles for mpv. Instantly translate selected word/sentence.

  • webvtt-py

    Read, write and segment WebVTT caption files in Python.

  • library

    xk media library (by chapmanjacobd)

    Project mention: CurlyQ: Command line helper for curl and web scraping | | 2024-01-11

    I've created a few similar tools for link scraping:

    - library links-extract: extract inner links from pages (stdin, local files, or remote sites)

  • iSubRip

    A Python package for scraping and downloading subtitles from AppleTV / iTunes movie pages.

  • nrk-download

    Download content from NRK, complete with images and subtitles:

  • filter-subs

    Filter Subtitles to remove SDH entries

  • whisper-subtitles-webui

    A gradio interface for making transcribed and translated subtitles for videos

    Project mention: Easiest way or tool to use Whisper to transcribe mp4 video file? | /r/OpenAI | 2023-04-28

    I used this one -

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-01-11.

Python Subtitles related posts


What are some of the best open-source Subtitle projects in Python? This list will help you:

Project Stars
1 ffsubsync 6,394
2 video-subtitle-extractor 4,376
3 youtube-transcript-api 2,132
4 Sub-Zero.bundle 1,720
5 yt-whisper 1,270
6 auto-subtitle 1,034
7 subsai 926
8 netflix-to-srt 699
9 Rapidbay 659
10 whisper-standalone-win 588
11 srt 414
12 subaligner 400
13 JavascriptSubtitlesOctopus 386
14 autosubsync 334
15 movies2anki 283
16 Subtitle-Downloader 227
17 interSubs 192
18 webvtt-py 163
19 library 145
20 iSubRip 82
21 nrk-download 51
22 filter-subs 29
23 whisper-subtitles-webui 22
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.