Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
3rd August 2020, 08:46 | #42 | Link |
Registered User
Join Date: Apr 2019
Posts: 3
|
thank goodness for this script. I've been trying to get waifu2x to work without having to write temporary files (am noob) and this looks like it will work way better. I'm particularly anxious to see how it will handle old DVDs with interlacing.
|
3rd August 2020, 21:57 | #44 | Link |
Registered User
Join Date: Apr 2019
Posts: 3
|
some of the first ai upscalers started as deinterlacing filters, such as nnedi. odd scanlines were interpolated, and since the result was quite nice, it led to use as a general upscaler. anyway, a lot of damage can still happen when trying to go progressive, so my idea is to AI upscale THEN deinterlace to try and eek out as much detail as possible. something like SeperateFields->AiUpscale->Weave->QTGMC. the question is- will the trained model perform when fed half-height photos, or is even more processing required.
|
4th August 2020, 07:01 | #46 | Link |
Registered User
Join Date: May 2018
Posts: 49
|
All seems to be working really well. Regarding the dither problem you'd mentioned in the Avisynth Shader thread, does the usual high bit depth approach work around this? For example:
ConvertBits(16) AiUpscale(luma="vdsr",Chroma="KrigBilateral",mode="illustration") ConvertBits(8, dither=-1) |
4th August 2020, 08:32 | #47 | Link |
Registered User
Join Date: Oct 2018
Posts: 319
|
Processing is done at 16 bit depth anyway, but if the input is 8 bit, the output is converted to 8 bit (without dithering) in the script before returning it. If the input is 16 bit, so is the output, but the transfer to the GPU is slower.
The problem is that AviSynth Shader uses ordered dithering when converting to 8 bit on the GPU before returning the result, so the conversion cannot be done this way which would be faster. |
4th August 2020, 09:21 | #48 | Link |
Registered User
Join Date: May 2018
Posts: 49
|
Yes that's definitely a nuisance; there are often times where you need additional processing post upscale and having dither baked like that isn't ideal.
Just to clarify though, passing 16-bit to AIUpscale like this, even though it offers no quality benefits and is slower, doesn't add dither? |
4th August 2020, 11:06 | #50 | Link |
Registered User
Join Date: May 2018
Posts: 49
|
Gotcha, thanks for the clarification. It's actually no real biggie for me given there's some HBD processing going on before and afterwards, but I'm sure that such an extra option might be useful for some.
Many thanks again for your hard work. The results are really impressive and it's considerably faster than every other NN upscaler I've tried. It's just so useful being able to modify the denoising on-the-fly to get the best out of it. |
23rd August 2020, 22:42 | #51 | Link |
Registered User
Join Date: Oct 2001
Posts: 454
|
Thanx for this, it looks really interesting
Just set up a completeley fresh win10/64 (2004), installed avisynth+ and Avisynthshader, put all the files in ".....\avisynth+\plugins+", loaded up Virtualdub64.. First, I had to get rid of shader.dll, otherwise VD2 was complaining about "not loading 32bit plugin into 64bit avisynth"... Now I get. "There is no function named 'convertToShader'", refering to 4 lines in aiupscaler.avsi.. Can you help me on this one please? |
25th August 2020, 11:04 | #54 | Link | |
Registered User
Join Date: May 2018
Posts: 49
|
Quote:
Global Path = "C:\Program Files (x86)\AviSynth+\plugins64+\Shaders" There's no need to delete shader.dll. |
|
27th August 2020, 21:34 | #57 | Link | |
Registered User
Join Date: Oct 2001
Posts: 454
|
Quote:
"canot load 32.. in 64..: "c:/program..... /avisynth+/plugins64+/shader.dll". Somehow it always tries to load shader.dll If I remove shader.dll from the plugins+ folder, leaving everythnig else as it is (including shader-x64.dll), I get: "avisynth open failure: Script Erro: There is no function named "converttoshader", followed by the mentioning of four lines of the aiupscale.avsi skript... seems the error is the same as before |
|
28th August 2020, 01:09 | #58 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,346
|
Quote:
If it still does not work, try cleaning out the plugins directory. Maybe some conflicting .dlls |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|