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. |
10th October 2022, 13:41 | #1601 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,812
|
Would it be possible to make deep_resize use linear space scaling for downscales by default?
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
12th October 2022, 12:00 | #1602 | Link |
Guest
Posts: n/a
|
@Dogway,
coud it be an option to add paramiter to SMDegrain to look ahead, let say 24 frames and calculate some avarage value for thSAD to be more "dynamically" insted fix value? i think this is used for X265 encoder: option: --rc-lookahead - of course i could be wrong..... |
12th October 2022, 18:39 | #1604 | Link | |
Registered User
Join Date: Nov 2009
Posts: 2,371
|
No I haven't, I think I was waiting for support of blocksize of 16, not sure if that's possible now? Does he have a git?
If so I can make a fork version but I don't think I can benchmark it as I don't have DX12 (Win7 here), will install W10 in a month though, when 22H2 arrives. @madey83: You don't need to lookahead, you can access the whole scene range stats with ScenesPack, without overflowing into adjacent scenes. Here's an example for SMDegrain. And here's another one for GrainFactory3mod so you can get the gist of it. You can get an idea of the GrainFactory3mod example to derive the thSAD for SMDegrain example. Quote:
I'm off now to work a little.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
|
12th October 2022, 20:41 | #1605 | Link |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
What do you use for halo removal on bad DVD sources?
Tried Blinddehalo and Dehaloalpha. But all they did was (over)smoothing the picture no matter what parameters I changed. Although their edgemasks looked fine, the result was poor. |
12th October 2022, 22:38 | #1606 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,846
|
Quote:
Code:
https://github.com/DTL2020/mvtools There are a CPU branch and a GPU one, with different (almost) capabilities each.
__________________
@turment on Telegram |
|
12th October 2022, 23:32 | #1607 | Link |
Registered User
Join Date: Jul 2018
Posts: 1,218
|
"CPU branch and a GPU one, with different (almost) capabilities each."
The current sources are single now. The build may be created with DX12_ME define so it will be Win10 (DX12 and later) compatible to load mvtools2.dll and its DX12 dependencies. And this build can use optSearchOption 5 or 6 for MAnalyse for hardware if found. If build without DX12_ME compiler define it will be standard mvtools2 (may be only no 32bit directly because of a few new functions in MAnalyse need to be fixed). optSearchOption 5 or 6 for MAnalyse will throw error message to mark it was no DX12 build. Compatible with Win7 at least. Block size 16x16 with DX12ME runs somehow buggy and my remote debug do not breaks at crash. May be it is local non-compatibility with my Win 10 + GTX1060 or bug somewhere. So I not use this. Only 8x8. So we need some more developers with complete build and debug system with Win10 and HW accelerator to try to check what cause crash. Much more sad for Dogway public scripts may be next notes: 1. Currently 2.7.45 mvtools2 version from pinterf was fine tuned for many years to fix possible bugs and support many blocksizes and bitdepths and colour formats. But current my builds have many new features but support only very limited blocksizes/bitdephts/colour formats. Some combinations not implemented, some will use slow C-reference. Some may simply crash. Most new features were only tested at 8x8 8bit YV12. 2. The most sad issue for plugins users - the 2.7.45 and my builds can not be separated in single process because they use equal functions names. And so it looks not possible to run some complex scripts without modifications (like QTGMC). So my build can not be complete replacement of 2.7.45 version - it may cause bugs somewhere (may be crashes). The only typical use case is keep it in current working directory and load as local .dll (not from common plugins folder). Currently it is mostly somehow working tech demo and can be used for production only in very limited scenarios (like simple degrain script). All other use cases of mvtools of 2.7.45 version may or may not work. Most of new features are about onCPU processing now so not use accelerator. May be I will add SSIM (and/or some more) metric to compute shader someday if tests will show some good use cases for it. Currently I not found them. The SSIM metric only shows some significantly different resulting MVs with onCPU MAnalyse (though direct MDegrain with there MVs also not visibly better) so currently planned use case is higher quality IVS mask of using SAD and SSIM different searches and combined metric from MVs difference. It is to be tested in future. Most of DX12-dependent simple search features is finished many months ago (planned some fix to compute shader to have more equal SAD result with onCPU but still not finished). Last edited by DTL; 12th October 2022 at 23:41. |
13th October 2022, 00:00 | #1609 | Link |
Registered User
Join Date: Jul 2018
Posts: 1,218
|
Minimum required Windows version is looks like 19H1 - https://devblogs.microsoft.com/direc...on-estimation/ from May 2019.
|
13th October 2022, 08:26 | #1610 | Link | |
Guest
Posts: n/a
|
Quote:
thank you answering. i tried to test the code you pointed me to, but it requires Avisynth 3.7.3 which is not available for download. |
|
13th October 2022, 08:41 | #1611 | Link | |
Registered User
Join Date: Jan 2018
Posts: 2,168
|
Quote:
https://gitlab.com/uvz/AviSynthPlus-Builds |
|
13th October 2022, 08:43 | #1612 | Link | |
Registered User
Join Date: Jan 2018
Posts: 2,168
|
Quote:
Last edited by kedautinh12; 13th October 2022 at 09:09. |
|
13th October 2022, 09:10 | #1613 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,812
|
Hmm, I figured it would only mean calling ConvertFormat with the appropriate scale_space parameter. Of course, if deep_resize could pass that parameter on, it would require only a minor change (I would then just add it to my template).
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
13th October 2022, 10:39 | #1615 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,371
|
@Boulder: I had a look, it works so unless you use nnedi3. I will study the possibility to call nnedi3wrap through ConvertFormat.
Those are insider's preview releases, AFAIK the stable release is happening at the end of the month. Will surely be updated in the wiki when that happens. @kedautinh12: It's basically the next script, but good luck making it run, it iteratively runs out-of-order calls with the several SceneStats and SMDegrain calls. You are better off creating a batch script that execute each pass back-to-back, it will run orders of magnitude faster. Code:
# Denoise highly compressed grainy MP4 and regrain back # First Pass setmemorymax(2048*4) DGSource("Q:\source.dgi",cl=0,ct=0,cr=0,cb=0) SceneStats(mode="Range+Motion") # Second Pass ExtractY() dirt = last # If this is too slow use a faster spatio-temporal denoiser SMDegrain(1, 400, ContraSharp=false, RefineMotion=false, LFR=400) gm = ex_edge (cln,mode="frei-chen", scale=1.0, invert=true).ex_inpand(2,mode="disk") ex_lutxyz(dirt,gm,"x y - abs z range_max / *") # dirt mask SceneStats(mode="Stats") # per-shot dirt mask average # Third Pass ConvertBits(16) CCD(15) mb = Deblock_QED(quant1=30, quant2=40,UV=1) mb = mb.ex_smooth(1, mode="SG", limit=true, sharp=true) pre = ex_BM3D(sigma=10,preset="normal",radius=2,UV=1,gpuid=0,tv_range=true) SMDegrain(6, 400, prefilter=pre, mfilter=mb, ContraSharp=true, RefineMotion=true, plane=4, LFR=300, limits=false, DCTFlicker=false) # Debanding, optional GradFun3plus(thr=0.25, radius=10, mask=2, smode=0,UV=1) # per-shot modulated grain ScriptClip(function [] () { avg = propGetAsArray("_SceneStats")[4] mot = propGetFloat ("_SceneMotion") navg = avg / (mot + 1) size = 2*navg + 0.4 # between 0.7 and 1.1 mostly str = navg + 0.5 # between 0.6 and 0.8 mostly GrainFactory3mod(g1str=6*str,g2str=8*str,g3str=7*str,g1size=1.20*size,g2size=1.50*size,g3size=1.40*size,g1cstr=0.5,g2cstr=0.3,g3cstr=0.1,temp_avg=1) } ) ConvertBits(8, dither=1)
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread Last edited by Dogway; 13th October 2022 at 10:46. |
13th October 2022, 13:28 | #1616 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,812
|
My tests did show a difference between the default value "gamma" and "linear" for scale_space in ConvertFormat when using deep_resize to downscale. I've only used the Zopti presets in deep_resize so NNEDI3 is not involved there.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
14th October 2022, 00:58 | #1617 | Link | |
Guest
Posts: n/a
|
Quote:
But why don't you just go to W11 22H2, that's what I use, and it's great, especially once you "tweak" it up |
|
15th October 2022, 01:12 | #1618 | Link |
Guest
Posts: n/a
|
FrameRateConverterMIX
Would someone be so kind as to give me a basic explanation of what this can do ? With maybe a simple script And is it different to this :- http://avisynth.nl/index.php/SVPflow |
15th October 2022, 07:04 | #1619 | Link | |
Registered User
Join Date: Jan 2018
Posts: 2,168
|
Quote:
https://github.com/mysteryx93/FrameRateConverter |
|
15th October 2022, 07:24 | #1620 | Link | |
Guest
Posts: n/a
|
Quote:
I'd actually like to know what it is used for... But as per usual, I can't get it to work for me. I doubt that I would use it....anyway. |
|
Tags |
avisynth, dogway, filters, hbd, packs |
Thread Tools | Search this Thread |
Display Modes | |
|
|