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. |
26th July 2021, 06:10 | #761 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
original ResizeX by Desbreko is same, resize8 is ok
__________________
See My Avisynth Stuff |
26th July 2021, 09:37 | #762 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
__________________
See My Avisynth Stuff |
|
26th July 2021, 13:57 | #763 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,829
|
Is the Resize8 argument for testing purposes?
It seems to be okay when Resize8=true (the output appears to be the same as Resize8 with it's noring arguments false and Spline36 used for luma and chroma). When it's false it's the same as before. I'm not sure why you'd want it to behave the old way though. Can you tell me if I'm missing something here? Edit: Don't worry, I worked it out and explained it to myself in the next post. I haven't tried very hard to work out why yet, but something doesn't seem quite right, and I'm not seeing anything obvious in the functions. Code:
ColorBars() KillAudio() ConvertToYV12() A = last OutW = 1280 OutH = 960 RXCropC = 0.25 * (1.0 - (float(width(A) / 2.0) / float(OutW / 2.0))) RXCrop = RXCropC * 2.0 R8CropC = 0.25 - ((width(A) / 2) * 0.25 / float(OutW / 2)) R8Crop = R8CropC * 2.0 Yp = ExtractY(A).BilinearResize(OutW,OutH, 0,0,0,0) Up = ExtractU(A).BilinearResize(OutW/2,OutH/2, RXCropC,0,0,0) Vp = ExtractV(A).BilinearResize(OutW/2,OutH/2, RXCropC,0,0,0) CP = CombinePlanes(Yp, Up, Vp, planes="YUV", source_planes="YYY", pixel_type=PixelType(A)) MC = MergeChroma(A.BilinearResize(OutW,OutH, 0,0,0,0), A.BilinearResize(OutW,OutH, RXCrop,0,0,0)) RX = A.ResizeX(OutW,OutH, kernel="Bilinear", Resize8=true) R8 = A.Resize8(OutW,OutH, noring=false, noring_c=false, kernel="Bilinear", kernel_c="Bilinear") # Subtract(CP, MC) # Same # Subtract(RX, R8) # Same # Subtract(CP, RX) # Different # Subtract(MC, R8) # Different subtitle(string(RXCropC, "%.20f"), align=8)\ .subtitle(string(R8CropC, "%.20f"), align=2) Any idea why ResizeX excludes PointResize from the chroma shift fix? Cheers. Last edited by hello_hello; 26th July 2021 at 18:37. |
26th July 2021, 18:36 | #764 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,829
|
I think I know what the difference is. It's due to the way Avisynth interprets "src_right" according to whether it's >0 or <=0, and both scripts are converting a src_right cropping of zero to a positive number, changing the way it's interpreted.
Using my MergeChroma example above, the way I thought it was done in one of the original threads where this issue first came to light was like this: MergeChroma(A.BilinearResize(OutW,OutH, 0,0,0,0), A.BilinearResize(OutW,OutH, RXCrop,0,0,0)) But it was actually this: https://forum.doom9.org/showthread.p...97#post1543797 SW = width(A) SH = height(A) MergeChroma(A.BilinearResize(OutW,OutH, 0,0,SW,SH), A.BilinearResize(OutW,OutH, RXCrop,0,SW,SH)) That makes more sense, as it effectively increases the chroma width and keeps the same luma to chroma ratio. Sorry to interrupt the thread while I worked that out. Last edited by hello_hello; 26th July 2021 at 18:38. |
26th July 2021, 20:42 | #765 | Link |
Registered User
Join Date: Aug 2020
Posts: 32
|
when I use "notSMDegrain(Contrasharp=true)" I get "I dont know what 'cb1' means".anyone help me out,thx
tested。1080P works fine with 'Contrasharp=true'。 480p get error 。anyone same promble? Last edited by tuqc; 26th July 2021 at 21:12. |
27th July 2021, 04:20 | #766 | Link | ||
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
Quote:
__________________
See My Avisynth Stuff |
||
27th July 2021, 09:51 | #767 | Link | |
Registered User
Join Date: Mar 2011
Posts: 4,829
|
Quote:
Why are so many functions written as though there's a need for DOS 8.3 vrbnames. Anyway, as ResizeX effectively adds the left and top cropping to the source width and height (or doesn't subtract it... I've forgotten already) it seems specifying those prevents it misbehaving. With the new Resize8 argument false there's an obvious difference between these two. ColorBars() ResizeX(640,480, 20,20,620,460) and ResizeX(640,480, 20,20,0,0) These are in complete agreement though, so I can only assume ResizeX has been broken for a while (I used a wrapper function to disable anti-ringing etc for Resize8). Spline36Resize(640,480, 20,20,0,0) WResize8(640,480, 20,20,0,0, cplace="mpeg1") I had a quick skim through edi_rpow2, and most of the calls to ResizeX don't specify any right or bottom cropping. Bummer..... For the record, these two are the same, so I assume eedi3 does. eedi3_rpow2(rfactor=4, cshift="ResizeX", fwidth=1280, fheight=960) eedi3_rpow2(rfactor=4, cshift="WResize8", fwidth=1280, fheight=960) Last edited by hello_hello; 27th July 2021 at 10:08. |
|
27th July 2021, 21:18 | #768 | Link | |
Registered User
Join Date: Mar 2011
Posts: 4,829
|
Quote:
The Avisynth resizer page says the defaults for src_width and src_height are... well... the source width and height. http://avisynth.nl/index.php/Resize float src_left, src_top = 0, 0 float src_width, src_height = (source width, height) That's followed by cropping rules that are just plain wrong for resizer cropping, but ResizeX isn't quite following them anyway, because..... float src_width/height = If > zero, these set the width and height of the clip before resizing. If <= zero, they set the cropping of the right and bottom edges respectively, before resizing. BilinearResize(640,480, 100) behaves like ResizeX. BilinearResize(640,480, 100, 0, 0,0) ends the madness. For ResizeX though, zero for the right/bottom cropping doesn't get it done. Well... I'm off to contemplate living in a world where those defaults aren't considered mental... Last edited by hello_hello; 28th July 2021 at 06:29. |
|
28th July 2021, 13:20 | #769 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
yes, I also think ResizeX behaviour is worng, but maybe edi_rpow2 not eedi3_rpow2 need this
__________________
See My Avisynth Stuff |
4th August 2021, 15:16 | #770 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
R.F.,
Any idea whats happening here, Code:
ColorBars(Pixel_type="YV12").KillAudio.Assumetff Stab3(use_Feedback=true) # Stab3(use_Feedback=false) OK
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 4th August 2021 at 17:29. |
4th August 2021, 15:50 | #772 | Link | ||
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Further, W10 Windows Logs
Quote:
Above error code seem to be related to Windows Update Error, [I have Windows Update disabled on W10], dont see why that can be related. W7, I'm gettin' Quote:
Code:
bfix > 1 ? stabclip.FillBorders_stabi(pad=subsampl && mirror!=15 ? 1 : 0,subsample=subsampl,FixFalPos=defined(FalPosclip) || \ FixFalPos ? last : Undefined, mirror=mirror==15,PAR=PAR, FillBordersc=u_ExIn ? preclip.ExInpaint(bfixc.mt_lut(u=-255,v=-255)) \ : u_InDe ? preclip.InpaintDelogo(mask=bfixc, Loc="0,0,0,0",dPP=0,dPPm=1,diPP=1,diPPm=0,oPP=1,oPPm=0,Inflate=0) \ : preclip.InpaintLogo(bfixc)) : bfixc EDIT: Says "wrong type", not "wrong colorspace type", But is showing for me type clip YV12. [so I'm confused]
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 4th August 2021 at 17:38. |
||
4th August 2021, 17:20 | #773 | Link | ||
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
Quote:
Dont know why some post on Microsoft.com thought it were to do with Windows Update. EDIT: So, AVS error message on W7, and Stack exhaustion/corruption on W10. EDIT: Anybody confirm error results on both W7 and W10 ? [with current StabilizationToolsPack.avsi and Zs_RF_Shared.avsi]
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 4th August 2021 at 17:42. |
||
4th August 2021, 20:25 | #774 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
did you have last https://forum.doom9.org/showthread.php?t=176860 ?
__________________
See My Avisynth Stuff |
4th August 2021, 20:53 | #775 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
I had v1.2 [5th July 2019] which seems to be last in Pinterf suppository ,
but posted by VoodooFX as v1.24 [28 Nov 2020] at your linked post [post attachment]. Thanks, I'll give it a try [maybe later, gotta get to pub before it runs out of beer]. EDIT: Damn it, I think I was confusing InpaintDelogo[v1.24] and AvsInpaint[v1.2].
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 4th August 2021 at 21:01. |
5th August 2021, 14:43 | #776 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
|
18th August 2021, 02:56 | #777 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
test update https://github.com/realfinder/AVS-St..._resize16.avsi to use fmtconv
note: it's not work with noring yet, it's need porting Dither_resize16nr to fmtc_resamplenr, which use array in way like this https://forum.doom9.org/showthread.p...89#post1949689 so I will wait for now fmtconv update for nnedi3_resize16 should fix many old problems, like this https://forum.doom9.org/showthread.p...94#post1924894 something old now (nothing to do with last update) but also if you want the old default hybrid LBD and lsb you can set FastNnediHBD to true (to use nnedi3 with 8bit whatever the HBD input is used, just like the old "lsb_in=true, lsb=true" but it using HBD in other places so it's not 100% same output or even speed as lsb (it's a bit slower than lsb because slimit_dif vs Dither_limit_dif16)) also aside from that, keep in mind that nnedi3_resize16 still use dithertools if you use 8bit even without lsb, in short it's still use hacks
__________________
See My Avisynth Stuff Last edited by real.finder; 18th August 2021 at 03:11. |
18th August 2021, 09:29 | #778 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,582
|
Could you please adapt SPresso and STpresso to ExTools from DogWay? We could get rid of masktools, RGTools and perhaps something else.
P.S: Do they support HBD?
__________________
@turment on Telegram Last edited by tormento; 18th August 2021 at 09:42. |
19th August 2021, 20:52 | #779 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
I plan to update crt-display (CRT display emulator) by cretindesalpes but it need Dither_box_filter16 and Dither_resize16nr (already plan to port it to fmtc_resamplenr)
Currently very unlikely
__________________
See My Avisynth Stuff |
19th August 2021, 21:13 | #780 | Link | |
Registered User
Join Date: Nov 2009
Posts: 2,361
|
Quote:
Anyway I'm not entirely replacing RGTools with ExTools (except for EX mods) because RGTools is insanely fast (AVX2 helps), blurs are ok within 10% of removegrain() but medians are slower. Anyway removegrain(4) is very very basic and thickens lines so I will replacing it with a smarter median on the long run.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
|
Tags |
avisynth, avs script, avs+, banding, generator, hbd, mod |
|
|