09.07.2021, 11:43
According to the debug output, the Vapoursynth script:
does load the subtitles:
-> check the preview, if the Vapoursynth preview does not contain the subitles it might be an issue with the used subtitle renderer in combination with your subtitle file.
The debug output does not show the 'Script is empty,...' message.
Cu Selur
# Imports
import vapoursynth as vs
core = vs.get_core()
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SubtitleFilter/VSFilterMod/VSFilterMod.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# source: 'D:\X\del-x\clip\clip.mkv'
# current color space: YUV420P8, bit depth: 8, resolution: 1920x1080, fps: 24, color matrix: 709, yuv luminance scale: limited, scanorder: progressive
# Loading D:\X\del-x\clip\clip.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="D:/X/del-x/clip/clip.mkv", format="YUV420P8", cache=0, prefer_hw=0)
# making sure input color matrix is set as 709
clip = core.resize.Point(clip, matrix_in_s="709",range_s="limited")
# making sure frame rate is set to 24
clip = core.std.AssumeFPS(clip=clip, fpsnum=24, fpsden=1)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# Loading D:\X\del-x\clip\clip.ass using VSFilterMod
clip = core.vsfm.TextSubMod(clip=clip, file="D:/X/del-x/clip/clip.ass")
# set output frame rate to 24.000fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=24, fpsden=1)
# Output
clip.set_output()
# Loading D:\X\del-x\clip\clip.ass using VSFilterMod
clip = core.vsfm.TextSubMod(clip=clip, file="D:/X/del-x/clip/clip.ass")
The debug output does not show the 'Script is empty,...' message.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.