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 6th February 2017, 00:13   #1101  |  Link
WolframRhodium
Registered User
 
Join Date: Jan 2016
Posts: 162
Quote:
Originally Posted by feisty2 View Post
the Bisquare weighting function (wmode=2) does that "pruning" thing exactly, reject a pixel within the search window if the inter-patch correlation (weight) goes below certain threshold, windowed weighting function.
I realize I said stupid words before...thx

Last edited by WolframRhodium; 6th February 2017 at 01:24.
WolframRhodium is offline   Reply With Quote
Old 6th February 2017, 11:49   #1102  |  Link
Khanattila
Registered User
 
Khanattila's Avatar
 
Join Date: Nov 2014
Posts: 440
Quote:
Originally Posted by tuanden0 View Post
Hi Sir,

The filter ver 1.0 make my GPU (GTX 650Ti) crash with default filter setting

I'm using avs+ r2397
Here's my script:
This type of error is different.
What system are you using?
__________________
github.com
Khanattila is offline   Reply With Quote
Old 7th February 2017, 04:58   #1103  |  Link
tuanden0
Registered User
 
Join Date: Oct 2016
Posts: 111
Quote:
Originally Posted by Khanattila View Post
This type of error is different.
What system are you using?
I'm using windows 7 x64, avs+ x86 and AvsPmod to edit avs script

my GPU crashed everytime I try to preview my avs script and if I encode without preview avs, my PC crashed too
tuanden0 is offline   Reply With Quote
Old 7th February 2017, 13:19   #1104  |  Link
burfadel
Registered User
 
Join Date: Aug 2006
Posts: 2,229
For me, wmode=3 causes the encode to typically crash at some point. wmode=2 seems stable, and wmode=0 (default?) has worked flawlessly. Just thought I'd try it out but the crashes put an end to doing a full encode :S!
burfadel is offline   Reply With Quote
Old 7th February 2017, 19:05   #1105  |  Link
Khanattila
Registered User
 
Khanattila's Avatar
 
Join Date: Nov 2014
Posts: 440
Quote:
Originally Posted by burfadel View Post
For me, wmode=3 causes the encode to typically crash at some point. wmode=2 seems stable, and wmode=0 (default?) has worked flawlessly. Just thought I'd try it out but the crashes put an end to doing a full encode :S!
Thanks for your report, I will check if there is any problem.
__________________
github.com
Khanattila is offline   Reply With Quote
Old 7th February 2017, 19:08   #1106  |  Link
Khanattila
Registered User
 
Khanattila's Avatar
 
Join Date: Nov 2014
Posts: 440
Quote:
Originally Posted by WolframRhodium View Post
I realize I said stupid words before...thx
However, what you say it is interesting.
I know if I do a previous estimate of the noise, the filter give better results.
But of course, it is slower.
__________________
github.com
Khanattila is offline   Reply With Quote
Old 7th February 2017, 19:09   #1107  |  Link
Khanattila
Registered User
 
Khanattila's Avatar
 
Join Date: Nov 2014
Posts: 440
Quote:
Originally Posted by tuanden0 View Post
I'm using windows 7 x64, avs+ x86 and AvsPmod to edit avs script

my GPU crashed everytime I try to preview my avs script and if I encode without preview avs, my PC crashed too
I will check this.
__________________
github.com
Khanattila is offline   Reply With Quote
Old 7th February 2017, 22:33   #1108  |  Link
burfadel
Registered User
 
Join Date: Aug 2006
Posts: 2,229
Quote:
Originally Posted by Khanattila View Post
Thanks for your report, I will check if there is any problem.
wmode=2 is stable, has been running encodes since I made the post, so it seems only wmode=3 is problematic (at least for me).
burfadel is offline   Reply With Quote
Old 8th February 2017, 13:03   #1109  |  Link
burfadel
Registered User
 
Join Date: Aug 2006
Posts: 2,229
My mistake wmode=2 does also seem buggy, just not as noticeable as wmode=3.
burfadel is offline   Reply With Quote
Old 9th February 2017, 19:38   #1110  |  Link
Khanattila
Registered User
 
Khanattila's Avatar
 
Join Date: Nov 2014
Posts: 440
https://github.com/Khanattila/KNLMea...ses/tag/v1.0.1
Code:
KNLMeansCL v1.0.1
* Fixed wrong output with 'wmode' different to 0 in some circumstances.
* Fixed second clip 'rclip' in VapourSynth.

KNLMeansCL v1.0.0
* Improved performance with CPU.
* Improved performance with AMD GCN Architecture.
* Reduced CPU overhead in some system.
* Reduced memory usage in some system.
* Advanced OpenCL parameters for fine tuning.
* Replaced 'cmode' with 'channels' and added the options to only process the chroma.
* Two new modified bisquare weighting functions.
* Increased the maximum 's' value to 8.
* Updated to VapourSynth R36.
* Removed Cauchy weighting function.
* Fixed second clip 'rclip' in some circumstances.
If this time is rock solid I can move on.
__________________
github.com

Last edited by Khanattila; 2nd March 2017 at 17:42.
Khanattila is offline   Reply With Quote
Old 10th February 2017, 00:36   #1111  |  Link
hydra3333
Registered User
 
Join Date: Oct 2009
Location: crow-land
Posts: 540
Thank you. The 1.0.1 zip contains only one dll ... any chance of one for x32 and one for x64 ?
hydra3333 is offline   Reply With Quote
Old 10th February 2017, 00:55   #1112  |  Link
Khanattila
Registered User
 
Khanattila's Avatar
 
Join Date: Nov 2014
Posts: 440
Quote:
Originally Posted by hydra3333 View Post
Thank you. The 1.0.1 zip contains only one dll ... any chance of one for x32 and one for x64 ?
, fixed
__________________
github.com
Khanattila is offline   Reply With Quote
Old 11th February 2017, 04:27   #1113  |  Link
tuanden0
Registered User
 
Join Date: Oct 2016
Posts: 111
No crash anymore, Khanattila
tuanden0 is offline   Reply With Quote
Old 11th February 2017, 05:09   #1114  |  Link
burfadel
Registered User
 
Join Date: Aug 2006
Posts: 2,229
No crash with wmode=3 here now either! Thanks
burfadel is offline   Reply With Quote
Old 14th February 2017, 17:08   #1115  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,559
Benchmark test.

Code:
colorbars(width = 1920, height = 1080, pixel_type = "yv12").killaudio().assumefps(25, 1)
KNLMeansCL(d = 2, a = 2, device_id=0)
Old version

Intel HD 4000 (Intel i7-3630QM)
Code:
FPS (min | max | average):      1.304 | 1.345 | 1.340
Memory usage (phys | virt):     132 | 120 MiB
Thread count:                   12
CPU usage (average):            11%
Radeon HD 7670M
Code:
FPS (min | max | average):      1.056 | 1.155 | 1.104
Memory usage (phys | virt):     51 | 41 MiB
Thread count:                   12
CPU usage (average):            4%
New version

Intel HD 4000 (Intel i7-3630QM)
Code:
FPS (min | max | average):      1.328 | 1.393 | 1.346
Memory usage (phys | virt):     137 | 180 MiB
Thread count:                   14
CPU usage (average):            12%
Radeon HD 7670M
Code:
FPS (min | max | average):      1.101 | 1.153 | 1.120
Memory usage (phys | virt):     55 | 99 MiB
Thread count:                   14
CPU usage (average):            4%
MysteryX is offline   Reply With Quote
Old 14th February 2017, 19:41   #1116  |  Link
Khanattila
Registered User
 
Khanattila's Avatar
 
Join Date: Nov 2014
Posts: 440
Quote:
Originally Posted by MysteryX View Post
Benchmark test.

Code:
colorbars(width = 1920, height = 1080, pixel_type = "yv12").killaudio().assumefps(25, 1)
KNLMeansCL(d = 2, a = 2, device_id=0)
Old version

Intel HD 4000 (Intel i7-3630QM)
Code:
FPS (min | max | average):      1.304 | 1.345 | 1.340
Memory usage (phys | virt):     132 | 120 MiB
Thread count:                   12
CPU usage (average):            11%
Radeon HD 7670M
Code:
FPS (min | max | average):      1.056 | 1.155 | 1.104
Memory usage (phys | virt):     51 | 41 MiB
Thread count:                   12
CPU usage (average):            4%
New version

Intel HD 4000 (Intel i7-3630QM)
Code:
FPS (min | max | average):      1.328 | 1.393 | 1.346
Memory usage (phys | virt):     137 | 180 MiB
Thread count:                   14
CPU usage (average):            12%
Radeon HD 7670M
Code:
FPS (min | max | average):      1.101 | 1.153 | 1.120
Memory usage (phys | virt):     55 | 99 MiB
Thread count:                   14
CPU usage (average):            4%
Everything normal.
__________________
github.com
Khanattila is offline   Reply With Quote
Old 14th February 2017, 23:03   #1117  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,559
Quote:
Originally Posted by Khanattila View Post
Everything normal.
Wrong. I mixed up the DLLs and was still running the old version.

Correct results:

Intel HD 4000
Code:
FPS (min | max | average):      1.314 | 11.02 | 1.420
Memory usage (phys | virt):     177 | 199 MiB
Thread count:                   14
CPU usage (average):            11%
AMD Radeon 7670M
Code:
FPS (min | max | average):      1.418 | 9.768 | 1.489
Memory usage (phys | virt):     62 | 100 MiB
Thread count:                   15
CPU usage (average):            4%
That's a 6% improvement on Intel HD 4000 and 33% improvement on Radeon 7670M. Not bad!
MysteryX is offline   Reply With Quote
Old 14th February 2017, 23:10   #1118  |  Link
Khanattila
Registered User
 
Khanattila's Avatar
 
Join Date: Nov 2014
Posts: 440
Good for you
__________________
github.com
Khanattila is offline   Reply With Quote
Old 15th February 2017, 19:38   #1119  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
I found the results(with the same parameters) between v0.7.7 and v1.0.1 are noticeably different, v1.0.1 left more residual noise than v0.7.7
like something algorithmic has changed?
I prefer the result of v0.7.7
feisty2 is offline   Reply With Quote
Old 16th February 2017, 00:52   #1120  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,559
I confirm a notable difference between versions.

v6.11


v1.0.1
MysteryX 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 12:59.


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