Log in

View Full Version : Using Overrides After Output


poncho765
24th May 2008, 18:06
Hi everyone, I'm currently trying to convert some tv-shows I've captured to progressive XviD files. All the source clips are stock-standard telecined material. After using TFM and TDecimate to IVTC and restore the video to its original 24 FPS glory, my script usually matches about 10 interlaced frames.

Now, the problem is I can't seem to get the overrides to work.

For example:
Frame 627 (After TDecimate) is interlaced. So, I make my override file to de-interlace this frame (PP=6):

Override File
field = top
627 P 6

I load the override file into my script:

LoadPlugin("dgdecode.dll")
LoadPlugin("TIVTC.dll")
mpeg2source("d2v")
TFM(order=1,ovr="overridefile.txt")
TDecimate()
Crop(14,10,-14,-8)
LanczosResize(608,448)


But when I open my script (with the override file added) in Virtualdubmod and I scroll to frame 627, it's still interlaced.

Can someone please explain why overrides are not working? I've read the readme's 1001 times and I just can't make sense of it.


Any help is greatly appreciated!

Leak
24th May 2008, 21:27
Frame 627 (After TDecimate) is interlaced. So, I make my override file to de-interlace this frame (PP=6):

Override File
field = top
627 P 6
Since you're loading the override file in TFM you'll have to use the original frame number for the frame, not the one after TDecimate.

Turn on TDecimate's info display and it should display which source frame your frame really is...

np: Aesop Rock - [Not For Public Consumption] (Daylight EP)

thetoof
24th May 2008, 22:51
When you're dealing with hard telecine, you don't necessarily have to do all this... a simple tfm(clip2=tdeint(2,edeint=nnedi(-2),emask=tmm(1)),slow=2) often does the job.

poncho765
25th May 2008, 16:09
Even after using the 'display' function in Tdecimate and finding the 'in frame', the override still doesn't work. I think it may have something to do with my settings. Would there be any functions that would conflict with the override function?

foxyshadis
26th May 2008, 00:56
When you're dealing with hard telecine, you don't necessarily have to do all this... a simple tfm(clip2=tdeint(2,edeint=nnedi(-2),emask=tmm(1)),slow=2) often does the job.

That's also a great way to double or triple your encode time.

poncho, try commenting out the tdecimate line first, and if necessary, use tfm's map parameter to be sure interpolation is being used in the right areas. You might have to turn the thresholds down.