Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

subdesc-0.1.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

subdesc-0.1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file subdesc-0.1.1.tar.gz.

File metadata

  • Download URL: subdesc-0.1.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.9.3 CPython/3.10.12

File hashes

Hashes for subdesc-0.1.1.tar.gz
Algorithm Hash digest
SHA256 be2896df639d53f2e109e53dc6e436a83ead247d03d42e4360180a0360de99ef
MD5 0f949f621217f1f923cd2dd2c33c2a3b
BLAKE2b-256 5407218ed570fcaff0bccf23e887b04434e505082239cbfa45d74e23613de3ca

See more details on using hashes here.

File details

Details for the file subdesc-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: subdesc-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.9.3 CPython/3.10.12

File hashes

Hashes for subdesc-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8d4a9ad907d066119b895b892afd1c1f679d5c08134bb2d3cbaebb775aae4b9
MD5 01df64826528a158d9381751c65c78a3
BLAKE2b-256 e9ff95eccb4a57d47c17f5d3fef3b5d24ee1700daa15a8b9224b5a70e42b0b4b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page