digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KDVD script modified for personal use? (http://www.digitalfaq.com/archives/encode/7826-kdvd-script-modified.html)

The Untouchable 01-21-2004 11:25 AM

KDVD script modified for personal use?
 
8) Here's Kwags script with afew of my own tweaks, What do u guys think ?
Is everything in order or do I need to ajust a line here or there ? 8)

## DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\VSfilter.dll")
LoadPlugin("C:\Filters25\TomsMoComp.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter25.dll")
LoadPlugin("C:\Filters25\undot.dll")
#
####
## Main section and static filters ###
#
Mpeg2Source("Your_D2V_Source_Here")
VobSub("Your_Subtitle_Source_Here")
#
TomsMoComp(1, 15, 1)
undot()
Limiter()
asharp(1, 4)
GripCrop(Your_GripCrop_Parameters_Here)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#

## 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) ")

#
#
#

GripBorders()
LetterBox(16, 16, 16, 16) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

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

#
####

Dialhot 01-21-2004 11:36 AM

Re: Kwags script modified for personal use,Is it right or wr
 
Quote:

Originally Posted by The Untouchable
Mpeg2Source("Your_D2V_Source_Here")
VobSub("Your_Subtitle_Source_Here")

Never put the subtitles there or they will be blurred by the filters that follow.
The subtitles must be the last line after (or before, depends on you own taste) the borders.

Quote:

TomsMoComp(1, 15, 1)
There are better way to deinterlace but again all is matter or taste.

Quote:

undot()
Limiter()
Either do not use "limiter" or use it in the top of all other filters and in the last lien fo the script. But a 'limiter' in the middle of the scripts is a nonsense.
EDIT: I just saw that this error is in the original script ! That is one more argument to say that this usage of limiter is completly crazy. The idea that is behind "put a limiter in top and end of the scripts" don't have any reality.

The Untouchable 01-21-2004 11:42 AM

The Limiter part is as kwag put it, I never changed it lol

The Untouchable 01-21-2004 11:49 AM

Shit I am probably annoying the shit outta u, but This will be the last time I bother u today ... 1 more question ... The script I posted ...
Can u repost it here for me exactly how I had it EXCEPT change the line & orders of filters as u see will work the fastest for me with tmpg & avisynth 2.5.4

Dialhot 01-21-2004 11:58 AM

Code:

LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\VSfilter.dll")
LoadPlugin("C:\Filters25\TomsMoComp.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter25.dll")
LoadPlugin("C:\Filters25\undot.dll")

Note : put all the plugins in the "plugin" directory of avisynth insteed of "Filters25" and remove all these loadplugin lines. You scripts will be far more readable !

Code:

Mpeg2Source("Your_D2V_Source_Here")

TomsMoComp(1, 15, 1)
undot()
asharp(1, 4)
GripCrop(Your_GripCrop_Parameters_Here)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))

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) ")

VobSub("Your_Subtitle_Source_Here")
GripBorders()
LetterBox(16, 16, 16, 16)

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


The Untouchable 01-21-2004 12:10 PM

Thanks again Dialhot !! 8)


All times are GMT -5. The time now is 04:11 AM  —  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.