1080i to 720p

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
Chemikilla
Joined: Sat Oct 18, 2008 12:09 am
Org Profile

1080i to 720p

Post by Chemikilla » Tue Mar 30, 2010 8:53 pm

What's the best way to resize and deinterlace a 1080i source to 720p? Everything I try ends up looking bad.
Image

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Re: 1080i to 720p

Post by Kariudo » Tue Mar 30, 2010 11:23 pm

TFM() + TDecimate() has yet to let me down

as for resizing, spline36resize() or lanczos4resize() are my weapons of choice

and just to be sure...you should do deinterlacing/IVTC BEFORE resizing
Image
Image

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: 1080i to 720p

Post by Qyot27 » Wed Mar 31, 2010 10:35 am

If this is 1080i H.264, then I think there might be more streamlined methods to deal with MBAFF and PAFF automatically, but I haven't looked at either of those closely (since I've never had to). If it's MPEG-2, see Kariudo's post. And yes, always always always deinterlace/IVTC before resizing.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

Mister Hatt
Joined: Tue Dec 25, 2007 8:26 am
Status: better than you
Contact:
Org Profile

Re: 1080i to 720p

Post by Mister Hatt » Thu Apr 01, 2010 12:42 pm

TFM(mode=1,pp=5,slow=2,micmatching=2,clip2=tdeint(mode=2,type=3)).TDecimate()
Spline36Resize(1280,720)

If you're dealing with an MPEG2-TS transport stream then you want to crop it before the resize but after IVTC, same for an MPEG4-AVC transport stream. If it's from a bluray you shouldn't need any cropping but that isn't always the case.

Locked

Return to “AviSynth Help”