Selur's Little Message Board

Full Version: Deoldify Vapoursynth filter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I released the RC2 with some small changes:

  1) the limit of max_memory_frames has been increased from 10.000 to 15.000
  2) it was missing a way to disable the Tweaks using the presets. Instead of adding a new parameter, I changed the behaviour of "Color fix" when is set to "none" HAVC_main will disable the Tweaks (i.e. will set the parameter "ddtweak=False" in HAVC_ddeoldify) so when "Color fix" is set to "none" you should uncheck the flag "Tweaks" on the custom section, of course when "Color fix" is not set to "none" the flag "Tweaks" have to be checked.

Thanks,
Dan

P.S.
You could rename "Color fix" in "Color tweaks"
Uploaded an updated Hybrid_deoldify version for testing.

Cu Selur
The last dev version 2025.01.11.1 is just amazing, and is working perfectly!

I think that with version 4.6.5 HAVC has finally reached a good level of stability.

Using the approaches described in the chapter "Coloring Using Hybrid" of HAVC User Guide (that will be updated with the release of v.4.6.5)
It is possible to get very stable colors.
Of course it is not possible to get colorful movies with a great variety of colors, this is simple impossible using AI automatic colorizers.

To get colorful movies with a great variety of colors is still necessary a lot of manual work.
In the chapter "Advanced coloring using adjusted reference frames" included in HAVC User Guide I show how to improve color quality using ColorMNet and manually adjusted reference frames.

An example of movie colored using only ColorMNet with manually adjusted reference frames can be found at the following link.

https://archive.org/details/the-thing-re...rized-1951

to color this clip I used some thousands of low resolution reference images and hundreds of images colored manually.
But is an activity time consuming and the AI automatic colorizers has been developed to just avoid this manual activity.

Thanks again for the fantastic work you have done on this version. Smile 

Dan
Happy that works.
Updated the dev download to use RC2.

Cu Selur
I just released the version 4.6.5 on GitHub: https://github.com/dan64/vs-deoldify/rel...tag/v4.6.5

Thanks,
Dan
Nice! Any changes I need to add to Hybrid after RC2 ?

Cu Selur
No, it is the same code with official version number: 4.6.5

Dan
Hello Selur,

  I'm going to release a new version 4.6.7. I attached the RC1.
  The aim of this release is to remove the excessive red components that are often used to color the frames.
  Unfortunately all the picture color models are affected by this problem.

  The changes in this release will affect some Presets and the related custom section of the GUI.

  The changes are the following:

  1) Preset Speed: changed the mapping between Speed preset and Render Factors as displayed in the code below
   
Code:
presets = ['placebo', 'veryslow', 'slower', 'slow', 'medium', 'fast', 'faster', 'veryfast']
deoldify_rf = [32, 30, 28, 26, 24, 22, 20, 16]
ddcolor_rf = [44, 36, 32, 28, 24, 22, 20, 16]

  2) Preset Color Map added/renamed some color mapping as displayed in the following table:

[Image: attachment.php?aid=2892]

  VERY IMPORTANT: when is assigned the preset Color map, its value must be reported in the custom section ONLY on the field Color map (see picture below)

[Image: attachment.php?aid=2893]  

  3) Preset Ref merge: added new weight as described below
    
Code:
Ref Merge allowed values are:
  0 = No RF merge (reference frames can be produced with any frequency)
  1 = RF-Merge VeryLow (reference frames are merged with weight=0.3)
  2 = RF-Merge Low (reference frames are merged with weight=0.4)
  3 = RF-Merge Med (reference frames are merged with weight=0.5)
  4 = RF-Merge High (reference frames are merged with weight=0.6)
  5 = RF-Merge VeryHigh (reference frames are merged with weight=0.7)


I hope that you can apply these changes in Hybrid

Thanks,
Dan

EDIT:
here some example of application of filter "red->brown" on HAVC colored frames:
https://imgsli.com/MzM5MjQ1
https://imgsli.com/MzM5MjQ2
https://imgsli.com/MzM5MjQ3
Uploaded an updated Hybrid_deoldify version for testing.
(hopefully I adjusted everything correctly)
Regarding 'sc_debug': How about showing the values on the video frame using core.text.Text( clip=clip, text="The Text", alignment=2]) instead of showing them in the log (which Hybrid does not show)?

Cu Selur