03.02.2024, 17:49
I am new to writing scripts in Hybrid. I am having some difficulty understanding how to script QTGMC.
When I place this script in the QTGMC Addition: section (using vapoursynth, and just placing it as is), I only receive a script error. Is there a place to read about how to enter script additions in hybrid? I see commands are repeated. If I add a comma before my addition entry, the error remains. Any advice is much appreciated!
Script attempted (from the previous post in this thread)
QTGMC(TR0=2, TR1=2, TR2=1, Rep0=1, Rep1=0, Rep2=4, DCT=5, ThSCD1=300, ThSCD2=110, SourceMatch=3, Lossless=2, Sharpness=0.1, Sbb=0, MatchPreset="slow", NoiseProcess=2, GrainRestore=0.0, NoiseRestore=0.4, NoisePreset="slow", StabilizeNoise=false, NoiseTR=0, NoiseDeint="bob")
The script error received:
Failed to evaluate the script:
Python exception: invalid syntax. Perhaps you forgot a comma? (tempPreviewVapoursynthFile09_41_00_145.vpy, line 50)
Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 3101, in vapoursynth._vpy_evaluate
File "C:\Users\Dan\AppData\Local\Temp\tempPreviewVapoursynthFile09_41_00_145.vpy", line 50
clip = havsfunc.QTGMC(Input=clip, Preset="Placebo", InputType=0, TFF=True, TR2=3, SourceMatch=0, Lossless=0, MatchPreset2="Very Slow"QTGMC(TR0=2, TR1=2, TR2=1, Rep0=1, Rep1=0, Rep2=4, DCT=5, ThSCD1=300, ThSCD2=110, SourceMatch=3, Lossless=2, Sharpness=0.1, Sbb=0, MatchPreset="slow", NoiseProcess=2, GrainRestore=0.0, NoiseRestore=0.4, NoisePreset="slow", StabilizeNoise=false, NoiseTR=0, NoiseDeint="bob")) # new fps: 25
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
When I place this script in the QTGMC Addition: section (using vapoursynth, and just placing it as is), I only receive a script error. Is there a place to read about how to enter script additions in hybrid? I see commands are repeated. If I add a comma before my addition entry, the error remains. Any advice is much appreciated!
Script attempted (from the previous post in this thread)
QTGMC(TR0=2, TR1=2, TR2=1, Rep0=1, Rep1=0, Rep2=4, DCT=5, ThSCD1=300, ThSCD2=110, SourceMatch=3, Lossless=2, Sharpness=0.1, Sbb=0, MatchPreset="slow", NoiseProcess=2, GrainRestore=0.0, NoiseRestore=0.4, NoisePreset="slow", StabilizeNoise=false, NoiseTR=0, NoiseDeint="bob")
The script error received:
Failed to evaluate the script:
Python exception: invalid syntax. Perhaps you forgot a comma? (tempPreviewVapoursynthFile09_41_00_145.vpy, line 50)
Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 3101, in vapoursynth._vpy_evaluate
File "C:\Users\Dan\AppData\Local\Temp\tempPreviewVapoursynthFile09_41_00_145.vpy", line 50
clip = havsfunc.QTGMC(Input=clip, Preset="Placebo", InputType=0, TFF=True, TR2=3, SourceMatch=0, Lossless=0, MatchPreset2="Very Slow"QTGMC(TR0=2, TR1=2, TR2=1, Rep0=1, Rep1=0, Rep2=4, DCT=5, ThSCD1=300, ThSCD2=110, SourceMatch=3, Lossless=2, Sharpness=0.1, Sbb=0, MatchPreset="slow", NoiseProcess=2, GrainRestore=0.0, NoiseRestore=0.4, NoisePreset="slow", StabilizeNoise=false, NoiseTR=0, NoiseDeint="bob")) # new fps: 25
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?