De-interlacing PAL videos

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
Archangel768
Joined: Sat Oct 11, 2008 7:20 am
Location: Australia
Org Profile

De-interlacing PAL videos

Post by Archangel768 » Sun Feb 15, 2009 4:53 am

Ok well i'm at the point of ripping my dvds where i have my .AVS script loaded into VIRTUAL DUB MOD.
I am finding that there is a lot of interlacing in the video (lots of horizontal lines)

This is my Script so far.

mpeg2source("D:\Gundam seed v1\VIDEO_TS\gundam seed volume 1 .d2v\Gundam1.d2v")
separatefields
LanczosResize(768,576)
Limitedsharpenfaster()
Toon()
converttoyv12(interlaced=true)
Deen("w3d",3,3,5)
Undot()
AssumeFrameBased

I have "separatefields" due to a guide i was following to get rid of interlacing but now there is a lot of bobbing in my video and FIELD BOB doesn't seem to be getting rid of the bobbing.


The video Is PAL format and i need to get rid of the horizontal lines (interlacing) somehow.
Can anyone suggest a way of doing this?
Sorry is my post if confusing at all or is in the wrong section.
Gundam Seed!!!!

User avatar
Krisqo
Cooking Oil
Joined: Mon Jul 07, 2003 1:22 pm
Status: W.O.A (Waiting on Aion)
Location: Moderating the Adobe Forums
Org Profile

Re: De-interlacing PAL videos

Post by Krisqo » Sun Feb 15, 2009 10:17 pm

If you haven't checked, try the EADFAG found here
http://www.animemusicvideos.org/guides/ ... ssive.html

I'm not familiar with PAL footage, but from what I can see in your script, you have no deinterlacing going on at all, hence the combing all over the place.
Image

User avatar
Hareoic
Joined: Wed Jan 30, 2008 8:54 pm
Status: IT'S PAAHFEKKTO
Location: Omaha
Org Profile

Re: De-interlacing PAL videos

Post by Hareoic » Sun Feb 15, 2009 10:53 pm

I'm not very good at scripting, but you've got your script in the wrong order. First comes the deinterlacing, THEN the denoising, THEN the sharpening, THEN the resizing, and THEN the colorspace conversions. Also, you only need one item for sharpening or deinterlacing, otherwise it's overkill.

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: De-interlacing PAL videos

Post by Scintilla » Mon Feb 16, 2009 12:16 am

Hareoic wrote:Also, you only need one item for sharpening
If under "sharpening" you include line thinning, line darkening, and so on, then I beg to differ. For example, combining FastLineDarken with, say, LimitedSharpenFaster can provide results similar to vmToon at much better speeds.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

Archangel768
Joined: Sat Oct 11, 2008 7:20 am
Location: Australia
Org Profile

Re: De-interlacing PAL videos

Post by Archangel768 » Mon Feb 16, 2009 2:54 am

Thanks for all ur help guys now it is looking pretty good!

ok here is my new script

mpeg2source("D:\Gundam seed v1\VIDEO_TS\gundam seed volume 1 .d2v\Gundam1.d2v")
converttoyv12(interlaced=true)
fielddeinterlace()
Undot()
Deen("w3d",3,3,5)
Toon()
LanczosResize(768,576)

now the lines are gone and it mostly looks great. theres just this thing when the character moves. sometimes the character will be in two places at once on the screen like there is a trail. doesnt really matter too much if it is there but i thought it would be good if someone knew how to get rid of it.

is there a way to just edit my post instead of double posting?
Gundam Seed!!!!

User avatar
starseekergem
Joined: Fri Sep 15, 2006 1:25 pm
Org Profile

Re: De-interlacing PAL videos

Post by starseekergem » Tue Mar 24, 2009 6:11 am

You've encoutered the wonder that is frame blending. It apparently can be removed but I've never successfully managed to.
I provide unattributable press briefings, You leak, He is being prosecuted under the Official Secrets Act.
I am an original thinker, You are eccentric, He is loony.

User avatar
SenTrix
Joined: Mon Jun 23, 2008 8:25 am
Status: Editing
Location: South East England
Org Profile

Re: De-interlacing PAL videos

Post by SenTrix » Tue Mar 24, 2009 7:22 am

Should'nt this topic be in 'AviSynth' sub forums?
And s/s always helps people who are you helping you ;)

SenTrix
Image <<..:: Click Me ::..>> Image

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: De-interlacing PAL videos

Post by mirkosp » Tue Mar 24, 2009 11:53 am

I find tomsmocomp(1,5,1) to be the best solution for most cases of PAL interlacing. The blending is pretty much impossible to properly remove, in the case it's there, it's just better to leave it there.
Image

Locked

Return to “AviSynth Help”