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. |
|
|
Thread Tools | Search this Thread | Display Modes |
29th January 2018, 18:03 | #1301 | Link |
Registered User
Join Date: Nov 2014
Posts: 440
|
Hi... size changed? More info?
__________________
github.com |
30th January 2018, 11:21 | #1303 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,578
|
Ok, first time I try this with some method. It could sound picky, but I am curious about deterministic influence of programming over a algorithm, that in theory should give always same results.
I used these clips that I already uploaded. The first one has a very low bitrate, the second one is full of movement. First of all a very simple script: PHP Code:
Code:
hitman01_KNL-1.1.0.mkv 1.465.303 hitman01_KNL-1.1.1.mkv 1.464.935 hitman04_KNL-1.1.0.mkv 11.701.482 hitman04_KNL-1.1.1.mkv 11.694.121 PHP Code:
Code:
hitman04_SMD-1.1.0.mkv 7.828.657 hitman04_SMD-1.1.1.mkv 7.794.803 Shouldn't be the applied algorithm always the same?
__________________
@turment on Telegram Last edited by tormento; 30th January 2018 at 12:14. |
30th January 2018, 11:34 | #1304 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,781
|
Why are you surprised? Obviously, KNLMeansCL alone filters the video in a different way than SMDegrain as a whole.
And is it even a different clip? (hitman01 vs. hitman04) BTW, an algorithm has no rhythm. |
30th January 2018, 12:13 | #1305 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,578
|
Quote:
Do you think I would really ask why two different filters have different output sizes? P.S: Thanks for english corrections.
__________________
@turment on Telegram |
|
30th January 2018, 15:08 | #1306 | Link | |
Registered User
Join Date: Dec 2007
Location: Enschede, NL
Posts: 301
|
Quote:
That's still a very small difference.
__________________
Roelofs Coaching |
|
30th January 2018, 15:24 | #1307 | Link | |
Registered User
Join Date: Nov 2014
Posts: 440
|
Quote:
KNLMeansCL/commit
__________________
github.com |
|
30th January 2018, 21:23 | #1310 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
What does this mean?
Code:
video=ConvertToYUV444(video).KNLMeansCL(d=1, a=2, s=4, h=4, device_type="CPU", device_id=0).ConvertToYUV420
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
30th January 2018, 22:00 | #1311 | Link |
Registered User
Join Date: Nov 2014
Posts: 440
|
add channels="YUV"
__________________
github.com |
30th January 2018, 22:15 | #1312 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Code:
video=ConvertToYUV444(video).KNLMeansCL(d=1, a=2, s=4, h=4, device_type="CPU", device_id=0,channels="YUV").ConvertToYUV420
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
30th January 2018, 23:04 | #1313 | Link | |
Registered User
Join Date: Nov 2014
Posts: 440
|
Quote:
The program is GPU oriented, and GPU work well with INT8, INT16, INT32, HALF and FLOAT. So it makes sense not to support intermediate precision like INT9, INT12 or INT14. However, there is a special format INT_101010, where the channels of each element (10 bits per channel) are packed into a single INT32. Unfortunately, it is not very supported.
__________________
github.com Last edited by Khanattila; 31st January 2018 at 09:23. |
|
31st January 2018, 12:35 | #1314 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Ok. No problem. I was just curious...
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
2nd February 2018, 10:51 | #1315 | Link |
Registered User
Join Date: Nov 2014
Posts: 440
|
__________________
github.com |
12th February 2018, 15:41 | #1316 | Link |
Registered User
Join Date: Nov 2012
Posts: 218
|
Hi all, need some help with KNLMeansCL on AMD RX Vega64:
denoised Y clip comes with broken data (mostly zero, very few times random output). This is a known issue (https://github.com/Khanattila/KNLMeansCL/issues/26) and we will await the patch. Meanwhile, we would like to know whether using RGB is a safe workaround or not(assume we don't want to touch UV planes) : Code:
a = "your file with YUV-8bit format.m2ts" src8 = core.lsmas.LWLibavSource(a,threads=1) src16 = core.fmtc.bitdepth(src8, bits=16) Y = core.std.ShufflePlanes(src16, 0, vs.GRAY) nr16y = core.resize.Bicubic(Y, format=vs.RGB48,matrix_in_s="709") nr16y = core.knlm.KNLMeansCL(nr16y, d=1, a=2, s=3, h=1.3, channels="RGB", device_type="GPU") nr16y = core.resize.Bicubic(nr16y, format=vs.GRAY16,matrix_s="709") nr16y.set_output() |
12th February 2018, 16:38 | #1317 | Link | |
Registered User
Join Date: Nov 2014
Posts: 440
|
Quote:
The main problem is I do not have a Vega GPU. In the country where I live the cost is very high, over 800€! I also tried AMD's CodeXL, but for now, I do not see something strange. Future investigations are required. I do not know if the workaround you suggest works or not, there is a problem with the new AMD OpenCL compiler for Vega. There are probably some optimizations in place that are not clear.
__________________
github.com Last edited by Khanattila; 12th February 2018 at 16:42. |
|
25th February 2018, 12:14 | #1318 | Link |
Registered User
Join Date: Dec 2017
Posts: 8
|
GPU use ratio is Low
Hi,i`m use KNLMeansCL in vapoursynth with GTX1060 .
The system is Win10 and driver 390.77. I found the GPU performance can not be fully realized. the vpy script like this src = core.lsmas.LWLibavSource(r'E:\OB\MEET_THE_FOCKERS_HDCLUB\BDMV\STREAM\00372.m2ts') src = core.knlm.KNLMeansCL(src,d = 3,a = 6, h = 1.2,channels="Y",device_type = "gpu" ) src = core.knlm.KNLMeansCL(src,d = 3,a = 6, h = 1.2,channels="UV",device_type = "gpu" ) Only 0.3 fps ,And take up 10%-30% GPU usage。 Is it unable to run out of GPU or is it my own problem? |
25th February 2018, 15:56 | #1319 | Link | |
Registered User
Join Date: Nov 2014
Posts: 440
|
Quote:
The situation you describe is typical of a CPU-bottleneck.
__________________
github.com |
|
25th February 2018, 16:57 | #1320 | Link | |
Registered User
Join Date: Dec 2017
Posts: 8
|
Quote:
Code:
from vapoursynth import core import vapoursynth as vs src = core.lsmas.LWLibavSource(r'E:\OB\MEET_THE_FOCKERS_HDCLUB\BDMV\STREAM\00372.m2ts') src = core.knlm.KNLMeansCL(src,d = 3,a = 6, h = 1.2,channels="Y",device_type = "gpu" ) src = core.knlm.KNLMeansCL(src,d = 3,a = 6, h = 1.2,channels="UV",device_type = "gpu" ) src.set_output() So I think it really is using my GPU. I use vseditor to benchmark ,when set d=3 a=6 ,CPU usage is very low,why CPU-bottleneck? Last edited by fadedmaple; 25th February 2018 at 17:24. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|