Horrible interlacing (Original Fullmetal Alchemist)

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Dext3r
Joined: Wed May 18, 2011 3:40 am
Org Profile

Horrible interlacing (Original Fullmetal Alchemist)

Post by Dext3r » Thu May 10, 2012 4:25 am

Hey, currently making a video with the original Fullmetal Alchemist, Fullmetal Alchemist: Brotherhood, and Sacred Star of Milos; running into horrible interlacing with the original Fullmetal however.

http://imgur.com/9Yc91
http://imgur.com/EjlXj
http://imgur.com/blcVe


Here's my script:

Mpeg2Source("K:\A Fullmetal World\Source Footage\Fullmetal Alchemist (2004)\1-4\MainMovie\FULLMETAL_ALCHEMIST_THE_CURSE\VIDEO_TS\FMA 1-4.d2v", cpu=4)
ConvertToYV12()
Spline36Resize(848,636)
Crop(0, 78, -0, -78)
#TTempSmooth()
FastLineDarkenMod()
LSFmod(strength=120)
LUTDeRainbow()
TFM(mode=1,pp=5,slow=2,micmatching=2,clip2=TDeint(mode=2,type=3))
TDecimate()

The final two are my attempts at deinterlacing, but clearly its not working out very well.

With Spline and Crop I'm converting it to a 16:9 perspective since Brotherhood and Milos are both 16:9 but you can still see that black bar on the edges, so if anyone knows how to fix that, that would be great as well.

[Kariudo: Large images converted to links]

User avatar
Dext3r
Joined: Wed May 18, 2011 3:40 am
Org Profile

Re: Horrible interlacing (Original Fullmetal Alchemist)

Post by Dext3r » Thu May 10, 2012 4:27 am

(For some reason the images here aren't showing up in their full state (too big?) so if you click on them and go to the full image you'll see the black bar on the right side as well).

User avatar
BasharOfTheAges
Just zis guy, you know?
Joined: Tue Sep 14, 2004 11:32 pm
Status: Breathing
Location: Merrimack, NH
Org Profile

Re: Horrible interlacing (Original Fullmetal Alchemist)

Post by BasharOfTheAges » Thu May 10, 2012 6:35 am

Without even going into if your values or functions make sense, the first thing that pops out is the fact that you're deinterlacing last... That should be done first.
Anime Boston Fan Creations Coordinator (2019-2023)
Anime Boston Fan Creations Staff (2016-2018)
Another Anime Convention AMV Contest Coordinator 2008-2016
| | |

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

Re: Horrible interlacing (Original Fullmetal Alchemist)

Post by Scintilla » Thu May 10, 2012 6:46 am

BasharOfTheAges wrote:Without even going into if your values or functions make sense, the first thing that pops out is the fact that you're deinterlacing last... That should be done first.
With the possible exception of the derainbower, that is. Try the derainbower before and after the TFM/TDecimate combo to see which one works. But yeah, everything else should come after those two (in particular, one of the cardinal rules of processing video footage is that you should never vertically resize footage that's still interlaced).
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
Cannonaire
Joined: Wed May 05, 2010 5:59 pm
Status: OVERLOAD
Location: Oregon
Org Profile

Re: Horrible interlacing (Original Fullmetal Alchemist)

Post by Cannonaire » Fri May 11, 2012 1:43 am

If you are using the Funi release, your source should not need any derainbowing. And if there is any rainbowing present, it is minor enough that using LUTDerainbow to fix it is likely causing more damage than it is fixing.

Here's my script for the original FMA (Funi):

Code: Select all

LoadPlugin("C:\avsplugin\TIVTC.dll")
LoadPlugin("C:\avsplugin\TDeint.dll")
[put your source line here]
TFM(mode=1, PP=0, slow=2)
TDecimate()
This should be everything you need for the best results.
If you want to resize it to 640x480 square pixels, you can also add these lines:

Code: Select all

LoadPlugin("C:\avsplugin\resamplehq-x86.dll")
ResampleHQ(648, 480, src_left=4.575, src_top=0, src_width=710.85, src_height=480, kernel="spline64", chroma_kernel="Sinc", chroma_karg1=4, srcmatrix="TV.601")
Crop(4, 0, -4, -0)
The source really does not need much if any filtering. |:>
Keep in mind that you do not have to load plugins manually, but it does help. I included the loadplugin() lines just so you know which plugins you need. Also, loadplugin() and import() lines should always go before the source line(s).
Image Think millionaire, but with cannons. || Resident Maaya Sakamoto fan.

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

Re: Horrible interlacing (Original Fullmetal Alchemist)

Post by Mister Hatt » Sat May 12, 2012 10:42 pm

Can we get some rules which clearly state "BEFORE ASKING FOR HELP, MAKE SURE YOUR SCRIPT ISN'T A COPYPASTE OR GENERATED BY MEGUI", and then we'd see if there is still a problem in the first place. Think of it as enforced rubber ducking.

User avatar
Cannonaire
Joined: Wed May 05, 2010 5:59 pm
Status: OVERLOAD
Location: Oregon
Org Profile

Re: Horrible interlacing (Original Fullmetal Alchemist)

Post by Cannonaire » Sun May 13, 2012 6:34 am

Mister Hatt wrote:Can we get some rules which clearly state "BEFORE ASKING FOR HELP, MAKE SURE YOUR SCRIPT ISN'T A COPYPASTE OR GENERATED BY MEGUI", and then we'd see if there is still a problem in the first place. Think of it as enforced rubber ducking.
http://en.wikipedia.org/wiki/Rubber_duck_debugging
Also, I think Mister Hatt reads ars (but I also think he already knew what rubber ducking was).
Image Think millionaire, but with cannons. || Resident Maaya Sakamoto fan.

User avatar
Cannonaire
Joined: Wed May 05, 2010 5:59 pm
Status: OVERLOAD
Location: Oregon
Org Profile

Re: Horrible interlacing (Original Fullmetal Alchemist)

Post by Cannonaire » Sun May 13, 2012 6:41 am

Just noticed something else about your script that you should change. Here is your source line:

Code: Select all

Mpeg2Source("K:\A Fullmetal World\Source Footage\Fullmetal Alchemist (2004)\1-4\MainMovie\FULLMETAL_ALCHEMIST_THE_CURSE\VIDEO_TS\FMA 1-4.d2v", cpu=4)
Change cpu=4 to cpu=0. This is another deprecated function, and the source does not need it anyway.
Image Think millionaire, but with cannons. || Resident Maaya Sakamoto fan.

User avatar
Dext3r
Joined: Wed May 18, 2011 3:40 am
Org Profile

Re: Horrible interlacing (Original Fullmetal Alchemist)

Post by Dext3r » Mon May 14, 2012 3:27 pm

Hey, thanks everyone; that fixed the interlacing issue.

And I'll change the cpu value, thanks.

Locked

Return to “AviSynth Help”