Skip to content

Utility to remove unwanted audio and subtitles from mkv files.

License

Notifications You must be signed in to change notification settings

ruslanbotashev/videoslimmer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VideoSlimmer

Description

VideoSlimmer is a utility to remove unwanted audio and subtitles from Matroska (mkv extension) container formatted files. This can help reduce the size of your media collection whilst maintaining the audio and subtitles that you need.

Installation

  1. Install Python 2.6.0 or greater (not version 3.x)
  2. Install MKVToolnix 6.5.0 or greater
  3. Run from terminal/command prompt, syntax and examples below

Syntax

VideoSlimmer.py --mkvmerge <path> --media <path> --lang <code> [--edit-title yes] [--delete-title yes] [--dry-run no] [--log <level>] [--keep-all-subtitles] [--version]

Language codes can be found here

Examples

Linux platform

python2 VideoSlimmer.py --mkvmerge /opt/mkvtoolnix/mkvmerge --media /media/movies --lang eng --dry-run no

Windows platform

VideoSlimmer.py --mkvmerge "c:\Program Files\mkvtoolnix\mkvmerge.exe" --media D:\media\movies --lang eng --dry-run no --edit-title yes

or specifying UNC path

VideoSlimmer.py --mkvmerge "c:\Program Files\mkvtoolnix\mkvmerge.exe" --media \\medaserver\media\movies --lang eng --dry-run no --delete-title yes

Notes

  • VideoSlimmer will NOT remove audio or subtitles unless there is a match for the specified preferred language.
  • VideoSlimmer IS recursive, thus all files/folders will be processed from the root defined media folder.

If you appreciate my work, then please consider buying me a beer :D

PayPal donation

About

Utility to remove unwanted audio and subtitles from mkv files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%