logo Sign In

Post #487187

Author
ibleedspeed
Parent topic
dgindex>gordian knot>.avs file= wrong aspect ratio?
Link to post in topic
https://originaltrilogy.com/post/id/487187/action/topic#487187
Date created
31-Mar-2011, 3:41 AM

well first thanks for all the help from everyone. i have gotten to the point of making an avs script to use in virtual dub and output my source to lagarith avi lossless. i am having a problem with the aspect ratio. after output the avi is 3:2  the first step dgindex  shows the status box as it is making the d2v file it says 16:9. then i put it into gordian knot to make the avs file. i see no aspect ratio settings in gk. i open up the avs script in notepad and i see no aspect ratio setting. only crop and resize i tried messing with those and nothing changed. i tried the avs script in tmpgenc and vdub=same results. what am i missing here? why does it output a 3:2 ratio when the source is 16:9?  here i will post the avs script. everything else seems ok the deinterlace is working bringing it to 23.976 progressive where i need it.

# Created with Gordian Knot
#
# http://gknot.doom9.org

#  PLUGINS
LoadPlugin("C:\PROGRA~2\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~2\GORDIA~1\AviSynthPlugins\decomb.dll")
#LoadPlugin("C:\PROGRA~2\GORDIA~1\AviSynthPlugins\KernelDeInt.dll")
LoadPlugin("C:\PROGRA~2\GORDIA~1\AviSynthPlugins\UnDot.dll")
#LoadPlugin("C:\PROGRA~2\GORDIA~1\AviSynthPlugins\dgbob.dll")
#LoadPlugin("C:\PROGRA~2\GORDIA~1\AviSynthPlugins\Convolution3d.dll")
#LoadPlugin("C:\PROGRA~2\GORDIA~1\AviSynthPlugins\FluxSmooth.dll")
#LoadPlugin("C:\PROGRA~2\GORDIA~1\AviSynthPlugins\TomsMoComp.dll")
#LoadPlugin("C:\PROGRA~2\GORDIA~1\AviSynthPlugins\VSFilter.dll")
#LoadPlugin("C:\PROGRA~2\GORDIA~1\AviSynthPlugins\SimpleResize.dll")

#  SOURCE 1\VTS_02_1.d2v")

#  TRIM
#trim(startframe,endframe)

#  IVTC
#Telecide(order=1,guide=1).Decimate()
#  or use
#IVTC(44,11,95)
#GreedyHMA(1,0,4,0,0,0,0,0)

#  DEINTERLACING (1)
FieldDeinterlace()
#FieldDeinterlace(blend=false)
#TomsMoComp(1,5,1)

#  DEINTERLACING (2)
#KernelDeInt(order=1,sharp=true)
#  or maybe
#DGBob(order=1,mode=0)

#  DEINTERLACING (3) - special requests
#GreedyHMA(1,0,0,0,0,0,0,0)
#Telecide()
#SeparateFields()

#  CROPPING
#crop(0,0,720,480)

#  SUBTITLES
#VobSub("FileName")

#  RESIZING
#LanczosResize(704,386)

#  DENOISING: choose one combination (or none)
Undot()

#  1) little noise
#Temporalsoften(2,3,3,mode=2,scenechange=6)
#mergechroma(blur(1.3))
#FluxSmoothST(5,7)

#  2) medium noise
#Temporalsoften(3,5,5,mode=2,scenechange=10)
#Convolution3d("moviehq")
#FluxSmoothST(7,7)

#  3) heavy noise
#Temporalsoften(4,8,8,mode=2,scenechange=10)
#Convolution3d("movielq")
#FluxSmoothST(10,15)

#  BORDERS
#AddBorders(left,top,right,bottom)

#  COMPRESSIBILITY CHECK
#  !!!!Snip Size now has to be 14 for use in GKnot!
#SelectRangeEvery(280,14)

#  FOOL CCEnc
#empty = BlankClip()
#AudioDub(last,empty)