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.

Deoldify Vapoursynth filter
Now "SC thresh", "SC SSIM thresh" and "SC min freq" are always disabled.
Reply
Those are enabled when refMerge is used.
bool useExModel = model->boolValue("vsHAVCUseExModel");
int methodIndex = model->currentIndex("vsHAVCExModelMethod");
bool allowRefMerge = useExModel && (methodIndex == 0 || methodIndex == 1 || methodIndex == 5);
bool usingRefMerge = allowRefMerge && model->currentIndex("vsHAVCExModelRefMerge") != 0;

this->doSetEnabled(model, "vsHAVCExModelSCThreshold", usingRefMerge);
this->doSetEnabled(model, "vsHAVCExModelScThtSSIM", usingRefMerge);
this->doSetEnabled(model, "vsHAVCExModelSCMinFreq", usingRefMerge);
Are those now independent of refMerge?

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
They are always  used, because are the minimum fields necessary to extract the reference frames from a Video Clip.
With Ref merge there are 2 steps of scene detection, one performed with ScMinFreq=1 (automatically set by HAVC_main) and the second that is using  "SC thresh"  and "SC min freq" to extract the reference frame to be used for the temporal stabilization.

Dan
Reply
Okay, updated Hybrid_deoldify to always enable and add (when they are not at the default value) them when exModel is used.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
When is selected DeepRemaster the "Frames" are not reported in the script

[Image: attachment.php?aid=2974]

Dan


Attached Files Thumbnail(s)
   
Reply
Quote:Every time the Exemplar Models are enabled and for the models: 0, 1, 2, 5, 6.
You meant 'methods' (0,1,2,5,6) and then I mixed then method and model too Tongue

Updated Hybrid_deoldify

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
This is a special case when the directory can be select (for output)

[Image: attachment.php?aid=2975]

Dan


Attached Files Thumbnail(s)
   
Reply
Updated Hybrid_deoldify.
Are there also restriction on when "Reference frames only" should be available?

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
(09.02.2025, 18:17)Selur Wrote: Updated Hybrid_deoldify.
Are there also restriction on when "Reference frames only" should be available?

Cu Selur

In my code there is already this check implemented

if not (ScFrameDir is None) and DeepExMethod != 0 and DeepExOnlyRefFrames:
        HAVC_LogMessage(MessageType.EXCEPTION,
                        "HAVC_main: DeepExOnlyRefFrames is enabled but method not = 0 (HAVC)")


Dan
Reply
Adjusted Hybrid_deoldify to only enable "Reference frames only" when Method is 0 and ScFrameDir isn't empty.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 12 Guest(s)