Log in

View Full Version : TFM doesn't work between two scenes


Aprel
28th December 2007, 21:35
Hi. Has anyone ever seen the same problems?
I'm trying to clean up a video and stuck with the frames those are between two different scenes. The following script plus some manual fixes gives almost perfect result in all other places, but three specific places connecting different scenes in the video are still bad. I've tried everything I could think of and completely stuck.

Here's my script:

ColorMatrix(hints=true,interlaced=true)
TFM(order=1,mode=6,PP=2,field=1,slow=2,cthresh=5,hint=true,display=true,ovr="c:\rip\ovr_file.txt")
TDecimate(mode=1,hint=true)

Result:

http://img172.imageshack.us/img172/7417/04dy5.th.jpg (http://img172.imageshack.us/my.php?image=04dy5.jpg) http://img247.imageshack.us/img247/2078/00cp1.th.jpg (http://img247.imageshack.us/my.php?image=00cp1.jpg) http://img241.imageshack.us/img241/8224/01nb6.th.jpg (http://img241.imageshack.us/my.php?image=01nb6.jpg) http://img170.imageshack.us/img170/5967/02wj2.th.jpg (http://img170.imageshack.us/my.php?image=02wj2.jpg) http://img165.imageshack.us/img165/3142/03hi9.th.jpg (http://img165.imageshack.us/my.php?image=03hi9.jpg)

I've tried to change mode and PP for my bad frames but for no good. Any ideas what's the source of this problem?

mahsah
28th December 2007, 23:59
I was having some problems with that also, you might want to try something like:


edeintted = AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
tdeintted = TDeint(edeint=edeintted,order=1)
tfm(order=1,clip2=tdeintted).tdecimate(mode=1,hybrid=1)


Adjust for field order and such.

Also your source could use some derainbowing.

Aprel
29th December 2007, 01:17
Thanks for the answer. Such adjustments too tried, they cannot help with this place, and in other places cause mistakes even more.

Also your source could use some derainbowing.

Yes I know simply while I wish to understand with it.

Aprel
29th December 2007, 01:33
Here are filled vob file whom if not laziness and look at them: Click (http://w14.easy-share.com/13473021.html)

foxyshadis
29th December 2007, 11:36
Not TFM's fault, that's part of the DVD itself. Someone broke the telecine transfer and ended up with a single field repeated six times instead of a frame repeated three times. You'll have to manually fix that by patching in nnedi for those frames, or just using freezeframe from the good frame before it.

Aprel
29th December 2007, 12:53
TO: foxyshadis

Thanks a lot, I've got the proper results with freezeframe.

foxyshadis
29th December 2007, 20:22
Responding to PM: If you want to patch a filter into only a few frames, you can use JDL_ApplyRange or JDL_ApplyFrame (http://avisynth.org/stickboy/jdl-range.avsi), for starters. There's also normal ApplyRange or ConditionalReader, but they're pretty suboptimal unless you need a whole override file.

Comatose
30th December 2007, 19:41
RemapFrames.dll's ReplaceFramesSimple is more convenient, imo. It's also stickyboy's.