LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Two Slackbuilds to convert bluray PGS subtitle to text SRT subtitle with Tesseract (https://www.linuxquestions.org/questions/slackware-14/two-slackbuilds-to-convert-bluray-pgs-subtitle-to-text-srt-subtitle-with-tesseract-4175734968/)

Eeel 03-16-2024 08:38 AM

Two Slackbuilds to convert bluray PGS subtitle to text SRT subtitle with Tesseract
 
Trying to accomplish this non trivial task i have tested command line tools to convert blu-ray/mkv/.sup hdmv_pgs_subtitle codec to text based .srt subtitle using Tesseract and made two Slackbuilds in case anyone is interested.

This one seems to work the best for old and recent files, require Dotnet:

PgsToSrt

This one works well for recent files and don't have any other dependency than Tesseract:

sup2srt

After conversion running Gaupol (Slackbuild) to "Correct text" and "Spellcheck" is required for a result simmilar to what can be found on Opensubtitles.

note: they only have been tested on Current.

FTIO 03-19-2024 07:59 AM

Very nice! Thank you.


All times are GMT -5. The time now is 10:12 PM.