Quantcast Avisynth: Trouble with MA-Script in PAL? - digitalFAQ.com Forums [Archives]
  #1  
07-17-2003, 08:06 AM
Avalon Avalon is offline
Free Member
 
Join Date: Jul 2003
Location: Venus
Posts: 187
Thanks: 0
Thanked 0 Times in 0 Posts
The MA-Part won´t work with PAL!!!! NEED HELP!!!

No fuction named 'chr' in line 41...

Source is a 16:9 PAL DVD-VOB:

Code:
 ## DLL Section ##
#
LoadPlugin("C:\Filters25\mpeg2dec3_25_dll_20030119\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\stmedianfilter_25_dll_20030122\Avisynth_2.5a_Version\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp_25_dll_20030118\asharp.dll")
LoadPlugin("C:\Filters25\unfilter_25_dll_20030116\UnFilter_Avisynth_2.5_Alpha\UnFilter.dll")
LoadPlugin("C:\Filters25\undot_25_dll_20030118\UnDot.dll")
#
####

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

## Main section and static filters ###
#
Mpeg2Source("E:\dcd\test25\25dvd2avi.d2v")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(352, 288, overscan=1)
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<=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) ")

#
#
#

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

#
#
## Functions ###


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

#
####
But i can open this script with 2.0.8.0...

Code:
#======================================================#
# -= AviSynth script by MovieStacker v2.0.0 (beta3) =- #
#======================================================#

LoadPlugin("C:\Programme\MovieStacker\Filters\MPEG2Dec.dll")
LoadPlugin("C:\Programme\MovieStacker\Filters\STMedianFilter.dll")
LoadPlugin("C:\Programme\MovieStacker\Filters\GripFit_preview.dll")
LoadPlugin("C:\Programme\MovieStacker\Filters\BlockBuster.dll")
LoadPlugin("C:\Programme\MovieStacker\Filters\UnFilter.dll")
LoadPlugin("C:\Programme\MovieStacker\Filters\LegalClip.dll")

Mpeg2Source("E:\dcd\test25\25dvd2avi.d2v")
LegalClip()
GripCrop(352, 288)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0, 8, 32)
UnFilter(50, 50)
TemporalSmoother(1, 1)
MergeChroma(blur(1.5))
MergeLuma(blur(0.2))
BlockBuster(method="noise", detail_max=7, seed=1)
GripBorders()
LegalClip()
What is wrong?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
07-17-2003, 08:48 AM
Avalon Avalon is offline
Free Member
 
Join Date: Jul 2003
Location: Venus
Posts: 187
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
## DLL Section ##
#
LoadPlugin("C:\Filters25\mpeg2dec3_25_dll_20030119 \MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12\GripFit_YV12 .dll")
LoadPlugin("C:\Filters25\stmedianfilter_25_dll_200 30122\Avisynth_2.5a_Version\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp_25_dll_20030118\as harp.dll")
LoadPlugin("C:\Filters25\unfilter_25_dll_20030116\ UnFilter_Avisynth_2.5_Alpha\UnFilter.dll")
LoadPlugin("C:\Filters25\undot_25_dll_20030118\UnD ot.dll")
#
####

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

## Main section and static filters ###
#
Mpeg2Source("E:\dcd\test25\25dvd2avi.d2v")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(352, 288, overscan=1)
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<=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) ")

#
#
#

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

#
#
## Functions ###

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

#
####
So the MA-part is gone!!!! Need Help for PAL!!!!
Reply With Quote
  #3  
07-17-2003, 09:35 AM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
That's wierd! I haven't had any problems with encoding PAL movies. Let's hope someone else can help you.
__________________
AudioSlave
Reply With Quote
  #4  
07-17-2003, 09:47 AM
Avalon Avalon is offline
Free Member
 
Join Date: Jul 2003
Location: Venus
Posts: 187
Thanks: 0
Thanked 0 Times in 0 Posts
This won´t work...

Quote:
## 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<=52 ? 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) ")

## older version, replaced by above 06.28.03
# ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? \
# unfilter( -(fmin(round((nf/0.5)), 100)), -(fmin(round((nf/0.5)), 100)) ) : \
# TemporalSoften(4, round(2.5/nf)*3 , round(2.5/nf)*3 , 15, 2) ")
Post one of Your last script and I try it!!!!
Reply With Quote
  #5  
07-17-2003, 09:52 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
The problem is not related to PAL or NTSC, you have a problem in the syntax of the script !

chr is an internal function of avisynth so it's strange it answers you it doesn't know it.

I used this script everyday in PAL and it's ok.

Do you have avs2.52 ?
Reply With Quote
  #6  
07-17-2003, 09:58 AM
Avalon Avalon is offline
Free Member
 
Join Date: Jul 2003
Location: Venus
Posts: 187
Thanks: 0
Thanked 0 Times in 0 Posts
Thats the error message of VD:



kwag can U help me, or somebody else?

Code:
 ## DLL Section ##
#
LoadPlugin("C:\Filters25\mpeg2dec3_25_dll_20030119\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\stmedianfilter_25_dll_20030122\Avisynth_2.5a_Version\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp_25_dll_20030118\asharp.dll")
LoadPlugin("C:\Filters25\unfilter_25_dll_20030116\UnFilter_Avisynth_2.5_Alpha\UnFilter.dll")
LoadPlugin("C:\Filters25\undot_25_dll_20030118\UnDot.dll")
LoadPlugin("C:\Filters25\decomb_25_dll_20030327\decomb406b7\Decomb.dll")
#
####

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

## Main section and static filters ###
#
Mpeg2Source("E:\dcd\test25\2.d2v")
#
FieldDeinterlace() 
undot()
Limiter()
asharp(1, 4)
GripCrop(528, 576, overscan=1)
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<=528) ? 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) ")

## older version, replaced by above 06.28.03
        ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? \
          unfilter( -(fmin(round((nf/0.5)), 100)), -(fmin(round((nf/0.5)), 100)) ) : \
    TemporalSoften(4, round(2.5/nf)*3 , round(2.5/nf)*3 , 15, 2) ")

#ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2 ? \
#unfilter( -(fmin(round((nf/0.5)), 100)), -(fmin(round((nf/0.5)), 100)) ) : \
#TemporalSoften(4, round(1/nf) , round(3/nf) ,0, 2) ")


#
#
#

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

#
#
## Functions ###

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

#
####
Reply With Quote
  #7  
07-17-2003, 10:09 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
What do you think we are trying to do ?

Answer to my question : DO YOU HAVE AVS 2.52

By the way (it"s not the cause of your problem but) you modified the script in a bad way. You should have :

SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
Reply With Quote
  #8  
07-17-2003, 10:17 AM
Avalon Avalon is offline
Free Member
 
Join Date: Jul 2003
Location: Venus
Posts: 187
Thanks: 0
Thanked 0 Times in 0 Posts
YES I´ve 2.52!!!!! and I didn´t regonize your first post... sorry



Code:
 ## DLL Section ##
#
LoadPlugin("C:\Filters25\mpeg2dec3_25_dll_20030119\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\stmedianfilter_25_dll_20030122\Avisynth_2.5a_Version\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp_25_dll_20030118\asharp.dll")
LoadPlugin("C:\Filters25\unfilter_25_dll_20030116\UnFilter_Avisynth_2.5_Alpha\UnFilter.dll")
LoadPlugin("C:\Filters25\undot_25_dll_20030118\UnDot.dll")
LoadPlugin("C:\Filters25\decomb_25_dll_20030327\decomb406b7\Decomb.dll")
#
####

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

## Main section and static filters ###
#
Mpeg2Source("E:\dcd\test25\2.d2v")
#
FieldDeinterlace() 
undot()
Limiter()
asharp(1, 4)
GripCrop(528, 576, overscan=1)
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<=576) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= 2 ? \
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!
Limiter()

#
#
## Functions ###

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

#
####
Same error
Reply With Quote
  #9  
07-17-2003, 10:24 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Does TMPGEnc gives the same error if you open the script with it ?
Reply With Quote
  #10  
07-17-2003, 10:25 AM
Krassi Krassi is offline
Free Member
 
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
Seems to be an old Avisynth Version. Can you please make a text file with the following entry:
Code:
Version()
Open this avs-file in wmp and let us know the outpout .
Reply With Quote
  #11  
07-17-2003, 10:29 AM
Avalon Avalon is offline
Free Member
 
Join Date: Jul 2003
Location: Venus
Posts: 187
Thanks: 0
Thanked 0 Times in 0 Posts
Now it works!!! I reinstall AVISYNTH 2.5 and with this it works:

Code:
 ## DLL Section ##
#
LoadPlugin("C:\Filters25\mpeg2dec3_25_dll_20030119\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\stmedianfilter_25_dll_20030122\Avisynth_2.5a_Version\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp_25_dll_20030118\asharp.dll")
LoadPlugin("C:\Filters25\unfilter_25_dll_20030116\UnFilter_Avisynth_2.5_Alpha\UnFilter.dll")
LoadPlugin("C:\Filters25\undot_25_dll_20030118\UnDot.dll")
LoadPlugin("C:\Filters25\decomb_25_dll_20030327\decomb406b7\Decomb.dll")
#
####

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

## Main section and static filters ###
#
Mpeg2Source("E:\dcd\test25\2.d2v")
#
FieldDeinterlace() 
undot()
Limiter()
asharp(1, 4)
GripCrop(528, 576, overscan=1)
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<=576) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= 2 ? \
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!
Limiter()

#
#
## Functions ###

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

#
####
BTW AviSynth 2.52, build: Jun 1 2003 [23:05:51]

It seems AviSynthSwitcher 0.1 by akabob created all this, because if i switch it will bie AviSynth 2.5.0
Reply With Quote
  #12  
07-17-2003, 10:42 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
That should have be my next questrion : how do you switch from 2.08 to 2.52 )

Note : i edited my post where I suggest you to change the value of the formula giving SwitchThreshold because I did error in it the first time. Check again. You shouldhave :

SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
Reply With Quote
  #13  
07-17-2003, 03:26 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
excuse me all...

Avalon and all,

download the new 17 july avisynth 252 here:

http://www.kvcd.net/forum/viewtopic.php?t=5009

Reply With Quote
  #14  
07-17-2003, 04:23 PM
Avalon Avalon is offline
Free Member
 
Join Date: Jul 2003
Location: Venus
Posts: 187
Thanks: 0
Thanked 0 Times in 0 Posts
The program is called Avisynthswitcher 0.01 by akabob and u can find it at www.avisynth.org.

But it seems it creates AviSynth 2.0.7 (of 2.08 ) and 2.5.0.0 (of 2.5.2.0)

Maybe in the next version is this fixed
Reply With Quote
  #15  
07-17-2003, 04:33 PM
Avalon Avalon is offline
Free Member
 
Join Date: Jul 2003
Location: Venus
Posts: 187
Thanks: 0
Thanked 0 Times in 0 Posts
My last Script for today:

Code:
######
###         AVISYNTH-Script (für Version 2.5.2) von Avalon 
###                 DCD 4.0
###         ScriptVersion 170703/2305/Normal
######
##
##          Es werden alle Filter geladen, aber nicht alle sind aktiviert. Um dies zu ändern
##          entfernt die # vor den jeweiligen Zeilen.
##
## DLL Sektion ##
#
LoadPlugin("C:\Filters25\mpeg2dec3_25_dll_20030119\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\stmedianfilter_25_dll_20030122\Avisynth_2.5a_Version\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp_25_dll_20030118\asharp.dll")
LoadPlugin("C:\Filters25\unfilter_25_dll_20030116\UnFilter_Avisynth_2.5_Alpha\UnFilter.dll")
LoadPlugin("C:\Filters25\undot_25_dll_20030118\UnDot.dll")
LoadPlugin("C:\Filters25\decomb_25_dll_20030327\decomb406b7\Decomb.dll")
LoadPlugin("C:\Filters25\msmooth_25_dll_20030124\msmooth200b1\Msmooth.dll")
LoadPlugin("C:\Filters25\dctfilter_25_dll_20030221\DctFilter.dll")
LoadPlugin("C:\Filters25\blockbuster_25_dll_20030204\blockbuster.dll")
LoadPlugin("C:\Filters25\convolution3dyv12_25_dll_20030329\Convolution3DYV12.dll")
LoadPlugin("C:\Filters25\temporalcleaner_25_dll\TemporalCleaner.dll")
LoadPlugin("C:\Filters25\dup220b1/Dup.dll")
LoadPlugin("C:\Filters25\atc_25_dll_20030118\atc.dll")
LoadPlugin("C:\Filters25\AddGrain\AddGrain.dll")
LoadPlugin("C:\Filters25\deen_25_dll_20030119\Deen.dll")
#
####
##
##
## Definierte Variablen und Konstanten ##
#
MaxTreshold = 1.50
nf =  0 # Current frame.
#
####
#
##### Haupt Sektion und statische Filter ###
#
Mpeg2Source("e:\dcd\test25\testfinal.d2v")
#
undot()
Limiter()
asharp(1, 4)
#
#
#####Bei GripCrop die gewünschte Auflösung angeben.###
#
#
GripCrop(352, 288)
#
#Erlaubt sind folgende Auflösungen für PAL:
#352x288 (VCD); 352x576 (1/2 DVD); 480x576 (SVCD); 528x576 (2/3 DVD half); 544x576 (2/3 DVD full); 704x576 (DVD)
#Für NTSC sind es dann:
#352x240 (VCD); 352x480 (1/2 DVD); 480x480 (SVCD); 528x480 (2/3 DVD half); 544x480 (2/3 DVD full); 704x480 (DVD)
#
#
#
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.1))
#
##### Optionale Filter ###

#Deinterlancer braucht man, wenn das Bild doppelt kommt.###
#Kommt meist von NTSC-Filmen###
#
FieldDeinterlace() 
#
#
#####TemporalCleaner glätten das Bild on the fly##
#
#TemporalCleaner (ythresh=5, cthresh=10)
#atc(3,6,9,0.5,false)
#
#
#####MSSmooth wird bei Animies empfohlen. Er entfernt das Rauschen###
#####bei den Köpfen z.B.##
#
#
#MSmooth(strength=1, highq=true, threshold=5)
#
#
#
#####Variablen strength kann man von 1-25 wählen; highq kann true oder false sein; threshold kann man##
#####von 0 - 255 einstellen;##
#
#
#DuPFilter kopiert nebeneinanderstehende gleiche Frames zu einem##
#Variablen: threshold von 0.0 - 100; chroma kann ture oder false sein; maxcopies von 1-20; blend##
#kann true oder false sein;
#
#
#Dup(threshold=5,copy=true,maxcopies=5,chroma=true)
#
#
#
#####Convolution3d fügt eine spezielle Matrix hinzu. Je nach Quelle kann man folgendes einstellen
#
#Convolution3d (preset="movieHQ") // Movie Hi Quality (gute DVD Quelle)
	#is an alias for Convolution3D (0, 3, 4, 3, 4, 2.8, 0) 
#Convolution3d (preset="movieLQ") // Movie Low Quality (verrauschte DVD Quelle)
	#is an alias for Convolution3D (0, 6, 10, 6, 8, 2.8, 0) 
#Convolution3d (preset="animeHQ") // Anime Hi Quality (gute DVD Quelle)
	#is an alias for Convolution3D (0, 6, 12, 6, 8, 2.8, 0) 
#Convolution3d (preset="animeLQ") // Anime Low Quality (verrauschte DVD Quelle)
	#is an alias for Convolution3D (1, 8, 16, 8, 8, 2.8, 0) 
#Convolution3d (preset="animeBQ") // Anime Bad Quality (???)
	#is an alias for Convolution3D (1, 12, 22, 8, 8, 2.8, 0) 
#Convolution3d (preset="vhsBQ") // VHS capture Bad Quality (???)
	#is an alias for Convolution3D (0, 32, 128, 16, 64, 10, 0) 
#
#
Convolution3D(preset="movieHQ")
#
#
#
####BlockBuster versucht die entstehenden Blöcke zu minimieren#

###Variante normal:##
#
#
BlockBuster(method="noise", detail_max=7, seed=1)
#
#
###Variante stark:##
#
#
#Blockbuster(method="noise", detail_min=15, detail_max=23, variance=1.3, seed=6)
#
#
####DCTFilter splittet Blöcke in noch kleinere###
#
#DctFilter(1,1,1,1,1,1,.5,0)
#
#deen("a3d",1,10,12)
#
####Extra Grain!!! Fügt Rauschen hinzu.##
AddGrain(6,0,0)
#
#
### 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 >= 2 ? \
#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!
Limiter()
#
#
#
##### Functions ###
#
function fmin( int f1, int f2) {
  return ( f1<f2 ) ? f1 : f2
}

#
########
I edit the Script
Reply With Quote
  #16  
07-17-2003, 04:36 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Much, much, much filters. TOO much !

atc + msmooth + temporalsoften = 3 temporal filters

convolution3d + deen("a3d") = 2 convolution filters

blockbuster(noise) + grain = 2 noizers

...


Note: and you still have an error in the formula of SwitchTreshold ! Look at the optimal script or look at my two other posts in the present thread.
Reply With Quote
  #17  
07-17-2003, 04:36 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
That should have be my next questrion : how do you switch from 2.08 to 2.52 )
Phil my friend.
Avisynthswitcher!
this was posted here a long time ago in the avisynth forum

use the "search"!
Reply With Quote
  #18  
07-17-2003, 04:57 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Jorel, my friend : I knew the answer

I just wanted to know if Avalon uses this crappy tool or switch by hand
(after all, all that the tool does is to copy avisynth.dll to c:\windows\system !)

The problem is, as Avalon just discovered here : the tool provides it's own versions of avisynth.dll so it has to be updated each time a new version of avs is produced
Reply With Quote
  #19  
07-17-2003, 05:52 PM
Avalon Avalon is offline
Free Member
 
Join Date: Jul 2003
Location: Venus
Posts: 187
Thanks: 0
Thanked 0 Times in 0 Posts
I`ll try again the optimal script...
Reply With Quote
  #20  
07-17-2003, 05:53 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Much, much, much filters. TOO much !
Yep, I agree too.
The basic rule is this: Use the minimum amount of filtering necessary to do the job. No more, no less.
I believe the current script already does that. A minimum of static filters to clean the source on every frame, followed by a dynamic temporal linear filter (TemporalSmoother) for slow action scenes and a dynamic blurring linear filter (unfilter) for fast action scenes. That's it Anything else will start to spoil the picture quality. However, that doesn't mean that the current filters are the filters required. The idea is to use the script as a basic framework, and plug in different filters. So if a new temporal filter comes out, it's a matter of substituting the current temporalsmoother. Same for the blurring. If something else (better) comes out, then we substitute unfilter

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
AviSynth trouble after reinstall? the viking Avisynth Scripting 2 11-04-2004 06:57 AM
VirtualDub: trouble when loading script.avs in VDub HC_Pensador Video Encoding and Conversion 8 05-26-2004 08:07 AM
KVCD: trouble getting the desired output from the script? Jimblob Video Encoding and Conversion 12 04-30-2004 05:44 PM
Avisynth: Trouble with GripCrop in the MA script! audioslave Avisynth Scripting 17 07-08-2003 11:19 AM
Avisynth: AC3 Trouble hedix Avisynth Scripting 19 04-02-2003 01:00 PM

Thread Tools



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