No project description provided
Project description
Subdesc
A simple utility module for Subtitles
Requirements
Subdesc requires mkvtoolnix
and ffmpeg
for working with mkv files. You can install them with the following commands:
brew install mkvtoolnix
brew install ffmpeg
Installation
Just run pip install subdesc
Usage
You can use Subdesc as a command line tool as follows:
Muxing Video and Subtitle
When you want to attach subtitle to your mkv file as softsub:
subdesc mux <video_file> <subtitle_file> <output_file>
Normalizing Subtitle
When your subtitle file has weird encoding and it's not human-readable:
subdesc normalize <subtitle_file>
Sync Subtitle
When your subtitle file is out of sync with your video file:
subdesc sync <source_file> <subtitle_file>
source_file
could be a mkv file or another subtitle file
Caution!
Subdesc is still in development, and it's not stable yet.
It could delete your input files in case of interruption. So please take a backup and use it at your own risk.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file subdesc-0.2.0.tar.gz
.
File metadata
- Download URL: subdesc-0.2.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.9.3 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d35ff913741d058dbb79c8282f2a21282e28679738917ab71e21b4a765ff2d1f |
|
MD5 | c2d1400cbeb6724a5cb054cc64bac2f9 |
|
BLAKE2b-256 | f137a34af26a5efa7e532d8f1e4575f63fd4484fb66c3f125359d464c4eeadb5 |
File details
Details for the file subdesc-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: subdesc-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.9.3 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e394f11571f84f044bc966c080ed99a83390e6cb1b611f4adeb126014f4865e6 |
|
MD5 | 1e199f2a8e508d16fd0abbb39f315068 |
|
BLAKE2b-256 | 347332dcd14396872399713a850d441354140fd946a8fd6b821dac43609cca82 |