I searched high and low for help in removing vobsub subtitles from mkv files I encoded. I encoded forced subtitles but quite often the entire track was encoded. Anyway, after not finding anything and noting that there were frequent queries for tools that could do it, I wrote my own bash scripts and share them with you. These were written on Ubuntu but should work on any platform that has bash.
There are two scripts:
getsub.sh - This extracts the vobsub format and dumps it into an idx/sub combo. This is for passing the subtitles through an ocr to convert to srt.
Usage.... ./getsub.sh <mkv file> <output folder>
remsub.sh - This essentially demuxes the mkv file and remuxes it without the subtitle track.
Usage.... ./remsub.sh <mkv file>
NOTE: Remove the .txt extension - .sh extensions are not allowed.
I'm not an expert script writer but they worked for me on over 400 files, however use at your own risk. You will need mkvtoolsnix installed because the scripts rely on mkvmerge and mkvextract.
I hope you find them useful. If anyone modifies/improves them then please give credit where due and feed the modifications/improvements back in order to maintain the spirit of the community.
Regards
Darren
+ Reply to Thread
Results 1 to 1 of 1
Similar Threads
-
Remove subtitles etc from MKV files
By jack616 in forum EditingReplies: 11Last Post: 30th Dec 2013, 00:21 -
[MKV] Need help extracting H264 video from an MKV into an editable medium
By SinanDira in forum Video ConversionReplies: 2Last Post: 12th Sep 2011, 11:44 -
Convert a DVD to an avi,mkv using Avisynth Scripts and VDubMod or MeGUI
By ppeterr in forum DVD RippingReplies: 6Last Post: 25th Apr 2010, 05:04 -
Removing Subtitles from VCDs and VCD-originated MPEG and WMV files....
By dadada_999 in forum SubtitleReplies: 1Last Post: 2nd Jan 2008, 19:49 -
How to extract Subtitles from .MKV files?
By kehn in forum SubtitleReplies: 4Last Post: 20th Nov 2007, 06:14