Python Subtitle Library works with formats like Advanced SubStation, MicroDVD, SubRip, and SubStation Alpha. It can parse and modify existing subtitle files and create new ones. This library supports advanced features like karaoke effects, time shifting, and typesetting.
Python Subtitle library helps automatically synchronize subtitle files with video or audio files. It will use audio fingerprinting to detect the timing errors in the subtitle files and correct them automatically. This library will help download and synchronize subtitles for movies and TV shows. It also supports merging and splitting subtitle files, time shifting, etc. These libraries can be used for subtitle-related tasks like modifying, parsing, and creating subtitle files, synchronizing subtitles with video or audio files, and downloading subtitles from online sources.
Here is a list of the top 10 Python Subtitle Libraries that developers handpick for working with subtitle files:
ffsubsync:
- Is a Python library that uses FFmpeg to synchronize subtitle files with video or audio files.
- Works by analyzing the audio waveform and subtitle timestamps for detecting and correcting synchronization errors.
- Can also perform a dry run to estimate the synchronization error without modifying the original file.
ffsubsyncby smacke
Automagically synchronize subtitles with video.
ffsubsyncby smacke
Python 5990 Version:0.4.22 License: Permissive (MIT)
video-subtitle-extractor:
- Supports various advanced options like choosing a specific subtitle format, specifying the output encoding, and specifying the subtitle stream index.
- Is a Python library that is useful for extracting subtitles from video files.
- Can be used in different scenarios, like if the original subtitle file is lost or if the video file contains embedded subtitles that need to be extracted.
video-subtitle-extractorby YaoFANGUK
Extract video hard subtitles and generate srt files. There is no need to apply for a third-party API to implement text recognition locally. A video subtitle extraction framework based on deep learning, including subtitle area detection and subtitle content extraction. A GUI tool for extracting hard-coded subtitle (hardsub) from videos and generating srt files.
video-subtitle-extractorby YaoFANGUK
Python 3061 Version:1.0.0 License: Permissive (Apache-2.0)
Medusa:
- Is a Python library for working with subtitle files that can be used for downloading, searching, and managing subtitle files for movies and TV shows.
- Supports various subtitle sources like Subscene, Addic7ed, and OpenSubtitles.
- Has a web-based interface that can manage the media library, movie details, view episodes, and configure various settings.
Medusaby pymedusa
Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
Medusaby pymedusa
Python 1604 Version:v1.0.16 License: Strong Copyleft (GPL-3.0)
WebTools.bundle:
- Is a powerful tool for extending and managing the functionalities of Plex used for enhancing the user experience and adding additional features to the media server.
- Is a plugin for the Plex Media Server which offers various useful tools to manage media libraries like subtitle downloading, media conversion, and metadata editing.
- Can be used for managing Plex server configuration, like managing server settings, installing and updating plugins and themes, and creating and restoring backups.
WebTools.bundleby ukdtom
WebTools is a collection of tools for Plex Media Server. Like the Unsupported AppStore (UAS)
WebTools.bundleby ukdtom
Python 1272 Version:3.0.0 License: Weak Copyleft (MPL-2.0)
youtube-transcript-api:
- Is a Python library that allows you to retrieve the transcripts of YouTube videos.
- Works by scraping the YouTube website and extracting the transcript text from the video’s webpage.
- Can be used in different scenarios like if you need to analyze the content of a video or create subtitles for the video.
youtube-transcript-apiby jdepoix
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 a headless browser, like other selenium based solutions do!
youtube-transcript-apiby jdepoix
Python 1420 Version:v0.6.0 License: Permissive (MIT)
Auto-Synced-Translated-Dubs:
- Is a collection of pre-made subtitle files which have been automatically synchronized and translated for various TV shows and movies.
- Have been synchronized with the corresponding video files to be correctly timed with the video and audio.
- Can use the subtitle files as the starting point and edit them manually to improve accuracy or adjust the timing.
Auto-Synced-Translated-Dubsby ThioJoe
Automatically translates the text of a video based on a subtitle file, and also uses AI voice to dub the video, and synced using the subtitle's timings
Auto-Synced-Translated-Dubsby ThioJoe
Python 1161 Version:v0.14.1 License: Strong Copyleft (GPL-3.0)
subfinder:
- Is a Python library that offers a simple and easy-to-use interface to search for and download TV and movie subtitles.
- Supports different subtitle formats like ASS, VTT, SRT, and SSA.
- Supports different options like filtering out low-quality subtitles, specifying the source for the subtitles, and specifying the language of the subtitles.
subtitle-downloader:
- Is a Python library that offers an easy-to-use for downloading subtitles for TV shows and movies from different subtitle websites.
- Can be used in different scenarios like if you want to create your own subtitles for a video or if you want to watch a movie in a language you are not fluent with.
- Supports various options, like selecting a specific subtitle website to search, specifying the language of the subtitles, and specifying the output format of the subtitle file, among others.
subtitle-downloaderby manojmj92
Python script to automatically download subtitles for any movie/tv series episode.
subtitle-downloaderby manojmj92
Python 766 Version:Current License: Strong Copyleft (GPL-3.0)
GetSubtitles:
- Allows you to specify the language of the subtitles and download the subtitles for different TV shows or movies at once.
- Supports various subtitle sources like YIFY Subtitles, OpenSubtitles, and Subscene.
- Is a useful tool for searching and downloading subtitles for TV shows or movies and can be used in different scenarios like improving the accessibility of your media content.
GetSubtitlesby gyh1621
Download matching subtitles in one step
GetSubtitlesby gyh1621
Python 730 Version:Current License: Permissive (MIT)
netflix-to-srt:
- Is a Python library that offers a simple and easy-to-use interface for converting Netflix subtitles to the SRT subtitle format.
- Can be used to extract subtitles from Netflix videos and save them in the SRT format, a widely used subtitle format that supports media players and subtitle editors.
- Can be used in different scenarios, like if you want to create subtitles in a format compatible with most media players and subtitle editors or if you want to add Netflix subtitles.
netflix-to-srtby isaacbernat
Rip, extract and convert subtitles to .srt closed captions from .xml/dfxp/ttml and .vtt/WebVTT (e.g. Netflix, YouTube)
netflix-to-srtby isaacbernat
Python 628 Version:Current License: Permissive (MIT)