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
but in R74, the constants vs.RANGE_FULL (=0) and vs.RANGE_LIMITED (=1) are still defined ? vs
Reply
myrsloik mentionend that one should use the constants,...
Looking in the code:
typedef enum VSRange {
    VSC_RANGE_FULL = 1,
    VSC_RANGE_LIMITED = 0
} VSRange;

#else

typedef enum VSColorRange {
    VSC_RANGE_FULL = 0,
    VSC_RANGE_LIMITED = 1
} VSColorRange;
source: https://github.com/vapoursynth/vapoursyn....h#L26-L36
=> using the constants is fine, Vapoursynth switches the values depending on where the value is set. Wink
And yes, the constants are still there https://github.com/vapoursynth/vapoursyn...t__.py#L14

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
But this code will work in R74 ?

    if vs.core.core_version.release_major < 74:
        clip_color_range = vs.ColorRange(props.get('_ColorRange', vs.RANGE_LIMITED.value))
    else:
        clip_color_range = vs.Range(props.get('_Range', vs.RANGE_LIMITED.value))

In R72 this code will work, but since I don't have R74 installed, I cannot test it in R74.

Dan
Reply
I see no reason for it not to work. Smile
(haven't tested Big Grin )
I plan to setup a test R74 with Python 3.12 later today. Smile
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
Code, works fine with R74. (tested)
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
Released new version: v5.6.7

Main changes:

    Improved connection error handling in ColorMNet
    Improved extraction of reference images
    Added new API HAVC_SceneDetectEdges() with improved scene detection algorithm
    Extended API HAVC_extract_reference_frames() with 3 new algorithms:
       1: Advanced detection on the edges (best for smooth transitions),
       2: Scene detection using SCXvid plugin,
       3: Scene detection using MVTools
    Added management of new "_Range" property (ver. R74) since "_ColorRange" property was deprecated.

Dan
Reply
are any adjustments to Hybrid needed?
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
No, all the changes are related to API not directly exposed in Hybrid.
I improved the scene detection algorithm and this was necessary to allow the use of DiT models as additional coloring model.

The next big change will be the direct support of DiT models in Hybrid, but for such step I need that will be released a DiT model with low hardware requirements.
Unfortunately most of the researchers working on Qwen left Alibaba and I don't know if they will start to produce new lightweight models in other companies.

Fortunately the high VRAM cost is providing an incentive to many researchers to develop models with lower RAM usage.
Will see..

Dan
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)