This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # HARDSUB.SH | |
| # (c) 2014 Fredrick Brennan | |
| # | |
| # Usage notes: | |
| # This script requires that ~/.fonts is in your fontconfig path. | |
| # This script also requires mkvmerge, realpath and ffmpeg to be installed. Only supports SSA subs and MKV files. | |
| # Also note that this script can take a long time to run. | |
| # Run as `hardsub.sh FILE_NAME` | |
| # You should be able to delete the following created files after it is done: done_subtitles.ass and the entire contents of ~/.fonts/MKV |