24.01.2019, 21:49
So i set profile and calculation precision to 10bit
And Hybrid will use ffmpeg to convert the output depth to 10bit, It doesn't matter whether ConvertBits(10) is set or not, right?
But it is better that it was?
Or I switch to Vapoursynth and do not worry, everything will work correctly?
This is VS i got:
Selur, Thanks for the answers and for the Hybrid!
--profile high10 --level 5.1 --input-depth 10 --output-depth 10
And Hybrid will use ffmpeg to convert the output depth to 10bit, It doesn't matter whether ConvertBits(10) is set or not, right?
But it is better that it was?
Or I switch to Vapoursynth and do not worry, everything will work correctly?
This is VS i got:
# Imports
import vapoursynth as vs
core = vs.get_core()
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Loading F:\MKV\QUANTUM_OF_SOLACE\QUANTUM_OF_SOLACE-2008-REMUX-003200-003400.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="F:/MKV/QUANTUM_OF_SOLACE/QUANTUM_OF_SOLACE-2008-REMUX-003200-003400.mkv", format="YUV420P8", cache=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 24000/1001
clip = core.std.AssumeFPS(clip, fpsnum=24000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# cropping the video to 1920x800
clip = core.std.CropRel(clip=clip, left=0, right=0, top=140, bottom=140)
# Output
clip.set_output()
Selur, Thanks for the answers and for the Hybrid!