Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.
/ make-softsub Public archive

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

License

Notifications You must be signed in to change notification settings

garret1317/make-softsub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks