These files fix a problem in Devine's default distribution in which TTML subtitles fail to convert to VTT (resulting in an exception being thrown) and enhance Devine's functionality by automatically converting non-SRT subtitles to SRT before multiplexing. This is useful for some smart televisions, which automatically display subtitles for videos with SRT subtitles in MKV (Matroska) containers thereby improving accessibility for deaf/hard-of-hearing viewers.
USAGE:
1. replace subtitle.py in your existing Devine installation (devine/core/tracks/subtitle.py) with the one in this repository. You may wish to back up the original before replacing it, even though the original is buggy.
2. download the SubtitleEdit from this repository and place it alongside the other binaries that Devine requires. It is the command-line edition that Devine requires to function.
3. add SubtitleEdit - the one you downloaded from here, NOT the original/GUI one you may have downloaded previously - to your system or user PATH.
NOTES:
1. IMPORTANT: DO NOT download more than one subtitle file at once, or else SubtitleEdit will fail with exit code -1. If you set --downloads to more than one to speed downloading, you can avoid this problem by setting --downloads to no more than 3.
2. should you wish to compile SubtitleEdit from scratch, you can find the source code at https://github.com/SubtitleEdit/subtitleedit-cli