View Full Version : Deinterlacing advice .
Master Yoda
6th January 2004, 13:36
OK, im backing up a dvd , but the movie starts interlaced then changes progressive, so i thought i would deinterlace it ,normally i would just encode a interlaced film interlaced.(PAL).
But whats the best line to add into my script to deinterlace.... i.e. what will give the best picture with less ghosting...
http://www.avisynth.org/index.php?page=DeInterlacing i had a look here ... now i can use FieldDeinterlace() correct ?? but from a quick read on that page it says SeparateFields().SelectEven() will give less artifacts ??
Any adive please. oh i would like simply script, nothing to advanced. Thanks
Mug Funky
6th January 2004, 15:07
hmmm. does this movie start as pure interlaced, or field offset progressive (which both look pretty similar to us)
try telecide() on it and see if the output is cleaner, otherwise split the video into 2 chunks and treat the first. something like:
mpeg2source("whatever.d2v", cpu=6)
clip1 = trim(0,12000) # interlaced part
clip2 = trim(12001,0) # all the rest
unalignedsplice(clip1.deinterlacer(options:)),clip2)
of course change the frame numbers and filter names to your deinterlacer of choice, but you get the idea.
as far as the best deinterlacer? well, there are heaps. some prefer tomsmocomp, some prefer kerneldeint, and some like fielddeinterlace. the trick is finding a deinterlacer that doesn't touch anything but interlacing. otherwise you'll halve the resolution of the output.
i've written a script that works with tomsmocomp and some masking to only apply it to interlaced areas. it's not perfect yet, so i wont post it :)
Master Yoda
7th January 2004, 00:27
I was thinking, instead of slpiting the movie in two, what is i just run FieldDeinterlace() on the whole thing.I did two quick test, the first was about 2 mins of interlaced footage and it seemed film after, the second test started in the interlaced part of the movie and ended in the progressive part, and it did seem to affect the progressive part.
Im asking this as im not that great with avisynth scripts, more just very basic stuff, and just running a FieldDeinterlace() on the whole movie seems easyer.
Bogalvator
7th January 2004, 01:10
Try using
fielddeinterlace(full=false)
This will only deinterlace the interlaced frames, hence is faster and doesn't lose any detail on the progressive parts.
Mug Funky
7th January 2004, 12:32
hmm, that's okay, but of course it'll be faster if you do it in 2 parts. if you're just leaving it overnight then speed isn't really an issue, so do what you want so long as the quality stays the same :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.