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. |
23rd April 2017, 21:25 | #241 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
SMDegrain was written before 16-bit support was added to MaskTools2 and MVTools2. Now that they both support 16-bit, SMDegrain should be adapted for it.
Edit: Actually, if SMDegrain uses libraries that support 16-bit, it should work with native 16-bit out-of-the-box when supplied a 16-bit clip -- will have to test.
__________________
FrameRateConverter | AvisynthShader | AvsFilterNet | Natural Grounding Player with Yin Media Encoder, 432hz Player, Powerliminals Player and Audio Video Muxer Last edited by MysteryX; 24th April 2017 at 02:26. |
24th April 2017, 10:51 | #242 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
"kind=1 (SAD) Allows to build a mask of the SAD (sum of absolute differences) values instead of the vectors' length. It can be useful to find problem areas with bad motion estimation. Internal factor blksize*blksizeV/4 is used for normalization of scale ml." So it does not take into account the larger SAD values by design, normalization only handles the different block sizes. Less subsampling means that there is more chroma SAD. There is another thing to mention: when you omit chroma, then SAD will contain only luma SAD, regardless of the subsampling. |
|
26th April 2017, 10:56 | #246 | Link |
Registered User
Join Date: Jul 2012
Posts: 208
|
Version 2.7.16.22 brings me artefefacts in image on the right side, when I use QTGMC, most noticable as a popping green line:
http://imgur.com/ZQUg5RH It's more heavily when using a slow preset like slow, slower, placebo... it is kind of gone when I use "ultra fast". I revert back to 2.7.15.22 and everything is back fine. Thats the script I am using: Code:
AVISource("x.avi", audio=true).AssumeFPS(25,1) QTGMC(Denoiser="dfttest", Preset="Slower", EdiMode="NNEDI3", EdiThreads=8, Sharpness=1.0) Avisynth+(x86) r2455 MT masktools2 2.2.7 nnedi3 0.9.4.40 rgtools 0.95 QTGMC 3.357s dfftest 1.94 ICL10 I hope I could help somehow. |
26th April 2017, 11:17 | #247 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
What are the image dimensions? Try to crop 2 pixels from the right (or left).
__________________
Groucho's Avisynth Stuff |
26th April 2017, 11:23 | #249 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Well, cropping before the filters was implied. Anyway, pinterf is probably on the right track.
__________________
Groucho's Avisynth Stuff Last edited by Groucho2004; 26th April 2017 at 11:45. |
|
26th April 2017, 11:36 | #250 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
Chroma width is 360 at YV12 which is not divisible by 16. EDIT: found it, fix is coming soon Last edited by pinterf; 26th April 2017 at 13:35. |
|
26th April 2017, 14:11 | #252 | Link |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
New release with an important fix (regression in previous 2.7.16.22), big thanks to Morku for the early report.
The SAD mask scaling issue (different magnitude for YV12 and YV24) was noticed by MysteryX. @MysteryX: please have a look at it. MvTools2 2.7.17.22 Code:
Change log - 2.7.17.22 (20170426) Fix: Regression in 2.7.16.22: MDegrain right pixel artifacts on non-modulo 16 widths Misc: MMask, mode SADMask output is normalized further by video subsampling (YV16/YV24 has larger SAD value due to bigger chroma part that classic YV12) |
26th April 2017, 17:41 | #253 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
__________________
FrameRateConverter | AvisynthShader | AvsFilterNet | Natural Grounding Player with Yin Media Encoder, 432hz Player, Powerliminals Player and Audio Video Muxer Last edited by MysteryX; 26th April 2017 at 17:43. |
26th April 2017, 17:59 | #254 | Link |
Registered User
Join Date: Mar 2002
Location: Krautland
Posts: 903
|
Thanks pinterf!
The same thing Morku was explaining happened to me yesterday. I hope the new build will fix this. It happened on a cropped and resized video to 960x720. Straight 1920x1080 and 1280x720 do not show this artifact. Will test the new build in a few minutes... Hmmh, at first glance everything is allright now. Green line and grey line after cropping are gone on my side. Maybe Morku can comment on this. QTGMC 3.357s masktools2 2.2.7 nnedi3 0.9.4.40 rgtools 0.95 dfftest 1.94 ICL10 mvtools2 2.7.17.22 |
26th April 2017, 18:04 | #255 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
SAD comes from luma and chroma On YV12 Y:U:V has 1:0.25:0.25 ratio On YV24 the ratio is 1:1:1. I think the masks should look the same when you convert the clips to greyscale before analysis (or chroma=false)? Just an idea. |
|
27th April 2017, 10:07 | #260 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
I'm thinking that there should be an option to be able to give weight the chroma part of the SAD. The internal contribution of SAD elements (Luma:Chroma) in YV12 is 1:0.5, while for YV24 the ratio is 1:2, which drives the whole thing a bit off. |
|
|
|