09.09.2017, 20:36
Script looks as intended:
decoder and encoder call look fine:
seeing the error message:
I guess that 'True' wasn't the right way to go.
-> Seems like this isn't possible atm.
# Imports
import vapoursynth as vs
core = vs.get_core()
# Loading Plugins
core.avs.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/SourceFilter/DGDecNV/DGDecodeNV.dll")
# Loading D:\UHD\x\x.mkv using DGSource
clip = core.avs.DGSource("C:/TEMP/20_04_01_8210.dgi", fulldepth=True)
# making sure input color matrix is set as 2020ncl
clip = core.resize.Point(clip, matrix_in_s="2020ncl")
# Making sure input color range is set to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# adjusting output color from: YUV420P16 to YUV420P10
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P10)
# Output
clip.set_output()
"C:\PROGRA~1\Hybrid\VAPOUR~1\vspipe.exe" "C:\TEMP\encodingTempSynthSkript_20_04_01_8210.vpy" - --y4m | "C:\PROGRA~1\Hybrid\x265.exe" --preset slow --tune grain --input - --output-depth 10 --y4m --profile main10 --crf 24.00 --qpfile "C:\TEMP\teszt_20_04_01_8210_03.qp" --range limited --colormatrix bt2020nc --output "C:\TEMP\20_04_01_8210_04.265"
seeing the error message:
x265 [error]: unable to open input file
-> Seems like this isn't possible atm.