Hi guys, sorry for the late reply. First, thank you for giving me your opinions/suggestions/comments.
@
ovg64:
Thanks for the suggestion(s), and I followed your advice, but had to lower my average bitrate to 2000, and minimum bitrate to 150 (thankfully my DVD player is able to play it). I kept the resolution at 544x576, with a CQ of 54. The quality was... so so
I'll tell you the reason for such low values in a second
@
dazed&confused :
You wouldn't believe how many comments that I have read of yours on this forum, they are extremely helpful. The day I posted this topic, I was in sort of a hurry, so I didn't get time to give details on my script, and other settings, such as audio - sorry about that. I'll do a better 're-post' below, stating my full problem.
@
labomba:
Well, technically I should have been able to get the same, or approximately the same CQ as you. But, I'll stop babbling on, and get on with a more detailed post
-----------------------------------------------
First of all, my AVISynth 2.52 script is as follows:
Code:
## DLL Section ##
#
LoadPlugin("D:\AVISynth\MPEG2Dec.dll")
LoadPlugin("D:\AVISynth\STMedianFilter.dll")
LoadPlugin("D:\AVISynth\Asharp.dll")
LoadPlugin("D:\AVISynth\Plugins\Unfilter.dll")
LoadPlugin("D:\AVISynth\Undot.dll")
LoadPlugin("D:\AVISynth\Decomb.dll")
LoadPlugin("D:\AVISynth\Convolution3DYV12.dll")
LoadPlugin("D:\AVISynth\Sampler-2.5.dll")
LoadPlugin("D:\AVISynth\TemporalCleaner.dll")
#
####
## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####
## Main section and static filters ###
#
AVISource("D:\Capture.avi")
AssumeFPS(24.991)
FieldDeinterlace()
TemporalCleaner()
ConvertToYV12()
Convolution3D(preset="VHSBQ")
#
undot()
Limiter()
asharp(1, 4)
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.1))
BicubicResize(544,576)
#
#
## 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<=544) ? 4 : (Width<=576) ? 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) ")
#
#
#
LetterBox( 16, 16 ) # Depends on situation. Use MovieStacker!
Limiter()
#
#
## Functions ###
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
#
####
#Sampler(length=24)
## MPEG size = ((Total frames/MovieTimeInMinutes)/24) * MPEG sample file size * .98 ##
As you can see, since I'm a major newbie at KVCD conversions (and AVISynth), I used the current optimal script recommended by Kwag, and modified it a bit. I'm not even sure if I modified it right and/or chose to use the right script
Anyway, the reason why I did not use GripCrop/GripBorders, is because my source is actually captured from the television (30gig file - PICVideo MJPEG codec). It's a nice clean capture @ 544x576, with some noise, that's why I chose to use the above script, and add in: Convolution3D("VHSBQ") and TemporalCleaner(). The reason for removing GripCrop/Borders, was because when I tried to encode it with TMPG, it added major borders, and I mean major
on each side of the video - this decreased the initial width by quite a bit, and replaced it with black borders. I found out the reason why it was happening - the line AssumeFPS(24.991) caused it to happen, for some reason GripCrop/Borders add huge bars on the side when I change the source's FPS to this. My reason for changing the FPS, is due to re-syncing the audio & video properly, then I encode it back to 25FPS with TMPG (then it syncs fine). Therefore, I used the BicubicResize function instead, with letterboxing enabled.
Before my first attempt at encoding, I did a sample (with Sampler.dll), and it came out to be 19.1MB @ 544x576, MPEG-1, Max: 2500, Min: 300, CQ: 60. My target for an 80min CD-R would have to be about ~12MB per sample. But unfortunately, my captured AVI does not seem to compress very well (even after lowering bitrates and CQ), or am I doing something terribly wrong here?
Before I forget, my audio was encoded in HeadAC3e @ 112kbps stereo.
Any further suggestions on the script I'm using, and your suggestions on what
you would do in my current situation, etc would be helpful
Because I'm planning on staying with KVCD, it's definitely the greatest thing since sliced bread :P Thanks again guys.
Cng
PS - Movie details: 132934 frames, ~89 minutes, 4:3 - PAL. I want to fit this onto 1 CD-R, preferably 80 minutes, but a 90 minute CD-R is fine.