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 | news.ycombinator.com | 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 (https://github.com/smacke/ffsubsync and https://github.com/ipyflow/ipyflow) 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.

  • WorkOS

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

  • 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. https://github.com/jdepoix/youtube-transcript-api

  • 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] | news.ycombinator.com | 2023-12-13

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

  • 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.

  • 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 | news.ycombinator.com | 2023-05-20

    sounds like you're looking for rapidbay

    https://github.com/hauxir/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 : https://github.com/Purfview/whisper-standalone-win

  • 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. https://subaligner.readthedocs.io/

  • 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

  • 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: Ask HN: Anyone looking for contributors for their open source projects | news.ycombinator.com | 2024-03-21

    Sure, I write small python CLI utils that help me solve media organization, media consumption, and sometimes data analysis. I use this every day on Linux and Android but I haven't tested it on other platforms. There are a lot of different subcommands and, although the CLI package will always be opinionated to some extent, there is a lot of niche functionality which might not need to exist. So I'm open to things being refactored or new subcommands being added. [1]

    I have a lot of ideas for new ones, for example, I want a CLI that can take an artist name like "Theodor Kittelsen" and fetch highest quality public domain images--but I realize any implementation that does this well will be somewhat fragile so I haven't really attempted that yet. Other ideas that I have are often solved by piping output from one of my existing commands to another.

    1. https://github.com/chapmanjacobd/library

  • 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 - https://github.com/EliasVincent/whisper-subtitles-webui

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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-03-21.

Python Subtitles related posts

Index

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

Project Stars
1 ffsubsync 6,448
2 video-subtitle-extractor 4,610
3 youtube-transcript-api 2,231
4 Sub-Zero.bundle 1,731
5 yt-whisper 1,290
6 auto-subtitle 1,121
7 subsai 1,012
8 netflix-to-srt 709
9 Rapidbay 683
10 whisper-standalone-win 677
11 srt 421
12 subaligner 408
13 JavascriptSubtitlesOctopus 398
14 autosubsync 343
15 movies2anki 290
16 Subtitle-Downloader 238
17 interSubs 196
18 webvtt-py 167
19 library 152
20 iSubRip 88
21 nrk-download 51
22 filter-subs 30
23 whisper-subtitles-webui 24
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com