CUDA Suggestions and Talk
Re: CUDA Suggestions and Talk
There is only the Avisynth function. There is no need to try to accelerate this function as it is already virtually instantaneous. It is implemented by simply mapping the requested frame number.
Re: CUDA Suggestions and Talk
Thanks a lot for your help and assistance!
One more question popped up I want to address: DGIndexNV/EncNV are only able to go with mod4 as lowest, right?
I am asking because sometimes I want to crop/resize by mod2 for where I take off 2 pixels from top (black bar), staxrip set to mod2, applying resize (staxrip) makes the video 720 x 404, removing staxrip resize, adding DGSource resize 720 x 404, makes the video 720 x 402.
One more question popped up I want to address: DGIndexNV/EncNV are only able to go with mod4 as lowest, right?
I am asking because sometimes I want to crop/resize by mod2 for where I take off 2 pixels from top (black bar), staxrip set to mod2, applying resize (staxrip) makes the video 720 x 404, removing staxrip resize, adding DGSource resize 720 x 404, makes the video 720 x 402.
Re: CUDA Suggestions and Talk
It's covered in the DGDecodeNV user manual.
Currently, mod 2 is OK for right and bottom but left and top must be mod 4. It's an nVidia driver issue that will be fixed at some point.
If you must have mod 2 for top or left, then you can use Avisynth cropping.
Currently, mod 2 is OK for right and bottom but left and top must be mod 4. It's an nVidia driver issue that will be fixed at some point.
If you must have mod 2 for top or left, then you can use Avisynth cropping.
Re: CUDA Suggestions and Talk
SMDegrain.avsi is a powerful but slow avisynth filter. Could similar be done in CUDA? Any thoughts?
Re: CUDA Suggestions and Talk
Guest 2 just suggested that as well. I'll take a look into feasibility.
Re: CUDA Suggestions and Talk
Thanks.
Will be a big challenge I think because it uses mvtools and masktools.![Thinking :scratch:](./images/smilies/icon_scratch2.gif)
Will be a big challenge I think because it uses mvtools and masktools.
![Thinking :scratch:](./images/smilies/icon_scratch2.gif)
Re: CUDA Suggestions and Talk
I'm not sure if it's possible to reuse Opticflow vectors data in mvtools2, but if it's compatible, that should provide nice speedup in scripts.
PC: RTX 2070 | Ryzen R9 5950X (no OC) | 64 GB RAM
Notebook: RTX 4060 | Ryzen R9 7945HX | 32 GB RAM
Notebook: RTX 4060 | Ryzen R9 7945HX | 32 GB RAM
Re: CUDA Suggestions and Talk
Having a high quality resizer like ResampleHQ would be a nice addition to the toolset.
https://gist.github.com/4re/64642122e359c37543fe
I personally use it all the time for downsizing with Bicubic, but I don't know if the GF hardware supports that one (particularly the b and c parameters that I tune for each source with a Zopti run).
https://gist.github.com/4re/64642122e359c37543fe
I personally use it all the time for downsizing with Bicubic, but I don't know if the GF hardware supports that one (particularly the b and c parameters that I tune for each source with a Zopti run).
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Re: CUDA Suggestions and Talk
+2 on that, Boulder, the bold one haha. Meese and squirrels are are worth 2, hoomans 1. Get over it.
Re: CUDA Suggestions and Talk
Ever since this summer I was wondering if these modern open shader sharpeners could be added as a avisynth script.
Sorry if a bunch of people have brought this up already. They have good enough results to upsample 1440p to 2160p with very good results all while only dropping real time FPS a few percentages. This has to be much faster than my software cutting me from 10fps to 4 fps encoding.
Overview and results
https://www.techspot.com/review/1884-am ... s-reshade/
![Image](https://cdn.discordapp.com/attachments/601567145691840545/679913605294063629/sharpening.jpg)
I don't know how much harder it is to port than from reshade or come to think of it if I am muddling CUDA and shader scripts in my head.
https://www.youtube.com/watch?v=8PON7Vtdbk0
FidelityFX CAS (Contrast Adaptive Sharpening) v1.0
https://github.com/GPUOpen-Effects/Fide ... er/FFX_CAS
Sorry if a bunch of people have brought this up already. They have good enough results to upsample 1440p to 2160p with very good results all while only dropping real time FPS a few percentages. This has to be much faster than my software cutting me from 10fps to 4 fps encoding.
Overview and results
https://www.techspot.com/review/1884-am ... s-reshade/
![Image](https://cdn.discordapp.com/attachments/601567145691840545/679913605294063629/sharpening.jpg)
I don't know how much harder it is to port than from reshade or come to think of it if I am muddling CUDA and shader scripts in my head.
https://www.youtube.com/watch?v=8PON7Vtdbk0
FidelityFX CAS (Contrast Adaptive Sharpening) v1.0
https://github.com/GPUOpen-Effects/Fide ... er/FFX_CAS
Re: CUDA Suggestions and Talk
Goodness me, the youtube video examples look very nice !
So, are you asking for the code to somehow be incorporated into cudasynth
(yay, although that wonderful initiative seems to have stalled, or worse)
or perhaps into DGdecode ... I could live with that
(although I'd guess the author here may suggest it does not align with the prime purpose of dgdecode
) ?
In any case it would be nice to hear DG's thoughts.
edit: ah, I just saw this thread https://forum.doom9.org/showthread.php? ... Sharpening
So, are you asking for the code to somehow be incorporated into cudasynth
(yay, although that wonderful initiative seems to have stalled, or worse)
or perhaps into DGdecode ... I could live with that
![Smile :)](./images/smilies/icon_e_smile.gif)
(although I'd guess the author here may suggest it does not align with the prime purpose of dgdecode
![Smile :)](./images/smilies/icon_e_smile.gif)
In any case it would be nice to hear DG's thoughts.
edit: ah, I just saw this thread https://forum.doom9.org/showthread.php? ... Sharpening
I really do like it here.
Re: CUDA Suggestions and Talk
Ha, and I hadn't noticed this thread before!
Never say never. I will look into it. Something to do over the next (minimum of) 20 days of lockdown. I live alone so I'm going crazy.
Never say never. I will look into it. Something to do over the next (minimum of) 20 days of lockdown. I live alone so I'm going crazy.
Re: CUDA Suggestions and Talk
I don't and I'm going crazier
![Wink ;)](./images/smilies/icon_e_wink.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Our Prime Minister has said for some time "at least six months" (in some form). Many official (or respected
![Wink ;)](./images/smilies/icon_e_wink.gif)
PS, good luck with it ... the code, the crazy, and the other.
I really do like it here.
Re: CUDA Suggestions and Talk
LOL. Cat or wife?
Can't comment on that or admin will bust me for political discussion. Suffice to say, what a load of bollocks. We've been had.Our Prime Minister has said for some time "at least six months" (in some form). Many official (or respected) medical officers say even then at-risk people until a vaccine or mitigating medicine appears
Should we make a new forum for CCP virus talk?
Re: CUDA Suggestions and Talk
Behave, Nattie. Consequences can be dire.
Re: CUDA Suggestions and Talk
I heard frogs are big boys. Is it so?
Curly Howard
Director of EAC3TO Development
Director of EAC3TO Development
Re: CUDA Suggestions and Talk
Yes, so, well, it's a couple of years since I enquired if there's any interest in a world beating DGDeblockadmin wrote: ↑Sun May 21, 2017 8:12 amYes, I want to do a deblocker. You could help by providing typical samples and describing how you process them now. To be honest, I am not very familiar with real-world deblocking use cases and processing.I deal with a mostly interlaced material, sometimes noisy and blocky. Would it be difficult to create a DGDeblock which handles 576i/p, 720p, 1080i/p ?
![Smile :)](./images/smilies/icon_e_smile.gif)
https://drive.google.com/file/d/1fv5vIT ... sp=sharing
I'm not sure if this sample is blocky as well as terrible, or just terrible.
No hassle if you're not interested, just wondering if it's a possibility.
I really do like it here.
Re: CUDA Suggestions and Talk
How time flies! Always possible. Keep poking me, as you are doing here. ![Wink ;)](./images/smilies/icon_e_wink.gif)
![Wink ;)](./images/smilies/icon_e_wink.gif)
Re: CUDA Suggestions and Talk
DGDeblock, sounds good ![Wow :wow:](./images/smilies/icon_eek2.gif)
![Wow :wow:](./images/smilies/icon_eek2.gif)