View Full Version : Best way to handle hybrid source? TFM+QTGMC
kenshin1991
27th August 2017, 06:44
Hi,
I'm trying to backup my collection of DVDs and convert them to a progressive .mp4 file however I'm having difficulties with this particular source (see .m2v link below).
I've tried de-interlacing the entire clip using QTGMC however the fine details within the clean film portions result in aliasing. I've tried the advanced settings with many different combinations however with no luck.
I've also tried tfm(mode=0, PP=0) however areas where fades occur become interlaced. In addition, I have tried different PP settings however it resulted in jerky video.
I've also tried TFM with Vinverse however the results are similar (perhaps worse) than if I were to just deinterlace the entire clip using QTGMC.
Any ideas?
Here's a small video snippet:
https://www.dropbox.com/s/n6zp586u826mtqa/Track01_Last_Exile_Vol1_t00.demuxed.m2v?dl=0
Here's my current script:
global MeGUI_darx = 16
global MeGUI_dary = 9
mpeg2source("vol1.d2v")
#qtgmc(Preset="very slow")
deint = QTGMC(preset="very slow")
even30 = TFM(field=1,mode=0,slow=2,micmatching=0,PP=0,cthresh=0, clip2=deint.SelectEven())
odd30 = TFM(field=0,mode=0,slow=2,micmatching=0,PP=0,cthresh=0, clip2=deint.SelectOdd() )
Interleave(even30,odd30)
BakaProxy
27th August 2017, 08:10
If the clip qtgmc generates is still aliased (the interlacing kind) then it's likely thst you're kinda screwed. It means that the source has already been deinterlaced once but not properly.
You could attempt minimizing the effects using anti-aliasers.
Though keep in mind that I'm just speaking from experience, I haven't actually seen your snippet.
Verstuurd vanaf mijn SM-A500FU met Tapatalk
kenshin1991
27th August 2017, 08:41
If the clip qtgmc generates is still aliased (the interlacing kind) then it's likely thst you're kinda screwed. It means that the source has already been deinterlaced once but not properly.
You could attempt minimizing the effects using anti-aliasers.
Though keep in mind that I'm just speaking from experience, I haven't actually seen your snippet.
Verstuurd vanaf mijn SM-A500FU met Tapatalk
The aliasing was actually introduced by qtgmc. I think it might have to do with the fact that my source is animated content and I don't believe QTGMC was created for such content.
BakaProxy
27th August 2017, 08:48
The aliasing was actually introduced by qtgmc. I think it might have to do with the fact that my source is animated content and I don't believe QTGMC was created for such content.If the qtgmc output (without tfm) gives aliasing then you might wanna look into the more fine parameters (like inputtype).
I've used qtgmc plenty for cartoons with good results, it's just that with cartoons you see the issues a lot quicker.
Verstuurd vanaf mijn SM-A500FU met Tapatalk
hello_hello
27th August 2017, 11:55
QTGMC doesn't always do well with animation.
I think if it was me I'd consider that not to be a hybrid. The transitions between scenes sometimes briefly show movement from one frame to the next when you bob de-interlace, but the field order for the part fading out seems to change and does a little back and forward dance while the next scene is fading in. Other than that, it seems telecined.
The text over the top of the transitions has a tendency to look a little odd for a few frames if you de-interlace it, maybe for the same reason, but unless there's other problems I missed, field blending de-interlaces the text with the least side-effects, and the frames removed by TDecimate during the transitions where the field order appears to change prevents the dancing back and forth, and motion still looks smooth to me. Maybe all it needs is something like this:
TFM(pp=5, cthresh=5, MI=50).TDecimate(mode=1)
I don't encode animation much so I don't know if it'd help, but maybe you could try AnimeIVTC (http://avisynth.nl/index.php/AnimeIVTC).
PS. TFM's pp=0 disables combing detection and therefore nothing would be de-interlaced, even when specifying a clip for clip2. I find when using a second clip for de-interlacing, for determining what's being taken from it, the simplest method is to temporarily make it black and white. ie
deinterlaced = QTGMC().GreyScale()
TFM(clip2-deinteralced)
Katie Boundary
5th September 2017, 18:35
If your source is top-field-first, you need to set odd30 to mode=4, not mode=0. If it's bottom-field-first, then even30 should be field=0, mode=4 and odd30 should be field=1, mode=0.
PP needs to be set to something other than 0 for the clip2 parameter to do anything.
Cthresh should be raised to at least 1 if you don't want literally every pixel to be considered "moving".
LemMotlow
6th September 2017, 03:21
Doesn't look like hybrid no me, just simple 3:2 pulldown from 23.976 film. Like many titles, there seems to be some interlaced title segments but it's rather subtle and doesn't even look like interlace during play. I used straight TIVTC. Then I kept going frame by frame but never saw aliasing, got tired of looking and put it to rest after a while. Life is too short.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.