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. |
9th August 2017, 02:02 | #541 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
btw, slightly off-topic but now that AVS+ supports native 16-bit, what's the recommended way of converting Rec601 to Rec709? We no longer need to use hacks for 16-bit processing to avoid banding.
Oh, for BlkSize, keep in mind that YV12 has smaller chroma size.
__________________
FrameRateConverter | AvisynthShader | AvsFilterNet | Natural Grounding Player with Yin Media Encoder, 432hz Player, Powerliminals Player and Audio Video Muxer Last edited by MysteryX; 9th August 2017 at 02:08. |
9th August 2017, 02:40 | #543 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
I updated and simplified my script as such
Code:
file="Preview.avi" AviSource(file, audio=True, pixel_type="YV12") Crop(0, 0, -8, -0) ConvertBits(16) MClean(450) ConvertToYUV444() SuperResXBR(5, 1, 0, Factor=4, XbrStr=2.7, XbrSharp=1.3, MatrixIn="Rec601", fWidth=1012, fHeight=778, fKernel="Bicubic", fB=0, fC=.75, FormatOut="YV12", Engines=1) ResizeX(920, 768, 0, 5, -8, -5) FrameRateConverter(NewNum=60, NewDen=1, Preset="slower") - SuperResXBR can be updated to run twice in the same call - FrameRateConverter will use DCT=4 for preset Slow and Slower. Can use DCT=1 for preset Slowest. Also can add DCT parameter to customize it. With this, FrameRateConverter should be ready for a first official release and its own thread once that change is done. Btw there has been quite a few discussions about the prefilter RemoveGrain(22). Should we still use it when denoising/cleaning before? From my tests, it only results in loss of details. I think Prefilter should be removed by default. You still can call FrameRateConverter(prefilter=RemoveGrain(22)) if not cleaning first. As for MClean, you can use my video for testing as it is an extreme case and I have a lot of these. In fact, you can use my upscaling script as it amplifies every detail of your cleaning. Also test on HD sources.
__________________
FrameRateConverter | AvisynthShader | AvsFilterNet | Natural Grounding Player with Yin Media Encoder, 432hz Player, Powerliminals Player and Audio Video Muxer Last edited by MysteryX; 9th August 2017 at 21:39. |
9th August 2017, 04:15 | #545 | Link |
Registered User
Join Date: Aug 2006
Posts: 2,229
|
Mentioning here so as to not 'contaminate' the new thread .
I didn't notice this until now, there's a 'cosmetic' error in the code. Threshold is incorrectly spelt as treshold (no such word). It would have a settings difference because MaskTrh should be MaskThr, likewise SkipTrh should be SkipThr. |
9th August 2017, 21:41 | #547 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
I further improved/simplified my upscaling script above. 4x upscaling is now done in one call. This is getting close to ideal: 1 call for cleaning, 1 call for upscaling, and 1 call for interpolation. 2 of these functions I wrote, and I'm waiting to see what you can come up for the cleaning function.
An all-in-one cleaning function would definitely be useful. Although there are many debockers, many denoisers, and many deringers, in what order should I call them for ideal results? Stacking them up in random order isn't the optimal answer. Order, masking, different luma/chroma processing... there are many tweaks that can improve the job.
__________________
FrameRateConverter | AvisynthShader | AvsFilterNet | Natural Grounding Player with Yin Media Encoder, 432hz Player, Powerliminals Player and Audio Video Muxer Last edited by MysteryX; 9th August 2017 at 21:46. |
2nd February 2022, 07:34 | #548 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
MysteryX,
I noticed that your post #399 had lots of images bout how the stripemask whotsit works, well none of them are showing. You need change Postimage.org to PostImage.cc, they changed it some years back. (probably lots more posts in this & other threads are dead too)
__________________
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 ??? |
Thread Tools | Search this Thread |
Display Modes | |
|
|