Horrible interlacing (Original Fullmetal Alchemist)

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Horrible interlacing (Original Fullmetal Alchemist)

Postby 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]
Dext3r
 
Joined: 18 May 2011

Re: Horrible interlacing (Original Fullmetal Alchemist)

Postby 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).
Dext3r
 
Joined: 18 May 2011

Re: Horrible interlacing (Original Fullmetal Alchemist)

Postby 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.
User avatar
BasharOfTheAges
Just zis guy, you know?
 
Joined: 14 Sep 2004
Location: Merrimack, NH
Status: Extreeeeeeeeeme

Re: Horrible interlacing (Original Fullmetal Alchemist)

Postby 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
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Re: Horrible interlacing (Original Fullmetal Alchemist)

Postby 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.
User avatar
Cannonaire
 
Joined: 05 May 2010
Location: Oregon
Status: OVERLOAD

Re: Horrible interlacing (Original Fullmetal Alchemist)

Postby 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.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Horrible interlacing (Original Fullmetal Alchemist)

Postby 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: 05 May 2010
Location: Oregon
Status: OVERLOAD

Re: Horrible interlacing (Original Fullmetal Alchemist)

Postby 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
Cannonaire
 
Joined: 05 May 2010
Location: Oregon
Status: OVERLOAD

Re: Horrible interlacing (Original Fullmetal Alchemist)

Postby Dext3r » Mon May 14, 2012 3:27 pm

Hey, thanks everyone; that fixed the interlacing issue.

And I'll change the cpu value, thanks.
Dext3r
 
Joined: 18 May 2011


Return to Footage Help

Who is online

Users browsing this forum: No registered users and 3 guests