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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th August 2017, 02:02   #541  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
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.

Last edited by MysteryX; 9th August 2017 at 02:08.
MysteryX is offline   Reply With Quote
Old 9th August 2017, 02:38   #542  |  Link
burfadel
Registered User
 
Join Date: Aug 2006
Posts: 2,229
I'll see what can be done! No doubt will take some time for testing though . Once I add a few more basics to the script and tidy it up a bit I'll create a new thread for it.
burfadel is offline   Reply With Quote
Old 9th August 2017, 02:40   #543  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
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")
TODO:
- 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.

Last edited by MysteryX; 9th August 2017 at 21:39.
MysteryX is offline   Reply With Quote
Old 9th August 2017, 04:15   #545  |  Link
burfadel
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.
burfadel is offline   Reply With Quote
Old 9th August 2017, 04:36   #546  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,559
Thank you, fixing it in the official release right now
MysteryX is offline   Reply With Quote
Old 9th August 2017, 21:41   #547  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
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.

Last edited by MysteryX; 9th August 2017 at 21:46.
MysteryX is offline   Reply With Quote
Old 2nd February 2022, 07:34   #548  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
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 ???
StainlessS is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:04.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.