Log in

View Full Version : script for spiderman pal dvd


OBcecado
13th January 2003, 00:00
Hi, I'm having problems encoding samples of the dvd. Could anyone help me?
I'm using gknot 0.27, vdub mod, koepi's build 3/1/03 , mpeg2dec3.dll 0.94 , avisynth 3/1/03. I think my problem is when I try to deinterlace the vob I chose field deinterlace, but the image seems interlaced :confused:

avs here :
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\IVTC.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\Avisynth_Spatial.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\GreedyHMA.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\TomsMoComp.dll")
#LoadPlugin("C:\WINDOWS\System32\vobsub.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\SimpleResize.dll")
#loadplugin("C:\progra~\gordia~1\Convolution3DYV12.dll")
#
# SOURCE
mpeg2source("D:\SPIDERMAN\spidertest.d2v")
#
# TRIM
#trim(startframe,endframe)
#
# IVTC
#Telecide().Decimate(5)
# or use
#IVTC(44,11,95)
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# DEINTERLACING (1)
#FieldDeinterlace()
#TomsMoComp(1,5,1)
#
# CROPPING
#crop(7,0,708,574)
#
# DEINTERLACING (2)
#SeparateFields().SelectEven()
# or maybe
#GreedyHMA(1,0,0,0,0,0,0,0)
#
#
# SUBTITLES
#VobSub("FileName")
#
# RESIZING
BicubicResize(576,320,0,0.75)
#
# DENOISING
#Convolution3d (preset="movieHQ")
#
# BORDERS
#AddBorders(left,top,right,bottom)
#
# COMPRESSIBILITY CHECK
# !!!!Snip Size now has to be 14 for use in GKnot!
#SelectRangeEvery(280,14)
#
# FOOL CCEnc
#ResampleAudio(44100)


Already thankful.

Fenris
13th January 2003, 01:04
Based on the avs settings you posted deinterlace isn't being used at all. It also looks like your crop settings are being ignored. Try the following.

LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
mpeg2source("D:\SPIDERMAN\spidertest.d2v")
FieldDeinterlace()
crop(7,0,708,574)
BicubicResize(576,320,0,0.75)

That's the corrected script minus all of the unused lines. Just remember avisynth does not process lines starting with a #.

manono
13th January 2003, 10:18
Hi-

It's pretty hard for me to believe that the PAL version of a major film such as Spiderman is truly interlaced. My guess is that it only has the shifted fields (although maybe someone that has worked with it can confirm or refute this). You might try this:

LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
mpeg2source("D:\SPIDERMAN\spidertest.d2v")
Telecide(Guide=2)
crop(7,0,708,574)
BicubicResize(576,320,0,0.75)

And I'd suggest making all your crop numbers even. I'd suggest using the SwapFields() instead of Telecide, but according to the
Docs (http://www.avisynth.org/index.php?page=FiltersByCategory) it doesn't work in YV12. Going back to DVD2AVI and setting it to Swap Field Order might fix it also.

AlphaDivxMovies
13th January 2003, 14:34
If you have the same DVD as me you can do the folowing:

1) This film is not interlaced! 98% of Pal DVDs are not interlaced.

2) Sometimes the extras come with no extra treatment so they are sometimes NSTC or full of interlace artifacts (i never encode them).
If they are Fieldeinterlace() will do fine

3) Use Crop settings and resolution settings compatable with your avisynth version.

4) Avoid Gknot to do the calculations for you in case of yv12 work.

5) Deinterlacing non-interlaced material is dumb, since it destroys the original image to some point.DVD2avi lies when it says interlaced, use your eyes and scroll thru the video in search of such artifacts they are quite visible

6) Clean up your avs file.

Evil Andy
13th January 2003, 16:53
I agree with Alpha, the Spiderman PAL edition DVD is NOT interlaced.

The last 5 PAL DVDs I've encoded were all progressive even though DVD2AVI reported them as interlaced. I don't know how good it is at spotting interlaced NTSC sources but for PAL it sucks.

OBcecado
13th January 2003, 19:00
I'll do what you've told me to in the forum, will post the results soon.

OBcecado
13th January 2003, 20:09
Problems with avisynth are resolved.

Thanks for all your help :)