View Full Version : Deinterlace motion detection?
https://www.videomaker.com/courses/699/how-to-deinterlace-footage
Where can you find?
With Avisynth the answer is QTGMC() (http://avisynth.nl/index.php/QTGMC).
FranceBB
9th June 2016, 16:49
To deinterlace sources, there are three main filters: QTGMC, tdeint and yadif; the first one is the better one.
Try:
QTGMC(Preset="placebo", Sharpness=1.00)
or
tdeint(mode=2, order=-1, field=-1, mthreshL=6, mthreshC=6, map=0, type=2, debug=false, mtnmode=1, sharp=true, cthresh=6, blockx=16, blocky=16, chroma=false, MI=64, tryWeave=true, link=1, denoise=true, slow=2, opt=4)
If your source is telecined, instead, try this way:
tfm(mode=1,pp=5,slow=2,micmatching=2,clip2=tdeint(mode=2,type=3))
tdecimate()
ingoldie
13th June 2016, 15:48
To deinterlace sources, there are three main filters: QTGMC, tdeint and yadif; the first one is the better one.
Try:
QTGMC(Preset="placebo", Sharpness=1.00)
or
tdeint(mode=2, order=-1, field=-1, mthreshL=6, mthreshC=6, map=0, type=2, debug=false, mtnmode=1, sharp=true, cthresh=6, blockx=16, blocky=16, chroma=false, MI=64, tryWeave=true, link=1, denoise=true, slow=2, opt=4)
If your source is telecined, instead, try this way:
tfm(mode=1,pp=5,slow=2,micmatching=2,clip2=tdeint(mode=2,type=3))
tdecimate()
What is the best Avisynth code for my source clip?
How do I recognize telecined content?
Here is the source clip:
http://www.mediafire.com/download/yiy4hz7xx839ytb/Sample2_SD_8mm_18_fps.avi
LemMotlow
13th June 2016, 17:17
It's not interlaced. Open the video in VirtualDub and move frame by frame. Do you see interlaced combing?
The video is progressive with 2 duplicate frames in every group of 5, it appears.
Maybe:
TDecimate(Cycle=5,CycleR=2)
Result is 17.982 fps.
johnmeyer
13th June 2016, 17:53
What is the best Avisynth code for my source clip?
How do I recognize telecined content?
Here is the source clip:
http://www.mediafire.com/download/yiy4hz7xx839ytb/Sample2_SD_8mm_18_fps.avi
Why are you hijacking this thread by posting the same clips you have been posting for over a year? This is your own film transfer, and you already know the answer to the question you asked, because it has been given in previous threads.
Groucho2004
13th June 2016, 17:59
Why are you hijacking this thread by posting the same clips you have been posting for over a year?
Hm, let's see. Creating one thread after another with the same question didn't yield the expected result. Pestering people via PM didn't work. So, hijacking threads is the next logical step. :)
LemMotlow
13th June 2016, 18:17
Why are you hijacking this thread by posting the same clips you have been posting for over a year? This is your own film transfer, and you already know the answer to the question you asked, because it has been given in previous threads.
Agreed.
Hm, let's see. Creating one thread after another with the same question didn't yield the expected result. Pestering people via PM didn't work. So, hijacking threads is the next logical step. :)I'm awaiting the next time myself. Won't be surprised. Only upside is, at least no one has to think up new answers.
Groucho2004
13th June 2016, 18:17
How do I recognize telecined content?
Look here (http://avisynth.nl/index.php/FAQ_different_types_content), everything you need to know.
ingoldie
13th June 2016, 21:09
It's not interlaced. Open the video in VirtualDub and move frame by frame. Do you see interlaced combing?
http://i66.tinypic.com/11chc95.jpg
StainlessS
13th June 2016, 21:49
Interlaced, means interlaced encoding ( which don't mean that content is interlaced, just means that was encoded as if it was [ I hate that]),
Edit: not so good compression, inferior result.
johnmeyer
13th June 2016, 22:50
Interlaced, means interlaced encoding ...+1
A few encoders have an "interlaced" flag. This includes DV video and its pro cousin, DVPRO, which is what you posted in your Mediainfo screen grab. That flag, however, is just that, an indicator. It says nothing about what the video actually is, and how it looks.
As has already been posted, you need to either use Separatefields() or Bob() and then walk through the video one field (note: field, not frame) at a time. If your video is interlaced, you will see movement between each and every field, with no exceptions. If it is telecined (i.e., film that has fields duplicated) you will see movement between some fields, but then see fields that are from the exact same time as the previous field. If this is what you have, then you have to use IVTC (inverse telecine) to remove the repeats. You DO NOT want to use a deinterlacer on this sort of footage, or you will create a mess.
Finally, if your film is progressive, you will see that each pair of fields is from the same moment in time, and the only movement you will see is the slight up/down motion caused by the fact that the fields are spatially offset by one scan line.
It is possible to have combinations of these three things, all in the same video. You often see this in documentaries, or in shows that includes commercials, some of which are shot on film.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.