I have an ntsc 29.97fps video that appears to have a standard 3:2 pulldown applied. I want the final video file to be 23.976fps, but I want to use QTGMC to deinterlace the video instead of one of the build-in deinterlacers in TIVTC. My current idea is to use the conditionalfilter to find the combed frames, and if it is combed, use QTGMC to deinterlace. Then at the end, decimate the whole thing. My current AVS script:
It seems to work great, it's just REALLY slow (max sustained fps=2.05), only using 1 logical CPU core (out of 12). I have Avisynth 2.6MT installed and am using 64-bit x264, so how can I get this thing to work with MT and be as efficient as possible?Code:LoadPlugin("C:\Video Software\DGDecode.dll") video=MPEG2Source("G:\TEST\REG.d2v") video2=video.AssumeTFF().QTGMC(Preset="Slow",EdiThreads=1).SelectEven() video=ConditionalFilter(video,video2,video,"IsCombedTIVTC","=","true",true) //the last true is just to display the result on screen video=video.TDecimate(cycle=5) return(video)
+ Reply to Thread
Results 1 to 3 of 3
-
-
Try this:
Code:SetMtMode(5,18) # Mpeg2Source() requires mode 2, 18 threads (cores * 1.5) LoadPlugin("C:\Video Software\DGDecode.dll") video=MPEG2Source("G:\TEST\REG.d2v") SetMtMode(2) # mode 2 is faster video2=video.AssumeTFF().QTGMC(Preset="Slow",EdiThreads=1).SelectEven() video=ConditionalFilter(video,video2,video,"IsCombedTIVTC","=","true",true) //the last true is just to display the result on screen video=video.TDecimate(cycle=5) return(video)
-
TFM has its own built-in comb detector after field matching so a post-processor is applied automatically, without you doing all that 'IsCombed' stuff. And it can be tweaked, if some interlacing slips by without being caught.
And if your source video is properly telecined, the IVTC is easy and nothing gets post-processed anyway. You can check by putting on 'TFM(Display=True)'. In my opinion you're just wasting computer cycles.
Similar Threads
-
Using Avisynth MT with QTGMC
By agni451 in forum Video ConversionReplies: 11Last Post: 15th May 2014, 07:37 -
Using QTGMC in ffmpeg
By agni451 in forum Video ConversionReplies: 1Last Post: 10th Nov 2012, 10:16 -
QTGMC Help
By TuFFrabit in forum Newbie / General discussionsReplies: 16Last Post: 23rd Jun 2012, 06:53 -
Help me get started with QTGMC
By JackDanielZ in forum Video ConversionReplies: 20Last Post: 3rd Jun 2012, 09:04 -
TFM Audio Tool - mixing matrix settings
By katalogas in forum AudioReplies: 1Last Post: 2nd Mar 2010, 03:53