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 18th May 2008, 21:39   #1  |  Link
ministrix
Registered User
 
Join Date: Mar 2007
Posts: 36
What field matcher to use?

Hello!
I got a problem ivtc'ing a movie. Its a asian dvd and using either decomb or tivtc do some good things and some bad things. If i do the usual Telecide(order=1,guide=1).Decimate() it looks ok except for some few times during the film when i get some interlacing effects. ( i think maybe the patterns are imperfect and therefore the telecide cant match right) and if i use TFM(pp=7).TDecimate().vinverse() this removes those faulty frames but i get this seesaw effect a few times during the film, chk this pic how the edge of the bridge should really be straight or the right side of the road
http://tinypic.info/viewer.php?file=...gd5bl7jwlm.jpg
this is how it looks with decomb:
http://tinypic.info/viewer.php?file=...2elxsq19z6.jpg

So anyone got any ideas of what i can do?
ministrix is offline   Reply With Quote
Old 18th May 2008, 23:22   #2  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,280
Try the decomb version with Vinverse() as a post processor
Blue_MiSfit is offline   Reply With Quote
Old 19th May 2008, 01:14   #3  |  Link
thetoof
Sleepy overworked fellow
 
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
Dunno if this'll help, but it did for hard telecined anime ivtc:

tfm(clip2=tdeint(edeint=nnedi(),emask=tmm(0))

This solution is still "in development", so you can follow its evolution here. We started talking about it in post #46 & 54
__________________
AnimeIVTC() - v2.00
-http://boinc.berkeley.edu/-
Let all geeks use their incredibly powerful comps for the greater good (no, no, it won't slow your filtering/encoding :p)
thetoof is offline   Reply With Quote
Old 19th May 2008, 02:56   #4  |  Link
ministrix
Registered User
 
Join Date: Mar 2007
Posts: 36
vinverse() didnt help those interlaced artifacts and im digging into thetoof solution but need to find plugin for tmm. Its late so ill dig deeper tomorrow
ministrix is offline   Reply With Quote
Old 19th May 2008, 03:02   #5  |  Link
thetoof
Sleepy overworked fellow
 
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
It can be found in the TDeint and TIVTC thread
__________________
AnimeIVTC() - v2.00
-http://boinc.berkeley.edu/-
Let all geeks use their incredibly powerful comps for the greater good (no, no, it won't slow your filtering/encoding :p)
thetoof is offline   Reply With Quote
Old 19th May 2008, 11:44   #6  |  Link
ministrix
Registered User
 
Join Date: Mar 2007
Posts: 36
thetoof: actually this looks to wrk.
http://tinypic.info/viewer.php?file=...d3gggsp53n.jpg
much better
of course with my old non dual processor i have to encode the whole movie to chk it properly because frame stepping ahead is sloooow. hehe.
But ill report back cause this looks good for non anime as well
ministrix is offline   Reply With Quote
Old 19th May 2008, 19:52   #7  |  Link
ministrix
Registered User
 
Join Date: Mar 2007
Posts: 36
very weird. the preview of the script looked good in vdubmod but when i encoded it it had just the same seesaw problem. what does this?
code:
tfm(clip2=tdeint(edeint=nnedi(),emask=tmm(0)))
TDecimate()
vinverse()
ministrix is offline   Reply With Quote
Old 20th May 2008, 19:52   #8  |  Link
thetoof
Sleepy overworked fellow
 
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
Quote:
Originally Posted by ministrix View Post
it had just the same seesaw problem. what does this?
I don't understand what you mean...

If you could post an unprocessed sample of a portion of your clip that is still interlaced after IVTC, it'd be very helpful.
__________________
AnimeIVTC() - v2.00
-http://boinc.berkeley.edu/-
Let all geeks use their incredibly powerful comps for the greater good (no, no, it won't slow your filtering/encoding :p)
thetoof is offline   Reply With Quote
Old 20th May 2008, 20:01   #9  |  Link
jeffy
Registered User
 
Join Date: Jan 2007
Posts: 943
@thetoof: not sure, stair-stepping?
jeffy is offline   Reply With Quote
Old 21st May 2008, 21:45   #10  |  Link
ministrix
Registered User
 
Join Date: Mar 2007
Posts: 36
@thethoof. Jeffy is pointing in right direction. Its that stair-stepping/seesaw line on railing on left side of bridge. its suppose to be straight. In preview in vdub with ur settings in script, it looked good (chk out the picture in my post nr 6) but however, after encoding it looked like this
http://tinypic.info/viewer.php?file=...wopu0bmt2p.jpg
Same problem back again.
Heres a vobsample
http://www.megaupload.com/?d=WMC0B9B4

Last edited by ministrix; 21st May 2008 at 21:50.
ministrix is offline   Reply With Quote
Old 22nd May 2008, 02:43   #11  |  Link
thetoof
Sleepy overworked fellow
 
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
This seemed to help. Not perfect, but still...
If you see another "very ugly frame", give me its exact # (or upload another test clip if it's not in the one I have) and I'll try some other stuff.
You can also consider using an anti-aliasing filter.
Code:
tfm(clip2=tdeint(2,edeint=nnedi(-2),emask=tmm(1)),slow=2)
__________________
AnimeIVTC() - v2.00
-http://boinc.berkeley.edu/-
Let all geeks use their incredibly powerful comps for the greater good (no, no, it won't slow your filtering/encoding :p)
thetoof is offline   Reply With Quote
Old 22nd May 2008, 17:05   #12  |  Link
ministrix
Registered User
 
Join Date: Mar 2007
Posts: 36
Dude this looks great, right on par with decomb plus the random interlaced frames is removed. Maybe these settings can b used instead of:
TFM(pp=7)
TDecimate()
vinverse()
which ive been using for this kind of material before (but then again ive never seen this stair stepped lines before either). Thanks for the help, I'm not quite sure what nnedi and tmm does but it sure wrks.
ministrix is offline   Reply With Quote
Old 24th May 2008, 08:45   #13  |  Link
thetoof
Sleepy overworked fellow
 
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
- nnedi doubles the framerate by interpolating every field to create a frame out of them
- tMM creates a Motion Mask at framerate*2
- Tdeint takes the ExernalDEINTerlaced clip of nnedi and the ExternalMASK of tmm as a reference to do his "mode 2 operation": smartbobbed field-matching (same rate output, blend frames from bobbed stream)
- TFM does the field matching with his slowest (and most accurate) function by using the clip Tdeint outputs to do this:
Quote:
Originally Posted by TFM v1.0.4 - HELP FILE (01/17/2008)
When using PP > 1 this parameter may be used to specify a clip to take deinterlaced frames from instead of using one of TFM's inbuilt deinterlacing methods. If PP < 5 then frames will be taken as is from clip2, if PP >= 5 (i.e. using motion adaptation) then TFM will build the mask as usual and only pixels in moving areas will be taken from the frames in clip2
__________________
AnimeIVTC() - v2.00
-http://boinc.berkeley.edu/-
Let all geeks use their incredibly powerful comps for the greater good (no, no, it won't slow your filtering/encoding :p)
thetoof 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:13.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.