16.02.2019, 18:49
(16.02.2019, 18:25)Selur Wrote: Encoding call:im gonna go check and report back.
looks fine, but aborts with:"C:\PROGRA~1\Hybrid\64bit\VAPOUR~1\vspipe.exe" "C:\Users\Laci\AppData\Local\Temp\encodingTempSynthSkript_16_07_02_4810.vpy" - --y4m | "C:\PROGRA~1\Hybrid\64bit\x264.exe" --preset veryfast --pass 1 --bitrate 1250 --profile high --level 4.1 --bframes 5 --rc-lookahead 40 --qpmax 51 --weightp 2 --aq-strength 0.6 --sar 8:9 --deblock 1:1 --non-deterministic --range tv --stats "C:\Users\Laci\AppData\Local\Temp\extras_16_07_02_4810_03.stats" --demuxer y4m --fps 24000/1001 --output-depth 8 --output NUL -
Vapousynth script:y4m [error]: bad sequence header magic
looks fine too.# Imports
import vapoursynth as vs
core = vs.get_core()
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/d2vSource/libd2vsource.dll")
# Loading J:\VIDEO_TS using D2VSource
clip = core.d2v.Source(input="C:/Users/Laci/AppData/Local/Temp/16_07_02_4810.d2v", rff=False)
# 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 30000/1001
clip = core.std.AssumeFPS(clip, fpsnum=30000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
clip = core.vivtc.VFM(clip=clip, order=0, mode=1)
clip = core.vivtc.VDecimate(clip=clip)
# ColorMatrix: adjusting color matrix from 470bg to 709
clip = core.resize.Bicubic(clip=clip, matrix_in_s="c", matrix_s="709", range_in=0, range=0)
# Output
clip.set_output()
No clue why it's crashing for you.
Does the Vapoursynth preview work properly?
As a side note:
Seeing that the source was detected as bt709 and you applying ColorMatrix with values that convert from Rec.601 (470bg) to Rec.709 (709) seems wrong.
Cu Selur
well as far as the color scheme is concerned, if i dont do this, i get different colors from the original, definitely more vivid. i can only guess the detection aint correct.
im using telecine DVD material for source.