This is the first time I have this problem. I have a source on 23,976 I encode to KVCD at the same FPS, now for some weird reason the video lenght changes from 85min 43 secs to 86min 14secs, so the audio goes out of sync. I tried to expand the audio using Sound Forge but the audio goes out of sync in some place or another when I do this. When I load the mpeg file into Vdub mod the video lenght says 86min 19secs
Any Idea? I`m encodign to mpeg1. using KVCD3 template at 480x480 heres my script
Code:
## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####
## Main section and static filters ###
#
AviSource("D:\Movies-videos\temp\Evil.avi")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(352, 480, overscan=2)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.1))
#
#
## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to
# very static scenes, and apply variable blur on moving scenes.
# We also assign a variable - and this is why a line break is inserted:
SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \
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) ")
#
#
#
GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
TextSub("D:\Movies-videos\temp\evilsub.ssa")
##AssumeFPS(23.976)
Limiter()
##Sampler(length=24)
#
#
## Functions ###
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
#
####