This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Request: Add "MatchPreset" and "MatchEnhance" settings to QTGMC
#1
Lightbulb 
MatchPreset and MatchPreset2

These settings are overrides. Their default settings will differ depending on the Preset. So they could be checkboxes to enable the overide, then a drop down to select the override setting.

MatchPreset and MatchPreset2 settings: "Placebo", "Very Slow", "Slower", "Slow", "Medium", "Fast", "Faster", "Very Fast", "Super Fast", "Ultra Fast"

Example "Match Preset Override" and "Match Preset 2 Override" check boxes, if disabled nothing is set so the default value is automatically used, if enabled, enable drop downs with the above settings.


MatchEnhance

This should just be a basic setting to add. (Its default is 0.5). Maybe a checkbox under "Sharpness". The setting doesn't seem to have an upper limit, but a setting of 1000000 doesn't look different than 1000, but a setting of 1000 looks different than 100. Settings above 1000 don't seem to look any different from each other. The recommended setting is below 1.00 of course, so this would be for either experimental or creative effect.


Example line with MatchPreset and MatchPreset2 overridden to Placebo, and MatchEnhance changed to 0.75:

QTGMC(Preset="Placebo", InputType=0, TR2=0, Sharpness=0.2, SourceMatch=3, MatchEnhance=0.75, MatchPreset="Placebo", MatchPreset2="Placebo", Lossless=0, ediThreads=2)


Of course this can be done via custom:

LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LoadDll.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LSMASHSource.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\AddGrainC.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\dfttest.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\EEDI2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\eedi3.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\FFT3DFilter.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\TDeint.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\VerticalCleanerSSE2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\MedianBlur2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\nnedi3.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\nnedi2.dll")
LoadCPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\yadif.dll")
LoadDLL("C:\Program Files\Hybrid\32bit\avisynthPlugins\libfftw3f-3.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\SMDegrain.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi")
AssumeTFF()
QTGMC(Preset="Placebo", InputType=0, TR2=0, Sharpness=0.2, SourceMatch=3, MatchEnhance=0.75, MatchPreset="Placebo", MatchPreset2="Placebo", Lossless=0, ediThreads=2)
SelectEven()


I know it's extra work. But something to consider!



ALSO, Final Temporal Smoothing (TR2) has had settings 4 and 5 added since the end of 2016. So you should add them! Wink
Reply
#2
Quote:ALSO, Final Temporal Smoothing (TR2) has had settings 4 and 5 added since the end of 2016. So you should add them
looked at the code values 0-6 are supported for Avisynth, not for Vapoursynth :/; which is why I missed it.
-> adjusted the code

I'll look at the MatchPreset, MatchPreset2 and MatchEnhance options.

Cu Selur
Reply
#3
AWESOME! Smile

Testing the Match Preset options seem to be OK.

Match Enhance fails with

Script error: the named argument "MatchEnhance" to QTGMC had the wrong type (C:\Users\Administrator\AppData\Local\Temp\tempPreviewAvisynthFile10_33_16_663.avs, line 28)

QTGMC(Preset="Placebo", InputType=0, TR2=0, Sharpness=0.2, SourceMatch=3, Lossless=0, MatchPreset="Placebo", MatchPreset2="Placebo", MatchEnhance="1", ediThreads=2)


I believe the problem is it gets set as MatchEnhance="1" when it should be MatchEnhance=1 (no quotes around the number). Not sure if it needs the .00 decimals, i.e. MatchEnhance=1.00.

ALSO, the Hybrid window size in this version is too small! Tongue

Previous release was 1300x551, this release is 1182x513:

   
Reply
#4
Will fix the quote-problem and send you a new test link in a few minutes.
Size is changing since I'm testing around with icon sizes and scaling,.. Wink

Cu Selur
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)