Selur's Little Message Board
Deoldify Vapoursynth filter - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Talk, Talk, Talk (https://forum.selur.net/forum-5.html)
+--- Forum: Small Talk (https://forum.selur.net/forum-7.html)
+--- Thread: Deoldify Vapoursynth filter (/thread-3595.html)



RE: Deoldify Vapoursynth filter - Selur - 11.02.2025

@Dan64: Not totally sure what what you want disabled and thus removed from the HAVC_main call.
Can you make a list of what should be disabled/removed when? (that picture doesn't help at all)


RE: Deoldify Vapoursynth filter - banditsc - 11.02.2025

Well there wasn't much to work with. It was first converted from old film years ago to VHS, and now from VHS to digital. I wish I still had the old film.


RE: Deoldify Vapoursynth filter - Selur - 11.02.2025

Sorry, to say this, but the bitrate is way too low or my taste given the source.
Ideally, the during digitalization a lossless file should have been created.
Maybe first cleaning up the source, creating an intermediate file and trying to colorize that is a better approach. (doing everything in one job will take ages)
Also, I would probably not use Deolidfy on the whole clip, autowhite and some denoising seem not that bad:
[Image: grafik.png]
also try with adding:
import muvsfunc
# requires colorformat YUV420P8
core.std.LoadPlugin(path="%FILTERPATH%/Support/libmedian.dll")
clip = muvsfunc.Cdeblend(input=clip,omode=2,xr=4,yr=4)
in a custom section.

Cu Selur


RE: Deoldify Vapoursynth filter - Dan64 - 11.02.2025

(11.02.2025, 20:50)Selur Wrote: @Dan64: Not totally sure what what you want disabled and thus removed from the HAVC_main call.
Can you make a list of what should be disabled/removed when? (that picture doesn't help at all)

The concept is that the exemplar-base models can be enable/disabled by using the check box Exemplar-based models.

It is not possible to do it with picture based models.   

When are selected the methods:

3 = external RF same as video
4 = external RF different from video
5 = external ClipRef same as video
6 = external ClipRef different from video

the pictures-based models can be disabled becaused are not used for coloring the movie, because the source of the colors is external.

So when are selected the methods: 3, 4, 5, 6 the following parameters are not used by HAVC_main:

Preset  -> Speed
ColorModel -> Coloring
CombMethod -> Combine
VideoTune -> Stabilize
ColorFix -> Color tweaks

and the related widget on the GUI can be disabled.

They can be (re)enabled when:

Exemplar Models box is unchecked

or

Method in: 0, 1, 2.

Let me know if you need additional information.

Thanks,
Dan


RE: Deoldify Vapoursynth filter - Selur - 11.02.2025

Will look into that tomorrow.
Reordering the GUI might be a good idea then too.


RE: Deoldify Vapoursynth filter - Dan64 - 11.02.2025

(11.02.2025, 19:39)banditsc Wrote: Thanks.. A sample of it is here, https://drive.google.com/file/d/1VJa1QsgH6ppjr6862q6KRbRofV7RcRIC

Deoldify does well on most areas, but it really struggles with red, everything I run thru it gets rid of red, greens also seem to be a little struggle.

I guess I could cut up the video into sections that Deoldify can handle, then put them all back together. But I have a handful of old films to run thru so it would take a while.

Try these LUTs

[Image: attachment.php?aid=2986]
[Image: attachment.php?aid=2987]

Dan


RE: Deoldify Vapoursynth filter - Selur - 11.02.2025

@Dan64: new GUI will probably look like:
[Image: grafik.png]
(that's only a quick mockup, depending on whether 'Exemplar Method' is enabled and what is selected gui elements would be en-/disabled... argh, should be sleeping,..)
Cu Selur


RE: Deoldify Vapoursynth filter - Dan64 - 11.02.2025

Please keep the previous GUI, for me was more clear.
Moreover I already taken all the screenshots for the documentation...

Dan

P.S.
I'm planning to release HAVC 5.0 in GitHub tomorrow.

EDIT: if is not possible to implement the requirement without change the GUI, please don't implement it, is not strictly necessary.


RE: Deoldify Vapoursynth filter - Selur - 12.02.2025

I can leave the GUI as is, but I think changing it to better show the connections seems like a good idea.
Cu Selur


RE: Deoldify Vapoursynth filter - Dan64 - 12.02.2025

yes, please don't change the GUI. 
There is the User Guide which provides all the information needed to use the filter with the GUI settings

Thanks,
Dan