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
Updated the torch add-on download to include v5.6.1.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
Since HAVC uses CLAHE, have you tried using zsmooth instead of cv2 for it?
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
No, but cv2 should be already optimized being written in C/C++.
In any case in the coloring pipeline, the bottleneck are elsewhere.

For example, recently I had to perform some color adjustment on a 1440x1080 clip already colored, using this code

clip = havc.HAVC_ColorAdjust(clip=clip, BlackWhiteTune="strong", BlackWhiteMode=4, BlackWhiteBlend="True", ReColor=False, chroma_resize=True)
clip = havc.HAVC_ColorAdjust(clip=clip, BlackWhiteTune="medium", BlackWhiteMode=3, BlackWhiteBlend="True", ReColor=False, chroma_resize=True)

The encoding speed was about 30fps and in this case are used both LUTs and CLAHE.
I admit that is not very fast, but given that in this case the CPU usage was 25% and the GPU usage was 9%, I think that the best option to increase the speed is using the chunk encoding as suggested in the chapter 4.0.4 of HAVC user guide.   


I tried to use Filtering->Filter Order/Queue->Use Filter Queue
To build a script calling 2 times HAVC_ColorAdjust, using these settings

[Image: attachment.php?aid=3364]
[Image: attachment.php?aid=3365]

The expected code to be generated is
clip = havc.HAVC_ColorAdjust(clip=clip, BlackWhiteTune="strong", BlackWhiteMode=4, BlackWhiteBlend="True", ReColor=False)
clip = havc.HAVC_ColorAdjust(clip=clip, BlackWhiteTune="medium", BlackWhiteMode=3, BlackWhiteBlend="True", ReColor=False)

But Hybrid instead of generated the following code

[Image: attachment.php?aid=3366]

Please, could you fix it.

Thanks,
Dan


Attached Files Thumbnail(s)
           
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)