How to avoid effects like in the screenshot when using QTGMC?
Right side - QTGMC
Left side = bwdif
Script:
(removing Sharpness and SLMode improves the thing, but I would not like to give up sharpening)Code:QTGMC(preset="slow",TR2=3, Sharpness=1.2, SLMode=1)
(full screenshot attached)

		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 9 of 9
			
		- 
	Last edited by rgr; 8th Jul 2023 at 05:55. 
- 
	Use QTGMC as deinterlacer "only", and sharpen later with a dedicated filter (general good approach) 
- 
	^^^ This 
 Or try an antialias filter like santiag()
 
 Also take a look at the discussion here:
 https://forum.videohelp.com/threads/404164-Why-is-QTGMC-so-destructive-and-why-do-so-m...l-recommend-it
- 
	
- 
	LSFmod(defaults="slow")Which would you recommend? ASharp didn't work for me.
 
 As alternative, according to the characteristics of your source: SeeSaw() http://avisynth.nl/index.php/SeeSaw, CAS() http://avisynth.nl/index.php/CAS
- 
	
- 
	Yes, the conversion to YV12() is sort of degradation sometime. Didée disappeared long time ago before improving his scripts . 
 
 In any case, if you are deinterlacing your source and you want to sharpen only luma (which happens quite often) is not a big issue, because you can recover the chroma from a step prior to sharpening (and then to YV12() conversion):
 
 Code:# deinterlacing deinterlaced=... ### convert to YV12 deinterlaced_yv12=deinterlaced.convertToYV12() ### sharpening sharpened_yv12=deinterlaced_yv12.LSFmod(defaults="slow") ### convert to YUY2 with chroma from YUY2 color space sharpened=sharpened_yv12.convertToYUY2().MergeChroma(deinterlaced) Last edited by lollo; 22nd Nov 2023 at 12:12. Reason: fixed typo "you want to sharpen only chroma" to "you want to sharpen only luma" 
- 
	LSFmod works fine with other yuvxxx color spaces, iirc. the restriction to YV12 was only because older masktools2 versions didn't support other color spaces.It's a bit weak that LFSmod and SeeSaw only accept YUV420...
 Using:
 (4:2:0, 4:2:2, 4:4:4) works fine here. (script doesn't make any sense, I just wanted to test the color compatibility; I suspect the same might be true for SeeSaw)Code:ClearAutoloadDirs() SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE) LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\LoadDll.dll") LoadDLL("F:\Hybrid\64bit\Avisynth\avisynthPlugins\libfftw3f-3.dll") LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\LSMASHSource.dll") LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\masktools2.dll") LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\VariableBlur.dll") LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\aWarpSharpMT.dll") LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\RgTools.dll") Import("F:\Hybrid\64bit\Avisynth\avisynthPlugins\mtmodes.avsi") Import("F:\Hybrid\64bit\Avisynth\avisynthPlugins\Zs_RF_Shared.avsi") Import("F:\Hybrid\64bit\Avisynth\avisynthPlugins\ExTools.avsi") Import("F:\Hybrid\64bit\Avisynth\avisynthPlugins\LSFmod.avsi") # loading source: G:\TestClips&Co\files\test.avi # color sampling YV12@8, matrix: bt601, scantyp: progressive, luminance scale: limited LWLibavVideoSource("G:\TestClips&Co\files\test.avi",cache=false,dr=true,format="YUV420P8", prefer_hw=0) ConvertToYUV444() # current resolution: 640x352 LSFmod(edgemaskHQ=true) ConvertToYUV422() # current resolution: 640x352 LSFmod(edgemaskHQ=true) ConvertToYUV420() # current resolution: 640x352 LSFmod(edgemaskHQ=true) # Converting from 8 to 10bit for encoder ConvertBits(10) # setting output fps to 25.000fps AssumeFPS(25,1) PreFetch(16) # output: color sampling YV12@10, matrix: bt601, scantyp: progressive, luminance scale: limited return last
 
 Cu SelurLast edited by Selur; 22nd Nov 2023 at 09:40. users currently on my ignore list: deadrats, Stears555, marcorocchini
- 
	And for seesaw - there are modified versions that accept high bit depth and other subsampling by realfinder and dogway 
 
 https://github.com/realfinder/AVS-Stuff/blob/master/avs%202.5%20and%20up/seesaw.avsi
 https://github.com/Dogway/Avisynth-Scripts/blob/master/MIX%20mods/SharpenersPack.avsi
 
 
 Was there motion in adjacent fields ? One scenario where BWDIF excels over other deinterlacers is weaving static content
Similar Threads
- 
  Deinterlace a DVD lossy using QTGMC hybrid?By jedi55 in forum Video ConversionReplies: 15Last Post: 20th Apr 2022, 08:57
- 
  Still some combs after QTGMC deinterlace, possible to improve?By Bencuri in forum Video ConversionReplies: 27Last Post: 31st Jan 2020, 09:58
- 
  Resizing after deinterlace PAL DVD w/ QTGMCBy rilopes64 in forum DVD RippingReplies: 11Last Post: 3rd Dec 2019, 11:01
- 
  When I use QTGMC to deinterlace 1080i60 content to 1080p60...By Asterra in forum Video ConversionReplies: 5Last Post: 5th Feb 2019, 21:45
- 
  newbie to AVISynth & VirtualDub-need help with IVTC & deinterlace via QTGMCBy clashradio in forum Capturing and VCRReplies: 79Last Post: 14th Nov 2018, 21:05


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote 
			

 Visit Homepage
				Visit Homepage