subtext
subtext copied to clipboard
Unable to render SRT subtitles
While testing recently, I found that SRT subtitles are not rendered at all using this plugin. Taking the same file and converting it to ASS using ffmpeg and then rendering again using this plugin works like a charm.
Example script:
import vapoursynth as vs
core = vs.core
clip = core.std.BlankClip(width=720, height=304, length=2000)
clip = clip.sub.TextFile("./subs-short.srt")
clip.set_output()
Use the attached file (rename to srt as appropriate, Github only allows txt files). You'll see a black clip rendered with no text.