hey guys i'm trying out the latest script for avisynth 2.5 and i am trying to fit a 100 minute movie onto on cd.
The problem is, when i load the script into Tok and predict the CQ i get around 37, and when i look at the sample video the quality is extremely blocky and blurry.
compared to kwags 704x480-showoff.mpg mine is disgusting
here is my avisynth script and Tok log file:
## DLL Section ##
#
LoadPlugin("C:\Documents and Settings\Ben King\Desktop\kvcd encoding tools\filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Documents and Settings\Ben King\Desktop\kvcd encoding tools\filters25\GripFit_YV12.dll")
LoadPlugin("C:\Documents and Settings\Ben King\Desktop\kvcd encoding tools\filters25\STMedianFilter.dll")
LoadPlugin("C:\Documents and Settings\Ben King\Desktop\kvcd encoding tools\filters25\asharp.dll")
LoadPlugin("C:\Documents and Settings\Ben King\Desktop\kvcd encoding tools\filters25\undot.dll")
#
####
## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####
## Main section and static filters ###
#
Mpeg2Source("c:\movies\robin_hood.d2v")
#
undot()
Limiter()
asharp(2, 4)
GripCrop(528,576)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.2))
#
#
## 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:
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? asharp( -(fmin((nf/30), 1)), 0 ) : \
TemporalSoften(2,7,7,3,2) ")
#
#
#
GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()
#
#
## Functions ###
function fmin(float f1, float f2) {
return (f1<f2) ? f1 : f2
}
#
####
================================================== ===========
ToK Log: C:\Documents and Settings\Ben King\Desktop\kvcd encoding tools\robin_hood.avs
================================================== ===========
Resolution (fps):528x576 (25.000 fps)
Total Frames: 149831
Total Time : 01:39:53
-------------------------------------------------------------
Audio Size: 95,893,632
Required Video Size: 716,073,304
Factor: 60.000
Desired Sample Size: 11,934,556
-------------------------------------------------------------
New Faster Prediction
-------------------------------------------------------------
Full Sample
Next CQ: 70.000. Sample Size: 20,655,006
Small Sample
Next CQ: 70.000. Sample Size: 1,900,901
Predicting...
Next CQ: 40.446. Sample Size: 12,583,378
Next CQ: 29.568. Sample Size: 10,391,269
Next CQ: 36.117. Sample Size: 11,962,598
Exit Condition: 1.000 % reached ! yahoo !
Tries : 4
Final CQ: 36.117
Total Time For Predicition: 00:21:16
Total Time (all operations): 00:21:16
Finished
so any ideas as to why i am getting such poor quality??
thanks in advance!