Soebb / make-softsub

quick and dirty script to OCR hardsubs into softsubs with videosubfinder. isn't good, but works.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make-softsub

quick'n dirty script to OCR hardsubs into softsubs.

Requirements

Usage

./make-softsub.sh input.mkv output.ass

The powershell script and the bash script both do the same things in the same ways, so it doesn't matter which one you use. The only real difference is the bash script was written first because that's what I'm more comfortable with.

Outputs to SRT and ASS. ASS is reccomended due to more accurate timing, and the fact that it's probably what you use anyway.

New directories will be created in your current working directory by VideoSubFinder. Don't run multiple instances of the script at the same time in the same directory, or they'll conflict with each other.

Border for VideoSubFinder to detect in is hardcoded because I can't be asked to add a flag for it.

WARNING: THERE IS NO ERROR HANDLING IN THIS SCRIPT. IT WILL NOT COMPLAIN IF ONE OF THE ARGUMENTS IS MISSING, SO MAKE DAMN SURE YOU GOT THE COMMAND RIGHT.

Also, beware of OCR errors. Do a full QC pass

todo: make it good (will happen the next time i need to ocr something)

About

quick and dirty script to OCR hardsubs into softsubs with videosubfinder. isn't good, but works.

License:The Unlicense


Languages

Language:Shell 57.3%Language:PowerShell 42.7%