+ Reply to Thread
Results 1 to 18 of 18
-
Try something like:
Code:ConvertToRGB() PointResize(width,height/2) ConvertToYV12() nnedi3(dh=true)
-
Last edited by pub; 4th Jun 2015 at 09:15.
-
Set the nns argument in nnedi3 higher to get better results with shallower diagonals. You can get rid of the RGB conversion too:
Code:SeparateFields() SelectEven() nnedi3(dh=true, nns=4)
For Sample2 try:
Code:AssumeTFF() TFM(mode=1, field=0, pp=1) TFM(mode=1, field=1, pp=1) # second TFM might not be necessary, check more video TDecimate(cycle=6, cycleR=1)
Last edited by jagabo; 4th Jun 2015 at 11:12.
-
Oh, I just added the second sample as comparisment of what it should look like. It has some 25p to 29.97i conversion but also logos so I'd rather use the logo-free one.
SelectEven looks better, but again during movement it looks terrible, even with the nns at maximum value. I added my output clip. -
I get the same results as you. Following nnedi3 with one of the other antialias filters, like Santiag(), will help a little. Even calling it multiple times:
Code:SelectEven() nnedi3(dh=true, nns=4) Santiag() Santiag() Santiag()
Last edited by jagabo; 4th Jun 2015 at 16:45.
-
Using Santiag 5 times got rid of it during movement. But as you said, it screwed up other parts of the picture, like causing haloing and some sort of noise in the background (output3a.mkv).
Before (sample3.mkv):
After (output3a.mkv):
I tried a few different variations of this at a whopping 0.45fps, but it didn't fix it. It did bring the bitrate down about 2500kbps (CRF 16)
Code:MosquitoNR(strength=23) Dehalo_alpha() LSFMod(defaults="slow", strength=160, edgemaskHQ=true, preblur="FFT3Dfilter(sigma=4,plane=0)")
Last edited by pub; 5th Jun 2015 at 09:52.
-
Try something like:
Code:MosquitoNR(strength=23) SeparateFields() SelectEven() nnedi3(dh=true, nns=4) Santiag() Santiag() Santiag() Dehalo_alpha(rx=2, ry=3) MergeChroma(aWarpSharp(depth=5), aWarpSharp(depth=10)) ChromaShift(c=2)
Last edited by jagabo; 5th Jun 2015 at 09:54.
-
Is there a way to reduce the darkening? It's most noticable in the eyes and around the mouth (it begins to look like a mustache)
Before (sample3.mkv):
After the last script:
After the last script with 2 extra Santiags to get rid of noise during movement:
I also found something else (sample3full.mkv). In the red area, there are a few lines of noise.
The same type of blocky noise is visible on the face a few seconds later. MosquitoNR didn't get rid of it. Would Cnr2 or a smoother get rid of it? Or do I need to lower my CRF (currently 16 with animation tune)Last edited by pub; 5th Jun 2015 at 14:54.
-
The slight darkening in areas between two nearby horizontal black lines can be reduced by changing ry=3 to ry=2 in dehalo_alpha(). That should still give adequate halo removal around horizontal lines.
I haven't looked closely at the other video yet but I think you'll need a debanding filter like GradFun3(). CRF 16 might be high enough quality to keep it from coming back.Last edited by jagabo; 5th Jun 2015 at 16:49.
-
That worked
I tried a few (flash3kyuu_deband, GradFun3) with different settings, but it won't go away. GradFun3(radius=16,smode=2) gives the best result but the flickering is still very noticable -
Be careful with temporal smoothers. They will lead to obvious smearing in low contrast moving areas. You can reduce that using a motion compensated temporal smoother like MCTemporalDenoise().
-
I'm using this script now:
Code:ffVideoSource("sample.mkv") MosquitoNR(strength=21) SeparateFields() SelectEven() nnedi3(dh=true, nns=4) Santiag() Santiag() Santiag() Santiag() Dehalo_alpha() MergeChroma(aWarpSharp(depth=5), aWarpSharp(depth=10)) ChromaShift(c=2) MCTemporalDenoise(settings="medium") GradFun3(radius=16,smode=2)
Code:avs [info]: 1920x1080p 0:0 @ 25/1 fps (cfr) x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX x264 [info]: profile High, level 4.0
And will adding a sharpener/Toon make the image look more 'alive'/less dull? (sample25f.mkv)
Before
After
I found another problem in another file. The sample I added (sample.mkv) probably got conversed 25p->29.97i->29.97p. Is it possible to restore it to 25p? I couldn't quite figure out FDecimate.Last edited by pub; 20th Jun 2015 at 16:33.
-
Slow processing doesn't surprise me with all those slow filters. Sometimes it help to run some of the filters in different scripts, saving to a lossless intermediate between scripts.
Sharpen if you want to. Watch out for over sharpening halos and buzzing edges.
You can use TDecimate() to return sample.mkv to ~23.976 fps. You won't be able to fix the moire artifacts on the purple stairs but QTGMC(InputType=1, Preset="medium", EZDenoise=2.0) helps a bit with some of the buzzing edges. -
Other than the slow speed, it looks perfect
http://screenshotcomparison.com/comparison/132412
When encoding in parts, I noticed the thing that's slowing everything down is MCTemporalDenoise. I tried Avisynth+ and multithreading (8 thread Intel i7). It actually starts encoding now, but it takes a long time. My script now without splitting:
Code:SetFilterMTMode("DEFAULT_MT_MODE", 2) SetFilterMTMode("FFVideoSource", 3) ffVideoSource("sample.mkv") MosquitoNR(strength=21) SeparateFields() SelectEven() nnedi3(dh=true, nns=4) Santiag() Santiag() Santiag() Dehalo_alpha() MergeChroma(aWarpSharp(depth=5), aWarpSharp(depth=10)) ChromaShift(c=2) MCTemporalDenoise(settings="medium") GradFun3(radius=16,smode=2) LSFMod(defaults="slow") Prefetch(6)
You can use TDecimate() to return sample.mkv to ~23.976 fps. You won't be able to fix the moire artifacts on the purple stairs but QTGMC(InputType=1, Preset="medium", EZDenoise=2.0) helps a bit with some of the buzzing edges. -
Similar Threads
-
fix artifacts in video that was not deinterlaced
By codemaster in forum Video ConversionReplies: 3Last Post: 23rd Mar 2013, 22:27 -
randomly deinterlaced frames
By mathmax in forum RestorationReplies: 50Last Post: 6th Jul 2011, 07:30 -
Burned home-video DVD looks not deinterlaced on tv
By granturissimus in forum Newbie / General discussionsReplies: 3Last Post: 8th Jan 2011, 09:59 -
Video stutters when deinterlaced an when played in a DVD player
By Kado in forum Video ConversionReplies: 17Last Post: 13th Aug 2010, 12:03 -
avchd to deinterlaced avi
By cesarin in forum Video ConversionReplies: 17Last Post: 25th Jul 2010, 12:01