It's easy to extract subtitles from mkv (Matroska) videos but if extracted subtitles are not in text format, they need to be converted using OCR software. Is there any program in Ubuntu available to convert mks or pgs subtitles to srt?
1 Answer
You can use Subtitle Edit, it works on Ubuntu. To install it run
sudo apt install mono-complete libhunspell-dev libmpv-dev tesseract-ocrYou may also need to install some tesseract-ocr-??? packages if you want to convert subtitles in languages other than English.
Download the portable version from here and unzip it to wherever you want.
Now you can run the program with
mono /path/to/SubtitleEdit.exeThis is how to convert PGS subtitles to SRT using Subtitle Edit.