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. |
7th March 2015, 13:23 | #102 | Link |
Registered User
Join Date: Apr 2013
Posts: 25
|
The script below crashes sometimes. The error points to nnedi3ocl.avsi.
(I originally posted this here because I thought avs4x26x was causing the crashes.) Code:
DGSource("src.dgi") mrdaa2(resharpen=0) flash3kyuu_deband_f3kdb(grainY=0, grainC=0, output_mode=2, output_depth=16) Code:
# modified version of mandarinka's MrdaaLame (http://forum.doom9.org/showthread.php?t=167480) by anonymlol # Based on Daa: Anti-aliasing with contra-sharpening by Didée, modded by Terranigma for nnedi and by thetoof for merge # fixed chroma shift by OnDeed function Mrdaa2(clip c, float "resharpen", bool "OpenCL") { resharpen = Default(resharpen, 0) OpenCL = Default(OpenCL, true) dblshift = (OpenCL) ? c.nnedi3x(field=1, dh=true).fturnright().nnedi3x(field=1, dh=true).fturnleft() \ : c.nnedi3(field = 1,dh=true).fturnright().nnedi3(field = 1,dh=true).fturnleft() dbl = dblshift.Spline36Resize(c.width,c.height,-0.5,-0.5,c.width*2,c.height*2).MergeChroma(dblshift.Spline36Resize(c.width,c.height,-1.0,-1.0,c.width*2,c.height*2)) dblD = mt_makediff(c,dbl,U=3,V=3) shrpD = mt_makediff(dbl,dbl.blur(resharpen*0.2,MMX=false),U=3,V=3) DD = shrpD.repair(dblD,13) return dbl.mt_adddiff(DD,U=3,V=3) } This crashes: Code:
dblshift = (OpenCL) ? c.nnedi3x(field=1, dh=true).fturnright().nnedi3x(field=1, dh=true).fturnleft() \ : c.nnedi3(field = 1,dh=true).fturnright().nnedi3(field = 1,dh=true).fturnleft() Code:
dblshift = c.nnedi3x(field=1, dh=true).fturnright().nnedi3x(field=1, dh=true).fturnleft() I'll remove the condition for now and use it with nnedi3ocl as default. Last edited by anonymlol; 7th March 2015 at 13:35. |
11th July 2015, 17:35 | #104 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
I'm curious about something with the NNEDI3 OpenCL implementation. It has been reported to not perform any better than the standard version. Shouldn't that depend purely on the graphic card, or is the CPU still the bottleneck?
I'm currently writing code to run HLSL shaders in AviSynth, and I wonder how the NNEDI3 HLSL implementation, which runs entirely on the GPU, would compare to this performance-wise https://github.com/zachsaw/MPDN_Exte...Scripts/NNEDI3 |
10th February 2016, 15:17 | #108 | Link |
Registered User
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 854
|
I am try reinstall Avisynth, problem do not go.
I am also try check on another PC under Windows 10, opencl version nnedi3 work without problem. Please advice roadmap for solving problem. If need additional info I can send. My sytem Windows 7 64 home premium, 8 Gb, i7, GTX 960 (before internal Intel Graphics). Sytem and drivers updated. yup. |
14th February 2016, 17:35 | #109 | Link |
Registered User
Join Date: Nov 2006
Posts: 90
|
What with field= -2, 2 and 3?
nnedi3ocl do not have them? -2 = double rate (alternates each frame), uses avisynth's internal parity value to start 2 = double rate (alternates each frame), starts with bottom 3 = double rate (alternates each frame), starts with top without this not possible use nnedi3ocl in QTGMC |
15th February 2016, 08:05 | #110 | Link |
Registered User
Join Date: Nov 2006
Posts: 90
|
Well. Find workaround for field=-2 in old nnedi thread.
Code:
Function nnedi3xFieldMinus2(clip Input) { Input.SeparateFields() GetParity(Input) ? Interleave( SelectEven().nnedi3ocl(dh=true,Field = 1), SelectOdd().nnedi3ocl(dh=true,Field = 0) ) \ : Interleave( SelectEven().nnedi3ocl(dh=true,Field = 0), SelectOdd().nnedi3ocl(dh=true,Field = 1) ) AssumeFrameBased() GetParity(Input) ? AssumeTFF() : AssumeBFF() } |
27th February 2016, 07:54 | #111 | Link | |
Registered User
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 854
|
Quote:
Probably adding new video card broken some relations. yup. |
|
16th March 2016, 12:07 | #112 | Link |
Registered User
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 854
|
High all!
Lucky life continue until Geforce driver updated to 362.00. See error during load simle script in VirtyualDub https://www.dropbox.com/s/k4gsunhr29...diocl.png?dl=0 Language my windows is Russian. Translation Video driver do not respond and was recovered, Video driver Nvidia Windows Kernel Mode Driver , Version 362.00 do not respond and was recovered. Any suggesrtions, please. yup. |
16th March 2016, 18:22 | #114 | Link |
Registered User
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 854
|
Bloax!
I spent some time for finding gui http://forum.videohelp.com/threads/3...=1#post2423628 I am try upscale image to 2-4 time using CUDA (not cuDNN) all work. Also for me work without problem KNlmeansCL plugin. yup. Last edited by yup; 16th March 2016 at 18:27. |
21st March 2016, 19:12 | #115 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,816
|
Am I blind or this plugin does not have device_id switch like KNLMeansCL ? What opencl device will this plugin use if user has AMD APU + Dedicated AMD GPU?
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
3rd April 2016, 17:45 | #116 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,816
|
Quote:
Two options should be added device_type and device_id
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
16th April 2016, 00:43 | #118 | Link | |
Audiophile
Join Date: Oct 2006
Posts: 353
|
Quote:
|
|
17th April 2016, 11:08 | #120 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,816
|
For science!
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|