digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: A Series Of Successes (http://www.digitalfaq.com/archives/encode/5132-kvcd-series-successes.html)

Steel 08-21-2003 04:13 PM

A Series Of Successes
 
i decided to try to make KVCD releases of my own, after seeing some other peoples. my first few were pretty good, they fit on one cd, but i didnt use MA so they were some what pixelated. then i rewrote my script to make it more optimal for DVD rips, and my new one has given me DVD quality on one CD for up to about 2 hours with a CQ of upto 90. thanx to kwag and everyone else for writing great scripts, and helping me when i had a problem


heres my script for anyone who wants to try it. like i said its great for DVD rips:

## DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter.dll")
LoadPlugin("C:\Filters25\undot.dll")
#
####

## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####

## Main section and static filters ###
#
Mpeg2Source("D2V File Here")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(480, 480, source_anamorphic = true, Dest_Anamorphic = false)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(1.58))
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()
Limiter()

#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

#
####

kwag 08-21-2003 05:30 PM

Sorry Steel, but 480x480 ( and our MA script, which is what you posted ) just doesn't cut "DVD Quality" on one CD :!: ;)

-kwag

Steel 08-21-2003 07:21 PM

heh... looks pretty good to me.... any suggestions of how i could make it better?

kwag 08-21-2003 09:03 PM

Quote:

Originally Posted by Steel
heh... looks pretty good to me.... any suggestions of how i could make it better?

Go for 528x480 :!:
It's higher resolution than 480x480, but still lower than 704x480, so you get closer to DVD quality but still using less required bitrate per pixel.
If your movie is wide screen, and less that ~2 hours, you'll have excelent results at that resolution with the MA script :)

-kwag


All times are GMT -5. The time now is 01:46 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.