I would like suggestions to repair this video and apply the correct filters to try to improve it
Sample:
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 30 of 43
Thread
-
-
Aggressive temporal NR and aggressive chroma NR would severely reduce it.
But the clip also suffers from block noise, mosquito noise, and deinterlace artifacts.
It was just a crappy transfer from a rotten non-quality VCR. Probably nth gen, copy of copy, each using lousy VCR along the way.
It can never be 100% removed, but it can be severely reduced.
CCD and Dyn MMX NR in VirtualDub improved it some.
But KNLmeansCL may be even better.
With help of poison here at VH, I (re)wrote a script that did great with worse source:
Code:SetFilterMTMode("DEFAULT_MT_MODE", 1) AVISource("c:\.avi") ConvertToYV16(interlaced=true) orig=last ev=orig.assumetff().separatefields().selecteven() od=orig.assumetff().separatefields().selectodd() ev ue_chroma = UToY(ev).blur(0,1.5).binomialblur(5).ttempsmooth(maxr=6,lthresh=150, strength=6).KNLMeansCL(d=1, a=2, h=6, device_type = "GPU", device_id = 0, channels="Y") ve_chroma = VToY(ev).blur(0,1.5).binomialblur(5).ttempsmooth(maxr=6,lthresh=150, strength=6).KNLMeansCL(d=1, a=2, h=6, device_type = "GPU", device_id = 0, channels="Y") YToUV(ue_chroma, ve_chroma) MergeLuma(ev) ev_filtered=last od uo_chroma = UToY(od).blur(0,1.5).binomialblur(5).ttempsmooth(maxr=6,lthresh=150, strength=6).KNLMeansCL(d=1, a=2, h=6, device_type = "GPU", device_id = 0, channels="Y") vo_chroma = VToY(od).blur(0,1.5).binomialblur(5).ttempsmooth(maxr=6,lthresh=150, strength=6).KNLMeansCL(d=1, a=2, h=6, device_type = "GPU", device_id = 0, channels="Y") YToUV(uo_chroma, vo_chroma) MergeLuma(od) od_filtered=last interleave(ev_filtered,od_filtered) assumefieldbased().assumetff().weave() Prefetch(6)
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs Best TBCs Best VCRs for capture Restore VHS -
-
I don't have a supported GPU so I can't use KNLMeansCL. Another option with TNLMeans:
Code:LSmashVideoSource("Sample-1986 Supercross Bercy.mp4") Spline36Resize(width/2, height) MergeChroma(RemoveDirtMC(100).TNLMeans(ax=4, ay=4, az=4, h=6).aWarpSharp(depth=20)) TemporalDegrain(SAD1=100, SAD2=75, sigma=4) SmoothTweak(saturation=1.3) Santiag() aWarpSharp(depth=5) Sharpen(0.3,0.0) nnedi3_rpow2(2, cshift="SPline36Resize", fwidth=width*2, fheight=height)
Last edited by jagabo; 15th Aug 2018 at 00:13.
-
The big problems I saw was the disappearance of certain colors (mostly in the red end of the spectrum) for one frame at a time. If I were to devise a script for this, it would look something like this:
1. Separate luma and chroma layers.
2. Average chroma over two frames. Possibly use motion estimation to get better alignment.
3. Recombine averaged chroma with original luma.
You could then apply noise reduction to deal with the normal bad video artifacts that you have. -
-
-
-
If you're looking for more noise reduction increase the TemporalDegrain() settings rather than adding more temporal denoising filters.
-
[Attachment 46483 - Click to enlarge]
MergeChroma(TemporalMedian(2))
That's it. -
-
I was really happy with the solutions posted here, thank all very much!
I would like to catch the opportunity of the topic to see if there is a solution for this:
1-How to correct this aspect ratio, I know the original VHS video was PAL 25fps 720x576 but was converted and cut wrong for NTSC 720x480 29fps ....
(1-Sample-1999 MX 125.mpg)
2-There are jumps in the frames, wrong framerate? what is this anomaly?
(2-Sample-1992 Bercy SX.avi) -
Some of the jerkiness comes about because someone converted 25 fps pal to 29.97 fps ntsc by duplicating frames. You can remove those with:
Code:Mpeg2Source("1-Sample-1999 MX 125.d2v", CPU2="ooooxx", Info=3) TDecimate(Cycle=6, CycleR=1) QTGMC()
As for the aspect ratio, There isn't any good reference within the clip but it appears that someone took a 720x576 PAL frame and cropped 96 lines off the bottom to give a 720x480 NTSC frame. It that's the case it has a PAL ITU SAR of 12:11. So resizing the frame to 786x480 (786 ~= 720 * 12 / 11) and cropping the black borders may give you the right display aspect ratio for a square pixel encoding.Last edited by jagabo; 18th Aug 2018 at 20:12. Reason: fixed typo, 11 -> 12
-
-
The script was for the indicated file. The later comment about some of the jerkiness was more generally about both clips.
-
-
When I said there was no reference I mean there was nothing in the video with a definitive shape to analyze. Like something that is known to be a perfect square, a perfect circle, etc. I believe my analysis of the aspect ratio is probably correct. Or at least very close.
-
-
I obtain this on hanbrake:
Picture 720x480 (keep aspect ratio:none)
Anamorphic: none
Modulus:16
Aspect Result: 3:2 -
No. The correct display aspect ratio after removing black borders appears to be about 1.6:1.
Find a shot with a wheel is viewed directly from the side (ie parallel to the axle), as large as possible. A perspective something like this:
Then check the width and height of the wheel. When the display aspect ratio is correct the wheel should have the same width and height. -
-
You can adjust the levels but you can't fix the blown out brights. You can probably use Gradation curves in VirtualDub to get better colors.
-
Last edited by Caiosouza; 20th Aug 2018 at 23:01.
-
-
All I did here was remove the color noise with KNLmeansCL.
But you can do a lot more from here, with this new source, far less color/chroma damage now.Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs Best TBCs Best VCRs for capture Restore VHS -