https://github.com/binhex/videoslimmer
Utility to remove unwanted audio and subtitles from mkv files.
https://github.com/binhex/videoslimmer
audio language matroska mkvtoolnix python python-script subtitle video
Last synced: 3 months ago
JSON representation
Utility to remove unwanted audio and subtitles from mkv files.
- Host: GitHub
- URL: https://github.com/binhex/videoslimmer
- Owner: binhex
- License: lgpl-3.0
- Created: 2014-12-05T09:56:27.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-02-21T10:07:46.000Z (over 1 year ago)
- Last Synced: 2024-10-12T18:58:41.179Z (9 months ago)
- Topics: audio, language, matroska, mkvtoolnix, python, python-script, subtitle, video
- Language: Python
- Size: 9.4 MB
- Stars: 27
- Watchers: 6
- Forks: 8
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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 belowSyntax
------```
VideoSlimmer.py --mkvmerge --media --lang[--edit-title yes] [--delete-title yes] [--dry-run no] [--log ] [--keep-all-subtitles] [--version]
```Language codes can be found [here](http://en.wikipedia.org/wiki/List_of_ISO_639-2_codes)
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[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=H8PWP3RLBDCBQ)