Original from DVD:
https://drive.google.com/open?id=0B0ObrFpgaHE8UUpoeW9aeE03TGs
My encode:
https://drive.google.com/open?id=0B0ObrFpgaHE8NTRXQ28yRi1DcXc
AVS script in MeGUI:
iTunes clip (hoping this counts as fair use):Code:<input> ConvertToYV12(interlaced=true) AssumeTFF() QTGMC(Preset="Placebo", SourceMatch=3, TR2=3, Lossless=2)
https://drive.google.com/open?id=0B0ObrFpgaHE8TG1oMTY1LTNuZkk
So the source is very aliased to begin with and so far I'm just running it through QTGMC to deinterlace. I feel like the iTunes version is oversmoothed and loses too many details (which is why I'm trying to do my own encode), but the text about 5 seconds into the clip looks better (fewer artifacts, at least). Basically, I'm wondering if there's a way to reduce the aliasing without losing as much detail as the iTunes version using an AviSynth filter. I'm very new to AviSynth scripting and don't really know where to start for this sort of thing.
+ Reply to Thread
Results 1 to 8 of 8
-
-
NTSC DV 4:1:1 was badly converted to 4:2:0 by duplicating chroma samples rather than interpolating. To fix the chroma, try something like:
Code:MergeChroma(PointResize(width/2,height).TurnLeft().nnedi3(dh=true).TurnRight().Spline36Resize(width,height))
Last edited by jagabo; 9th Jul 2017 at 09:24.
-
The video definitely has parts that are interlaced, this is just a seperate thing I want to try and mess with.
Wow, that is much better. So how would I know for next time when to use something like this? Is there some sort of analysis tool I can use? Also, would it increase the quality to use something other than Spline36Resize (like LanczosResize)?Last edited by duelle; 9th Jul 2017 at 11:10.
-
- My sister Ann's brother
-
Another question:
Where should I put the MergeChroma() line in my AVS script? Before or after QTGMC() and (if before QTGMC) before or after ConvertToYV12()? -
Ah, I missed those interlaced frames near the end. The earlier code seems two work ok on the interlaced parts but, to be sure you would probably want to SeparateFields() before the fix, then Weave() again after.
After playing around with the video a bit more, and trying the fix both ways (before or after QTGMC) I thought the best result was from this:
Code:QTGMC() MergeChroma(Spline36Resize(width/2,height).TurnLeft().nnedi3(dh=true).TurnRight().Spline36Resize(width,height))
If you want to try the fix before QTGMC do it this way:
Code:SeparateFeilds() MergeChroma(Spline36Resize(width/2,height).TurnLeft().nnedi3(dh=true).TurnRight().Spline36Resize(width,height)) Weave() QTGMC()
-
Okay, another small issue that QTGMC is causing.
The speaker grill on the TV in this clip gets very distorted near the end while the original doesn't have this issue.
Original:
https://drive.google.com/open?id=0B0ObrFpgaHE8Nk8taHM4eV9zMFE
Encode:
https://drive.google.com/open?id=0B0ObrFpgaHE8U21jVmdIQXpGVm8
I tried doing the encode without MergeChroma() and it's the same. QTGMC is the only other filter in the script so it must be doing something to cause this. I tried messing with some options but couldn't get it to make difference (for good or worse), so I defer to the experts. I should also mention this is visible in the script preview, too, so it's not the x264 encoding settings, either. -
Thin grills like that confuse most deinterlacers. If you can't find a deinterlacer that works without distotring the frames you can use two different filter paths and ReplaceFramesSimple() to select which of the two paths is used it the final mix:
Code:Mpeg2Source("VTS_01_1.demuxed.d2v", CPU2="ooooxx", Info=3) q = QTGMC() v = ConvertFPS(q.framerate) ReplaceFramesSimple(q, v, Mappings="[0 105]")
Similar Threads
-
how to put background or solid block of color on a video
By damesquad73 in forum EditingReplies: 1Last Post: 2nd Apr 2017, 18:34 -
Webcam Video Artifacting after/during encode?
By KoolerKii in forum Newbie / General discussionsReplies: 8Last Post: 4th May 2016, 04:09 -
Changing text color in watermark
By okizen in forum Video ConversionReplies: 5Last Post: 3rd May 2016, 08:53 -
artifacting?
By Coffindan in forum Video ConversionReplies: 82Last Post: 15th Mar 2015, 10:48 -
ffmpeg/mpeg2 artifacting question
By JonWeigand in forum Video ConversionReplies: 12Last Post: 13th Jan 2015, 15:52