View Single Post
Old 7th December 2017, 15:17   #1269  |  Link
lordsmurf
Registered User
 
lordsmurf's Avatar
 
Join Date: Jan 2003
Posts: 124
Quote:
Originally Posted by TheFluff View Post
it was a while since I used knlmeanscl but I believe last time I tried it, it was pushing somewhere around 25 fps, and that was on a computer that is now five years old (i5-3570k, gtx... 670? I think?)
you can be in the next decade right now if you want to, is what I'm sayin'
You're not going to get 25fps from this:

Code:
SetFilterMTMode("DEFAULT_MT_MODE", 2)
AVISource("BadToonSample.avi")
ConvertToYV16(interlaced=true)
orig=last
ev=orig.assumetff().separatefields().selecteven()
od=orig.assumetff().separatefields().selectodd()
ev
ue_chroma = UToY(ev).blur(0,1.5).binomialblur(5).ttempsmooth(maxr=6,lthresh=150, strength=6).KNLMeansCL(d=3, 
\ a=8, h=6, device_type = "GPU", device_id = 1, channels="Y")
ve_chroma = VToY(ev).blur(0,1.5).binomialblur(5).ttempsmooth(maxr=6,lthresh=150, strength=6).KNLMeansCL(d=3, 
\ a=8, h=6, device_type = "GPU", device_id = 1, channels="Y")
YToUV(ue_chroma, ve_chroma)
MergeLuma(ev)
ev_filtered=last
od
uo_chroma = UToY(od).blur(0,1.5).binomialblur(5).ttempsmooth(maxr=6,lthresh=150, strength=6).KNLMeansCL(d=3, 
\ a=8, h=6, device_type = "GPU", device_id = 1, channels="Y")
vo_chroma = VToY(od).blur(0,1.5).binomialblur(5).ttempsmooth(maxr=6,lthresh=150, strength=6).KNLMeansCL(d=3, 
\ a=8, h=6, device_type = "GPU", device_id = 1, channels="Y")
YToUV(uo_chroma, vo_chroma)
MergeLuma(od)
od_filtered=last
interleave(ev_filtered,od_filtered)
assumefieldbased().assumetff().weave()
Prefetch(6)
KNLMeansCL will make the script crawl at about 1fps.

It's an ugly nth gen video with horrible chroma errors. I wrote a script that will suffice, with about 10fps, but the above is better -- but only in quality, not speed. The 1-hour video would take 165+ hours to process, which is not reasonable.

Quote:
Originally Posted by Groucho2004 View Post
you should consider updating your hardware. Otherwise just forget about GPU filters.
My i7-6700K with 16gb RAM doesn't need updating. I'm not a gamer, and have no need for expensive graphics cards. Furthermore, all those cards do is add room heat, as well as fan noise.

I can borrow a card, but I don't think it's going to give a usable performance boost. This is just a slow filter, GPU or not.

Feel free to test the above script, share your fps results.

Can anything replace KNLmeansCL for the sake of speed?
__________________
Back in town.
If you want my advice, then find me at the DigitalFAQ forum. Glad to assist.

Last edited by lordsmurf; 7th December 2017 at 15:33.
lordsmurf is offline   Reply With Quote