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 > VapourSynth
Register FAQ Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 7th September 2017, 02:30   #1  |  Link
Lynx_TWO
Registered User
 
Join Date: Aug 2005
Posts: 37
Video enchancment / If time was not a factor?

Theoretical Discussion here:

If time and computing power was not a factor:

Main Tools - StaxRip and VapourSynth

Starting video - Interlaced 720p footage (or even interlaced DVD) with some film judder

Workflow:

Step 1. Deinterlace

QTGMC | Keep FrameRate | QTGMC Placebo =
Code:
clip = core.std.SetFieldBased(clip, 2) # 1 = BFF, 2 = TFF
    clip = havsfunc.QTGMC(clip, TFF = True, Preset = "Placebo", FPSDivisor=2, ForceTR=3, NNeurons = 4, SourceMatch=3, Lossless=2, Sharpness=0.0, TR2=3, NoiseProcess=1, NoiseRestore=0.0, Denoiser="dfttest", DenoiseMC=True, NoiseTR=2, NoiseDeint = "Generate", Sigma=4.0)
Step 2. Stabilize high frequency film judder

Stab =
Code:
clip = haf.Stab(clip, range=1, dxmax=4, dymax=4, mirror=0)

Step 3. Upscale for denoiseing and further processing

http://www.infognition.com/videoenhancer/, Super-resolution. Output x254 lossless (q0) or similar, 2 passes to increase resolution to 2880p

Step 4. - Denoising

4pass SMDegrain =
Code:
pass1 = havsfunc.SMDegrain(clip, tr = 3, pel = 2, subpixel = 2, Str = 3.0, blksize = 8, overlap = 2, thSAD = 400, contrasharp = True, truemotion = True, RefineMotion = True)
    pass2 = havsfunc.SMDegrain(pass1, tr = 3, pel = 2, subpixel = 2, Str = 3.0, blksize = 8, overlap = 2, thSAD = 350, contrasharp = True, truemotion = True, RefineMotion = True)
    pass3 = havsfunc.SMDegrain(pass2, tr = 3, pel = 2, subpixel = 2, Str = 3.0, blksize = 8, overlap = 2, thSAD = 300, contrasharp = True, truemotion = True, RefineMotion = True)
    clip = havsfunc.SMDegrain(pass3, tr = 3, pel = 2, subpixel = 2, Str = 3.0, blksize = 8, overlap = 2, thSAD = 250, contrasharp = True, truemotion = True, RefineMotion = True)
Step 5. - Increase detail

This, I don't know... Any machine learning based plugins to do this artificially yet?

Step 6. - Automatic color correction/re-balancing

I don't know any plugins that do this reliably based on scene changes...

Step 7. - Add some really fine grain back into the high rez upscale

TrueGrain or similar?

Step 8. - Downsize back to 1080p

Sinc =
Code:
clip = core.fmtc.resample(clip, w=1920, h=1080, kernel="sinc", taps=128)
Step 9. - Compress

Whatever compression settings you usually work with

---------------------------------------------------------------

Any thoughts or suggestions? Again, we are looking for tools that achieve maximum theoretical quality here. In addition, it would be nice to have a plugin or option to be able to restart a computer as needed without using too much processing time, so processing in chunks might be an option...

Thanks in advance!
Lynx_TWO is offline   Reply With Quote
 

Tags
color correction, deinterlacing, deinterlacing upsampling, processing


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 14:07.


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