Log in

View Full Version : Need Help with Interlaced PAL !


cooli
9th August 2003, 01:53
Hello !

can please any expert help me to find the best way
to deal with this video

http://www.futurvision.ch/test.vob (only 3Mb)

this is a PAL Interlaced one and i want to find the best
way to compress it to DiVx or Xvid without ghost effect
when something moves. I have tried several guides but without
any luck to have something good...

Thanks !

-Cooli-

hellgauss
9th August 2003, 10:41
You need these software:
decomb
mpeg2dec3 (http://ziquash.chez.tiscali.fr/)
dvd2avi
avisynth 2.5x
virtualdubmod
(lame and azid to process audio)
you can dl them in the dl section of doom9

I suggest you to use xvid codec, since it is better than divx even if a little bit difficult to configure.

open the vob with dvd2avi, and select in the menu dolby digital-- >demux all tracks. Select also video-->field operation-->none and video-->color space-->yuv
Then save the project. You will have a .d2v and two audio .ac3 files.

Then close dvd2avi and open the notepad and write this script ( [path] is the right path):

loadplugin("[path]\MPEG2Dec3.dll")
loadplugin("[path]\decomb.dll")
mpeg2source("[path]\myproject.d2v")
Telecide()
Decimate(mode=1,threshold=50)
#crop
#resize

if you are familiar with avisynth you can directly cut and resize the clip in the script.

Save this script as something.avs
Then open this script with virtualdubmod and compress it with your favorite codec and mux it with the audio. If youre not able to do this reply this message.

Bye
HG


PS thanks for your vob file, i need interlaced material to do tests, but i live in Italy and i have no interlaced DVD to do tests!

PPS sorry for my bad English :-)

oddyseus
9th August 2003, 12:55
Hello and welcome to the forum. I hope the excellent reply by hellgaus help u to solve your problem.

However to help us maintain a forum that will help its visitors I am going to ask u to edit your post's title to something more descriptive, since 'I need help' doesn't help a bit at describing the problem u r dealing with. Further more its a violation of forum rule n9.

Pls take the time to read the forum rules (http://forum.doom9.org/forum-rules.htm) once more and familiarize yourself with them. U will find them enormously helpful in your future visits int he board and they r going to protect u from a lot of troubles.

That said, enjoy your stay here.

cooli
9th August 2003, 14:50
big thanks for your help

there is the results i have with your method

LoadPlugin("MPEG2Dec3.dll")
LoadPlugin("Decomb.dll")
mpeg2source("test.d2v")
Telecide()
Decimate(mode=1,threshold=50)
Crop(14, 0, -14, 0).LanczosResize(512,426)

??? (is my resize right ) ???

http://www.futurvision.ch/xvid.avi

i think the movements are a little bit blurry ?
so i tried to remove the decimate line

#Decimate(mode=1,threshold=50)

http://www.futurvision.ch/xvidnd.avi

i thinks it's better but what is the difference technically ???

the codec was xvid with doom9 gknot guide settings...

Sorry for my newbies question and my bad english
(my italian is not better) :-)
and a big thanks to hellgauss for his help !!!

-Cooli-

hellgauss
9th August 2003, 18:38
Well... I don't know :)
This is the first time i see interlaced video.
I've found some information here:

http://www.doom9.it/decomb.htm
http://www.doom9.org/index.html?/decomb.htm

oddyseus
9th August 2003, 23:48
Thank u :)

killingspree
10th August 2003, 12:11
hi and also welcome to the forum

Originally posted by cooli

i think the movements are a little bit blurry ?
so i tried to remove the decimate line

#Decimate(mode=1,threshold=50)

i thinks it's better but what is the difference technically ???

as you are dealing with PAL video you won't need Decimate. this is only needed in very special cases, mostly old b&w movies, in PAL land. For NTSC you would need deciamte to 'retrieve' the original framerate of 23.97 to avoid having duplicated frames in your video.

anyway, i'd suggest that you also give Fielddeinterlace (part of the decomb package) a try, aswell as TomsMoComp. you can find this filter on www.avisynth.org.

btw: searching the forum can give you huge amounts of valuable information.

steVe
edit: typo in the URL

hakko504
11th August 2003, 15:42
Interlaced PAL should almost exclusively be treated with TomsMoComp, fielddeinterlace or another pure deinterlacer. Telecide(guide=2,post=false) can be used if you are certain that the original material is FILM based but poorly transfered to DVD

cooli
15th August 2003, 00:06
It's me again :-(

TomsMoComp(-1,5,1) or Telecide()
are giving good results but in the movie
when there is any scrolling vert. or hor.
the scrolling seem's to be unfluid !

With FieldDeinterlace() scrolling is fluid
but blurry :-( .

i have read all the guides on this site and searching
all over the forum...

Cooli

killingspree
16th August 2003, 11:58
have you tried fielddeinterlace(blend=false) ??

perhaps this can remove the blurieness at least partly

steVe

cooli
17th August 2003, 02:32
please can somebody try to compress this
clip into divx/xvid and tell me the settings
to use with

http://www.futurvision.ch/test2.vob ~26Mb

i have tried Telecide,TomsMoComp,FieldDeinterlace and a couple
of other ways to deal with this DVD but no one satisfies me in picture quality or animation.

is my video clip problematic or me ???

Cooli :-)

killingspree
17th August 2003, 12:33
i just downloaded it and gonna look at it today.

can you tell me if you want any special settings (max bitrate, bframes GMC etc) or if you want a special codec/build?

if not i'm going to do a divX 5.05 with bframes and low psy

but first i got to look at it a bit closer :)

steVe

edit: i just see: the vob i dl'ed only got around 4 megs? test2.vob that is... you stated it's about 26 megs ... hmm anyway, perhaps i can figure it out with the small piece anyway!

killingspree
17th August 2003, 14:17
ok
i've been playing with it for more than an hour now, but am not really getting ideal results...
anyway, since i do not see any sense in doing the encoding for you, here's the script:
personally i liked the results produced by seperatefields().selecteven() best, but decide on your own (i included all deinterlace lines i tried)

mpeg2source("test2.d2v")
crop(12,2,696,572)
separatefields().selecteven()
#Kerneldeint(order=1,sharp=true,threshold=20)
#fielddeinterlace(blend=false)
#tomsmocomp(1,10,1)
LanczosResize(512,416)
undot()


still there are some blending artifacts left, but i think by smoothing the video a bit you might make them a bit less visible.

hope this helps
steVe

cooli
17th August 2003, 23:39
I have tested all the methods you provided
and come to the same conclusion :

separatefields().selecteven()

gives the best animation and less interlacing artifacts...

i will encode that way.

just a little question :

how do you calculate the resize ???

Width / Height = X

512 / X = Height ????

i have read the tutorial but dont understand how to find
the right height to keep the original aspect...

Thanks again killingspree for wasting your time helping me,
i really apreciate !

Cooli (sorry for my bad english ...)

killingspree
18th August 2003, 00:25
Originally posted by cooli

how do you calculate the resize ???

honestly, i use gknot to do the cropping and resizing :)

Thanks again killingspree for wasting your time helping me,
i really apreciate !

hey... if i thought this was wasting my time i simply wouldn't do it ;)

anyway, it's great to hear people are apreciating my "work" :)

steVe

PS: you can properly articulate your problem in english so yours is far from being bad!
believe me i know how hard it is to learn this language :D