Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th June 2016, 07:49   #1  |  Link
byme
Registered User
 
Join Date: Sep 2008
Location: Italy
Posts: 204
Deinterlace motion detection?

https://www.videomaker.com/courses/6...erlace-footage

Where can you find?
byme is offline   Reply With Quote
Old 9th June 2016, 08:09   #2  |  Link
ajk
Registered User
 
Join Date: Jan 2006
Location: Finland
Posts: 134
With Avisynth the answer is QTGMC().
ajk is offline   Reply With Quote
Old 9th June 2016, 16:49   #3  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,902
To deinterlace sources, there are three main filters: QTGMC, tdeint and yadif; the first one is the better one.

Try:
Code:
QTGMC(Preset="placebo", Sharpness=1.00)
or

Code:
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:

Code:
tfm(mode=1,pp=5,slow=2,micmatching=2,clip2=tdeint(mode=2,type=3)) 
tdecimate()
FranceBB is offline   Reply With Quote
Old 13th June 2016, 15:48   #4  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 132
Quote:
Originally Posted by FranceBB View Post
To deinterlace sources, there are three main filters: QTGMC, tdeint and yadif; the first one is the better one.

Try:
Code:
QTGMC(Preset="placebo", Sharpness=1.00)
or

Code:
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:

Code:
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/yi...8mm_18_fps.avi
ingoldie is offline   Reply With Quote
Old 13th June 2016, 17:17   #5  |  Link
LemMotlow
Registered User
 
Join Date: Jul 2011
Location: Tennessee, USA
Posts: 266
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:
Code:
TDecimate(Cycle=5,CycleR=2)
Result is 17.982 fps.
LemMotlow is offline   Reply With Quote
Old 13th June 2016, 17:53   #6  |  Link
johnmeyer
Registered User
 
Join Date: Feb 2002
Location: California
Posts: 2,695
Quote:
Originally Posted by ingoldie View Post
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/yi...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.

Last edited by johnmeyer; 13th June 2016 at 17:54. Reason: typo (forgot question mark)
johnmeyer is offline   Reply With Quote
Old 13th June 2016, 17:59   #7  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by johnmeyer View Post
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.
Groucho2004 is offline   Reply With Quote
Old 13th June 2016, 18:17   #8  |  Link
LemMotlow
Registered User
 
Join Date: Jul 2011
Location: Tennessee, USA
Posts: 266
Quote:
Originally Posted by johnmeyer View Post
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.

Quote:
Originally Posted by Groucho2004 View Post
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.
LemMotlow is offline   Reply With Quote
Old 13th June 2016, 18:17   #9  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by ingoldie View Post
How do I recognize telecined content?
Look here, everything you need to know.

Last edited by Groucho2004; 13th June 2016 at 18:20.
Groucho2004 is offline   Reply With Quote
Old 13th June 2016, 21:09   #10  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 132
Quote:
Originally Posted by LemMotlow View Post
It's not interlaced. Open the video in VirtualDub and move frame by frame. Do you see interlaced combing?
ingoldie is offline   Reply With Quote
Old 13th June 2016, 21:49   #11  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
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.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 13th June 2016 at 22:51.
StainlessS is offline   Reply With Quote
Old 13th June 2016, 22:50   #12  |  Link
johnmeyer
Registered User
 
Join Date: Feb 2002
Location: California
Posts: 2,695
Quote:
Originally Posted by StainlessS View Post
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.
johnmeyer is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:25.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.