speedyrazor
16th June 2016, 12:27
Hi, I am using the below script to create a PAL SD down-convert from an HD Source and adding 1 second of black on the front.
It has been reported back to me that the 1 sec black on the front of the video (which the BlankClip is creating) is not true black (sub black).
What can I do to rectify this, and why is this happening please?
import vapoursynth as vs
core = vs.get_core(threads=4)
ret = core.lsmas.LibavSMASHSource(source=r"QuicktimeProresHQ-HD.mov")
ret = core.std.AssumeFPS(ret, fpsnum=25, fpsden=1)
ret = core.fmtc.resample (clip=ret, w=720, h=576, css="444", kernel="spline36")
ret = core.fmtc.matrix (clip=ret, mats="709", matd="601")
ret = core.fmtc.resample (clip=ret, css="422")
ret = core.fmtc.bitdepth (clip=ret, bits=10)
b1 = core.std.BlankClip(ret, length=25)
retFinal = b1 + ret
retFinal.set_output()
It has been reported back to me that the 1 sec black on the front of the video (which the BlankClip is creating) is not true black (sub black).
What can I do to rectify this, and why is this happening please?
import vapoursynth as vs
core = vs.get_core(threads=4)
ret = core.lsmas.LibavSMASHSource(source=r"QuicktimeProresHQ-HD.mov")
ret = core.std.AssumeFPS(ret, fpsnum=25, fpsden=1)
ret = core.fmtc.resample (clip=ret, w=720, h=576, css="444", kernel="spline36")
ret = core.fmtc.matrix (clip=ret, mats="709", matd="601")
ret = core.fmtc.resample (clip=ret, css="422")
ret = core.fmtc.bitdepth (clip=ret, bits=10)
b1 = core.std.BlankClip(ret, length=25)
retFinal = b1 + ret
retFinal.set_output()