Skip to main content

A simple subtitle editor and converter

Project description

Subtle

Subtle is a simple editor and OCR wrapper for subtitles. It was created to convert PGS subtitles to SRT format for MKV files.

It can currently process SRT, PGS and SSA subtitle formats from containers, and output SRT files.

The extraction part requires MkvToolNix to be installed, and the OCR feature requires Tesseract to be installed. This app assumes the tesseract, mkvextract and mkvmerge commands can be called from command line.

The app uses PyQt6 for the GUI, and Enchant for spell checking.

Disclaimer

This is most definitely a work in progress, and there are probably plenty of issues. However, the app works and I've used it to convert subtitles from numerous movies and TV episodes already.

The app is developed on Debian Linux, and I have no idea if it runs on other systems. The file browser certainly assumes that file system root is /, so it probably doesn't work on Windows without modification.

Usage

Install the PyQt6 and enchant dependencies, either from distro repo or in a Python virtual env using the requirements.txt file.

Install MkvToolNix and Tesseract. For Debian, this is:

sudo apt install mkvtoolnix tesseract-ocr

Launch the Subtle start script from the root of the source:

./subtle.py

Add --info or --debug for more log output.

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

subtle_gui-26.1.0.tar.gz (46.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

subtle_gui-26.1.0-py3-none-any.whl (65.6 kB view details)

Uploaded Python 3

File details

Details for the file subtle_gui-26.1.0.tar.gz.

File metadata

  • Download URL: subtle_gui-26.1.0.tar.gz
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for subtle_gui-26.1.0.tar.gz
Algorithm Hash digest
SHA256 5a8cd71c17e87a26341d80fe9a278c001653e8b134882befb6794a98be64b1a2
MD5 84c25cee82569ea231b3f38ff73ea070
BLAKE2b-256 bbeef682631ccc11944351351601387b6d395302e9157963c86c50fed8b0db6f

See more details on using hashes here.

File details

Details for the file subtle_gui-26.1.0-py3-none-any.whl.

File metadata

  • Download URL: subtle_gui-26.1.0-py3-none-any.whl
  • Upload date:
  • Size: 65.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for subtle_gui-26.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fcbecb553298780ba561b7c40f6709b1b60823f36537a1aa24541671321a44a7
MD5 5fc97af88e8405576b6e3f34a568ac20
BLAKE2b-256 bd5cbaf71ba7f5283855af75598332c3f8c7dce638906de95486d7737811619d

See more details on using hashes here.

Supported by

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