digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Jerkiness? (http://www.digitalfaq.com/archives/avisynth/4358-avisynth-jerkiness.html)

bigggt 07-06-2003 12:35 PM

Avisynth: Jerkiness?
 
Hi,with the new script 2.52 I am now noticing a little jerkiness.It is an avi but have never had problems with my standalone(norcent 300) before(compatibility test plays perfect)I get the same effect as when i play a 23.976 film in my apex 1100w(which jitters unless 29.97 frame rate is used).I have only noticed the jerkiness since the new script.

The picture is outsatnding for an avi but whats up with the jittering.
Quote:

## 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 ###
#
AviSource("C:\Program Files\My Movie)
#
undot()
Limiter()
asharp(2, 4)
BicubicResize(496, 286, 1/3, 1/3, 0, 0, 720, 352)
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 ? \
unfilter( -(fmin(round((nf/0.5)), 100)), -(fmin(round((nf/0.5)), 100)) ) : \
TemporalSoften(4, round(1/nf) , round(3/nf) ,0, 2) ")

#
#
#

AddBorders(16, 97, 16, 97)
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

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

#
####
I just noticed that i left the gripfit dll line in ,this wouldn't be a problem would it?

any ideas

Thanx

vhelp 07-06-2003 05:12 PM

Hi bigggt...

Some questions:

* Is that a Movie.. "Deuce Bigalow" you captured ??

* was it shown in letterbox format ??

In any case, if it's a movie, then you forgot that it's Telecined. You should
inlcude the snip below:

Code:

Telecide(swap=false, post=true, guide=1)
 Decimate(cycle=5)

Note, those values/params are what I use, but may not be what you can
w/ success. You are more than welcomed to use and see for yourlself :)

:idea: Remember:
For sources of Film nature, you should set TMPG as such, after you applied
the above snip in your AVS script, and frameserved into TMPG:

* 23.976
* VideoTab: 3:2 pulldown
* AdvancedTab: non-interlaced

The above will show 29.970 when loaded in BV.EXE or vdubMOD

Hope that helped,
-vhelp


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

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