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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th May 2022, 21:08   #1521  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,160
Quote:
Originally Posted by takla View Post
Just use ffmpegs built-in nlmeans_opencl like this
Code:
ffmpeg -y -init_hw_device opencl=ocl -filter_hw_device ocl -i INPUT.avs -c:v prores_ks -filter_complex "format=yuv420p, hwupload, nlmeans_opencl, hwdownload, format=yuv420p" OUTPUT.mkv
Here are the available parameters
Use them like this
Code:
nlmeans_opencl=s=1.0:p=7:r=15
Note1: r=15 might be too slow. Use lower values.
Note2: p=7 might be too lossy. Use higher values.
Note3: Anything but 8bit is not supported
Note4: If you have a nvidia GPU or a good CPU, use BM3D
Note5: Or use MVtools
Both are much better then nlmeans.
Some people say KNLMeansCL still better than BM3D in here
kedautinh12 is offline   Reply With Quote
Old 30th May 2022, 21:29   #1522  |  Link
takla
Registered User
 
Join Date: May 2018
Posts: 184
Quote:
Originally Posted by kedautinh12 View Post
Some people say KNLMeansCL still better than BM3D in here
I did exactly one test with nlmeans_opencl which was not only MUCH slower then BM3D or MDegrain but also had MUCH worse quality. I tried multiple different parameters to no avail. That is already bad enough for me to never consider it as an option ever again.
takla is offline   Reply With Quote
Old 31st May 2022, 04:51   #1523  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 1,030
Quote:
Originally Posted by kedautinh12 View Post
Some people say KNLMeansCL still better than BM3D in here
Well, I have to say I did a BM3D (CUDA) encode the other day, and it was NOT good, so that's off my usage list, from now on.

Having said that, BM3D (CPU) is OK

Yet to do a proper KNLMeansCL comparison.
__________________
Long term RipBot264 user.

RipBot264 modded builds..
*new* x264 & x265 addon packs..
TDS is offline   Reply With Quote
Old 17th June 2023, 22:18   #1524  |  Link
Lan4
Registered User
 
Join Date: Dec 2022
Posts: 64
When this filter is running, my video card starts to squeak. The sound is like a grasshopper. The filter is working fine. Can this be fixed without repairing the video card?
Lan4 is offline   Reply With Quote
Old 17th June 2023, 23:34   #1525  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,577
That sqeaking just tells about the load.
If the video card is designed in a way that current draw can lead to magnetostriction
(inductivities can exhibit that), any serious load will trigger similar behaviour, not just KNLMeansCL.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 18th June 2023, 03:23   #1526  |  Link
Lan4
Registered User
 
Join Date: Dec 2022
Posts: 64
I compared the work of KNLMeansCL and FFT3DGPU in GPU-Z. Is the "GPU Load" value important? The load is 100% when KNLMeansCL is running. In other values, the difference is small.
Lan4 is offline   Reply With Quote
Old 18th June 2023, 04:27   #1527  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,160
Quote:
Originally Posted by Lan4 View Post
I compared the work of KNLMeansCL and FFT3DGPU in GPU-Z. Is the "GPU Load" value important? The load is 100% when KNLMeansCL is running. In other values, the difference is small.
For me, KNLMeansCL better than FFT3DGPU, FFT3DGPU ported base old ver of FFT3DFilter so it's even worst than FFT3DFilter
kedautinh12 is offline   Reply With Quote
Old 25th June 2023, 04:12   #1528  |  Link
Lan4
Registered User
 
Join Date: Dec 2022
Posts: 64
Perhaps I have a strange question. How to reduce load and speed of KNLMeansCL? I don't need the maximum speed of the filter, KNLMeansCL is already fast enough. I want to try to reduce the temperature of the video card, the noise of the fans and remove the squeak.
Lan4 is offline   Reply With Quote
Old 25th June 2023, 04:33   #1529  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,394
Quote:
Originally Posted by Lan4 View Post
Perhaps I have a strange question. How to reduce load and speed of KNLMeansCL? I don't need the maximum speed of the filter, KNLMeansCL is already fast enough. I want to try to reduce the temperature of the video card, the noise of the fans and remove the squeak.
Look at various GPU over/underclocking utilities. They can change the core / memory speeds, voltage.
poisondeathray is offline   Reply With Quote
Old 25th June 2023, 10:48   #1530  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
Originally Posted by kedautinh12 View Post
For me, KNLMeansCL better than FFT3DGPU, FFT3DGPU ported base old ver of FFT3DFilter so it's even worst than FFT3DFilter
FFT3DGPU uses less precision than CPU version FFT3DFilter,
it was always of lesser quality.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 25th June 2023, 14:58   #1531  |  Link
Lan4
Registered User
 
Join Date: Dec 2022
Posts: 64
Quote:
Originally Posted by poisondeathray View Post
Look at various GPU over/underclocking utilities. They can change the core / memory speeds, voltage.
I already thought about reducing the power of the video card. But is it possible to reduce the power of the filter itself?
Lan4 is offline   Reply With Quote
Old 4th July 2023, 01:27   #1532  |  Link
OAKside
Cat
 
OAKside's Avatar
 
Join Date: Oct 2006
Location: Box
Posts: 21
Quote:
Originally Posted by Lan4 View Post
When this filter is running, my video card starts to squeak. The sound is like a grasshopper. The filter is working fine. Can this be fixed without repairing the video card?
KNLMeansCL does make my graphics card (6600 XT) produce a specific noise, not heard at other times (games, HW encoding, etc). The sound is like a constant white noise (low decibel, barely heard, similar to coil whine). I assumed it was due to the particular or heavy processing that is going on, like Emulgator has explained. It is my least favorite part about KNLMeansCL (haha, I just don't like my GPU yelling at me or screaming in agony). I assume there is no possible potential of damage (temps are fine). Anyway, this may be unrelated to your squeak, which may be due to load, temps, and fan speed (or even certain speed, which resonates, basically a problematic fan).

Last edited by OAKside; 4th July 2023 at 01:34.
OAKside is offline   Reply With Quote
Old 4th July 2023, 02:18   #1533  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
My GPU used to click [but not just with KNLMeansCL, which I dont think I've ever used],
I removed it, gave it a clean, plugged it back in and hey presto, no clicking now, for a couple of years.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 4th July 2023, 02:57   #1534  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 1,030
Quote:
Originally Posted by Lan4 View Post
I already thought about reducing the power of the video card. But is it possible to reduce the power of the filter itself?
Try:-

MSI Afterburner

You could change the fan "curve", and maybe get passed the "squeak zone".
__________________
Long term RipBot264 user.

RipBot264 modded builds..
*new* x264 & x265 addon packs..
TDS is offline   Reply With Quote
Old 10th July 2023, 23:28   #1535  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,067
Come to think of it, a throttling parameter could be pretty generally useful. Set it to 30 and it won't use more than 30% of your available GPU power so you can play Cyberpunk 2077 while you render.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 11th July 2023, 10:16   #1536  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Another way would be to set a lower Process Priority in Task Manager

__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 1st August 2023, 16:38   #1537  |  Link
LeXXuz
21 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 716
Quote:
Originally Posted by OAKside View Post
KNLMeansCL does make my graphics card (6600 XT) produce a specific noise, not heard at other times (games, HW encoding, etc). The sound is like a constant white noise (low decibel, barely heard, similar to coil whine). I assumed it was due to the particular or heavy processing that is going on, like Emulgator has explained. It is my least favorite part about KNLMeansCL (haha, I just don't like my GPU yelling at me or screaming in agony). I assume there is no possible potential of damage (temps are fine). Anyway, this may be unrelated to your squeak, which may be due to load, temps, and fan speed (or even certain speed, which resonates, basically a problematic fan).
Sounds like coil whine. Nothing you need to be afraid of. But it can be annoying depending on how sensitive your hearing is to high frequencies.
LeXXuz is offline   Reply With Quote
Old 31st January 2024, 20:55   #1538  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,067
I have a new laptop and I'm reinstalling everything. I have several versions of KNLmeansCL and none of them work in Win7. I don't know why.

These are the versions that I have:

KNLMeansCL-v0.6.11.zip
KNLMeansCL-v1.1.1.zip
KNLMeansCL_1.1.1_test_for_avs3.5.2.7z
KNLMeansCL_1.1.1e_v20201112-pfmod.7z

Please direct me to one that works in Win7. Thanks.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 31st January 2024, 22:30   #1539  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Knlmeanscl depends on MSVCP140.dll, VCRUNTIME140.dll, VCRUNTIME140_1.dll
You probably missing 2015-2022 runtimes https://learn.microsoft.com/en-US/cp...?view=msvc-170
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 1st February 2024, 07:01   #1540  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,067
Quote:
Originally Posted by ChaosKing View Post
Knlmeanscl depends on MSVCP140.dll, VCRUNTIME140.dll, VCRUNTIME140_1.dll
You probably missing 2015-2022 runtimes https://learn.microsoft.com/en-US/cp...?view=msvc-170
It's not that. I already have the MSVC++ 2005, 2010, 2012, 2013, and 2015-2022 runtimes in both 32 and 64-bit.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.