Skip to main content

Script to split audio lines from .mkv files according to the subtitle

Project description

mkv-line-split

mkv-linesplit is a Python script for splitting or cutting audio segments from mkv files.

First it extracts the audio and subtitles from the mkv file, Then it splits the lines from the audio file according to the timestamps stored in the subtitles and names the output file to the corresponding line.


Requirements

  1. Python3
  2. MKVToolNix

mkvextract used for extracting the audio and subtitle from the mkv file.

mkvmerge used for splitting the parts from the mkv audio.


Installation

$ pip install mkv-line-split

Usage

$ linesplit -m path/to/mkvmerge -x path/to/mkvextract path/to/mkv/file/or/directory

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

mkv-line-split-1.0.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

mkv_line_split-1.0.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file mkv-line-split-1.0.2.tar.gz.

File metadata

  • Download URL: mkv-line-split-1.0.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for mkv-line-split-1.0.2.tar.gz
Algorithm Hash digest
SHA256 98e269d4a9e64909b369364fefb8e70c4a6f59b5743632957fd05cd86b5450b1
MD5 14461f7649a9f3b58a83d3758d30dd83
BLAKE2b-256 73dc532ee45a49b950d97018ea60b50abd3ba390ec0f2863462bf64f356a7c46

See more details on using hashes here.

File details

Details for the file mkv_line_split-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: mkv_line_split-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for mkv_line_split-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 82db62076550081b135248509c57974f4bcc90d2176a05bf2d26d180df8cf954
MD5 cb2fb982996d4c976f35ba16a483794c
BLAKE2b-256 8480df8a80a28dc277831838a36611b9efbbe8e4b734b5d91a94e3d810586e15

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