CUDA Suggestions and Talk

These CUDA filters are packaged into DGDecodeNV, which is part of DGDecNV.
User avatar
admin
Site Admin
Posts: 4382
Joined: Thu Sep 09, 2010 3:08 pm

Re: CUDA Suggestions and Talk

Post by admin » Sat Dec 15, 2018 7:18 am

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.

Chris
Posts: 13
Joined: Sun Dec 02, 2018 11:48 am

Re: CUDA Suggestions and Talk

Post by Chris » Sat Dec 15, 2018 11:04 am

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.

User avatar
admin
Site Admin
Posts: 4382
Joined: Thu Sep 09, 2010 3:08 pm

Re: CUDA Suggestions and Talk

Post by admin » Sat Dec 15, 2018 1:30 pm

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.

Sharc
Distinguished Member
Distinguished Member
Posts: 208
Joined: Thu Sep 23, 2010 1:53 pm

Re: CUDA Suggestions and Talk

Post by Sharc » Wed Aug 07, 2019 5:14 am

SMDegrain.avsi is a powerful but slow avisynth filter. Could similar be done in CUDA? Any thoughts?

User avatar
admin
Site Admin
Posts: 4382
Joined: Thu Sep 09, 2010 3:08 pm

Re: CUDA Suggestions and Talk

Post by admin » Wed Aug 07, 2019 7:58 am

tormento just suggested that as well. I'll take a look into feasibility.

Sharc
Distinguished Member
Distinguished Member
Posts: 208
Joined: Thu Sep 23, 2010 1:53 pm

Re: CUDA Suggestions and Talk

Post by Sharc » Wed Aug 07, 2019 11:42 am

Thanks.
Will be a big challenge I think because it uses mvtools and masktools. :scratch:

User avatar
admin
Site Admin
Posts: 4382
Joined: Thu Sep 09, 2010 3:08 pm

Re: CUDA Suggestions and Talk

Post by admin » Wed Aug 07, 2019 11:57 am

Sharc wrote:
Wed Aug 07, 2019 11:42 am
Will be a big challenge
For sure.

User avatar
DJATOM
Distinguished Member
Distinguished Member
Posts: 53
Joined: Fri Oct 16, 2015 6:14 pm

Re: CUDA Suggestions and Talk

Post by DJATOM » Wed Aug 21, 2019 6:34 am

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.
RTX 2070 | Ryzen R9 3900X (no OC) | 32 GB RAM

Boulder
Posts: 35
Joined: Fri Jul 29, 2011 7:22 am

Re: CUDA Suggestions and Talk

Post by Boulder » Mon Sep 23, 2019 5:41 am

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).

User avatar
Bullwinkle
Posts: 14
Joined: Thu Sep 05, 2019 6:37 pm

Re: CUDA Suggestions and Talk

Post by Bullwinkle » Wed Sep 25, 2019 8:15 pm

+2 on that, Boulder, the bold one haha. Meese and squirrels are are worth 2, hoomans 1. Get over it.

Post Reply