Skip to main content

Python script, that acts as a front end for mkvtoolnix to removeexcess audio and subtitle streams from mkv files.

Project description

https://badge.fury.io/py/mkvstrip.svg https://travis-ci.org/willforde/mkvstrip.svg?branch=master https://coveralls.io/repos/github/willforde/mkvstrip/badge.svg?branch=master https://api.codacy.com/project/badge/Grade/181ade83b7c84a738ee74d913bbe9eeb

MKVStrip

Python script, that acts as a front end for mkvtoolnix to remove excess audio and subtitle streams from mkv files. Also correcting title information if needed. The intention is to allow someone to setup a cronjob, to run this script at regular intervals (for example, every night). Keeping your Movie collection from collecting excessive tracks.

Requirements:

  1. MKVToolNix

  2. Python3

Install

pip install mkvstrip

Usage

Posix:

mkvstrip -b /usr/bin/mkvmerge -l eng,fre /mnt/movies

Windows:

mkvstrip -b C:\\Program/ Files\MKVToolNix\mkvmerge.exe -l eng,fre \\nas\movies

CLI Arguments

mkvstrip.py [-h] [-t] -b path -l lang path

positional arguments:
  path                         Where your MKV files are stored. Can be a directory or a file.

optional arguments:
  -h, --help                    show this help message and exit
  -t, --dry-run                 Enable mkvmerge dry run for testing.
  -b path, --mkvmerge-bin path  The path to the MKVMerge executable.
  -l lang, --language lang      3-character language code (e.g. eng). To retain
                                multiple, separate languages with a comma (e.g.
                                eng,spa).

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

mkvstrip-1.0.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mkvstrip-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d4b75db25b214bf89d5d52477dea93c051824a0a9c5fb63835e5b1db9abfc920
MD5 21577eb8429066f48f48b3a80e1d78bc
BLAKE2b-256 ad83644ad669331c18545eed5ffbb647dac5f632092d6d23b7c322e729a17f0c

See more details on using hashes here.

Supported by

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