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. |
24th June 2018, 20:55 | #181 | Link |
Registered User
Join Date: Dec 2016
Posts: 9
|
I'm trying to use some of the dehalomod for 16bit filtering, however, I'm having a little problem, the pixels at the bottom of the image become a bit darker, this only happened to me when I mistakenly used an 8bit filter in 16bit video. I think maybe I understood or done something wrong. I'll leave the images attached. Could someone help me understand what is wrong?
my script: Code:
TFM(mode=5, slow=2, PP=0).TDecimate(mode=1, hybrid=0) #daa3mod(slow=true) Dither_convert_8_to_16() #HQDeringmod(sharp=0, drrep=13, thr=8, elast=2, darkthr=0, lsb_in=true, lsb=true, lsb_out=true, tv_range=true) #DeHalo_Alpha(rx=1.25, ry=1.25, darkstr=0.0, brightstr=1.0, lowsens=0, ss=3.0, cs=true) #DeHalo_Alpha_2BD(rx=1.25, ry=1.25, darkstr=0.0, brightstr=1.0, lowsens=0, ss=3.0, cs=true) #BlindDeHalo3(rx=1.25, ry=1.25) nnedi3_resize16(target_width=1024, target_height=576, src_left=0, src_top=0, src_width=0, src_height=0, kernel_d="Spline36", \kernel_u="Spline36", taps=128, nsize=0, nns=4, qual=2, etype=0, pscrn=0, elast=1.0, tv_range=true, lsb_in=true, lsb=true) DitherPost(mode=-1) #Dither_quantize(10, reducerange=true, mode=-1) #Dither_Out() Prefetch(4) https://i.imgur.com/Zq9YCFf.jpg Dehalo_alpha: https://i.imgur.com/zyD02o9.jpg BlindDehalo: https://i.imgur.com/gpgno0q.jpg "Source" https://i.imgur.com/uehyE8t.jpg Last edited by danfgtn; 25th June 2018 at 10:51. |
25th June 2018, 11:46 | #182 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
__________________
See My Avisynth Stuff |
|
26th June 2018, 21:55 | #184 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
n16 give more or less same output as lsb (Depends on what settings you use, it should be same but there are some differences in how SMDegrain deal with both), but with HBD input will give different output. well, there are some way to make it (with HBD input) less different (and faster) by using motion vector from 8 bit clip, back to old posts here for more info
__________________
See My Avisynth Stuff |
|
26th June 2018, 23:16 | #185 | Link |
Registered User
Join Date: Jul 2003
Location: Italy
Posts: 1,135
|
Ok, but now I'm facing some "problems":
- with hbd input (lsmash->format yuv422p16->convertfromdoublewidth->p216), I can't use n16 (error: "MDegrainX out16 flag only for 8bit sources" - smdegrain line 545) so I guess it's a feature to ouput 8bit input to native hbd 16bit output. - with the above hbd and prefilter 3 (uses dftttest) I get some damaged pictures. For "damaged" I mean really destroyed picture like missing objects. This doesn't happens with lsb input. |
26th June 2018, 23:24 | #186 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
for the 2nd one, that because dftttest not update yet for HBD 1 solution for both is using 8bit motion vector (you can also scale the 8bit vector to 16bit vector or Vice versa, but in your case you don't need that)
__________________
See My Avisynth Stuff |
|
26th June 2018, 23:38 | #187 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
new test (cuz it use test builds of avs+ and masktools) update for SMDegrain https://pastebin.com/fU2a3Mqy
it should be faster in many cases in avs+ (will use avs+ expr), also there are new parameter "cplace" in SMDegrain_prefilters will affect prefilter 3
__________________
See My Avisynth Stuff |
26th June 2018, 23:54 | #188 | Link |
Registered User
Join Date: Jul 2003
Location: Italy
Posts: 1,135
|
Ok, thanks.
Just one last question: without prefilter, is smdegrain (with hbd) working at real 16bit then? With prefilter < 3 (uses Medianblur2) the output seems fine with hbd albeit medianblur2 afaik is not designed for hbd. Is it safe to assume that everything is running fine (and at real 16bit, or should I calculate 8bit vectors and apply to 16bit video?) |
27th June 2018, 06:50 | #189 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
for HBD, the only safe prefilter for now are -1 to 1 (2 need medianblur2 and it not updated yet for HBD), and 4, contrasharp=true may work with SD (with HD it use minblur with r=2 so it need medianblur2), also contrasharp=int usage will work if you use https://forum.doom9.org/showthread.php?t=174752
__________________
See My Avisynth Stuff |
|
28th June 2018, 10:42 | #193 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
https://forum.doom9.org/showthread.p...70#post1845370 (mt_merge: cplace="mpeg2" now works for 4:2:2 as well, stacked 16 bit support (does anybody use it?) and make "mpeg2" default) |
|
28th June 2018, 22:51 | #194 | Link | |
Registered User
Join Date: Dec 2016
Posts: 9
|
Quote:
(And just to make sure I'm not confusing myself, hbd means high bit depth, right?) |
|
29th June 2018, 02:44 | #195 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
not likely
Quote:
we used to say HBD to mention native avs+ Deep color lsb (stacked) = hack, hack that use normal 8bit clip but with double Height also avs+ HBD dont need any parameters to work unlike most lsb filters, nor need set bit depth like some lsb and double width filters, and work with multi bits in same function (filter) and that never and ever will be in lsb or double width, if filter support HBD then it work like you use the filter in 8bit mode (most of times)
__________________
See My Avisynth Stuff |
|
9th July 2018, 09:51 | #196 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,582
|
Quote:
__________________
@turment on Telegram |
|
10th July 2018, 01:00 | #197 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
2- it need another edits, since I was think the use_expr=2 mean always in avs+
__________________
See My Avisynth Stuff |
|
11th July 2018, 02:24 | #198 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
new update for SMDegrain https://forum.doom9.org/showthread.p...02#post1790702
__________________
See My Avisynth Stuff Last edited by real.finder; 11th July 2018 at 03:33. |
13th July 2018, 03:53 | #199 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
updates for: Abcxyz_MT2, VHSHaloremover, DeHaloH, DeHalo_alpha_mt2, FineDehalo, Masked_DHA, BlindDeHalo3_mt2 and FastLineDarkMOD
keep in mind they no fully optimized for speed yet, the updates manly for not get wrong output in new masktools (2.2.15 and up), and not use realtime and use avs+ expr instead for speedup, so yes it faster in many cases now but it need another optimize for every mt_lut* line by test use_expr=3 and so to see if it faster or slower since expr is not faster in most cases, but it's faster in some cases
__________________
See My Avisynth Stuff Last edited by real.finder; 13th July 2018 at 04:24. |
5th September 2018, 22:58 | #200 | Link |
Registered User
Join Date: Dec 2016
Posts: 9
|
Hello everyone!
I'm having problems with daa3mod, a horizontal of greenish pixels is appearing at the bottom of the video. When I use KNLMeans in any part of the script after daa3mod sometimes the frames seem to merge the chroma with the previous frame. When removing daa3 the frames return to normal with KNL, I do not know what one has to do with the other, but I noticed that. I do not know if it's just coincidence, but when using a mod16 resolution the horizontal greenish pixels do not appear, however, the problem with KNL is not eliminated in that way. Following are images of both problems: "greenish" "chroma merge(?)" "What's going on here?" Does anyone know a way to solve this? Sorry if this is not a problem with the filter, im a noob in avisynth. Tests made in AvS+ r2728 masktools in the latest version My Script By Google Translate Last edited by danfgtn; 5th September 2018 at 23:14. |
Tags |
avisynth, avs script, avs+, banding, generator, hbd, mod |
|
|