Having a problem, with the steps outlined, i'm sure i'm doing something wrong.
The source is a 16:9, NTSC Interlaced dvd, with Top Frame field order
Ripped the DVD onto my HD easily enough, then made the .d2v project file with DGIndex 1.4.9
Calculated a CQ value of 90 and got the avg bitrate i wanted from Calcumatic
Problem: When I try to encode it though using TMPGEnc, it says the movie is only 240 frames.
This is the script I'm using, part from the optimal scripts and the guide for interlaced sources made by Boulder.
## DLL Section ##
#
LoadPlugin("C:\KVCD\MPEG2Dec3.dll")
LoadPlugin("C:\KVCD\asharp.dll")
LoadPlugin("C:\KVCD\UnDot.dll")
LoadPlugin("C:\KVCD\Unfilter.dll")
LoadPlugin("C:\KVCD\STMedianFilter.dll")
LoadPlugin("C:\KVCD\MPEG2Dec3.dll")
#
####
## Main section and static filters ###
#
Mpeg2Source("C:\Felafel\felafel.d2v")
KernelBob(order=1,sharp=true,threshold=7)
AssumeFrameBased()
#
BicubicResize(720,360,1/3,1/3,0,0,720,480)
AddBorders(0,56,0,64)
AssumeBFF()
undot()
asharp(1, 4)
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
SeparateFields()
Weave()
SelectEvery(4,1,2)
#
#
## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.
ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")
#
## Functions ###
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
#
####
I have an inkling that the problem is the .d2v file, but I'm not really sure how I could have screwed that up. Help?
|