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:
MKVToolNix
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).
Metadata
Release files for mkvstrip 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mkvstrip-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for mkvstrip-1.0.2-py3-none-any.whl |
Release files / mkvstrip-1.0.2-py3-none-any.whl
| Download URL | mkvstrip-1.0.2-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4b75db25b214bf89d5d52477dea93c051824a0a9c5fb63835e5b1db9abfc920
|
|
BLAKE2b-256 checksum How to use checksums |
ad83644ad669331c18545eed5ffbb647dac5f632092d6d23b7c322e729a17f0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mkvstrip 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.