Horrible interlacing (Original Fullmetal Alchemist)
- Dext3r
- Joined: Wed May 18, 2011 3:40 am
Horrible interlacing (Original Fullmetal Alchemist)
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]
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: Wed May 18, 2011 3:40 am
Re: Horrible interlacing (Original Fullmetal Alchemist)
(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).
- BasharOfTheAges
- Just zis guy, you know?
- Joined: Tue Sep 14, 2004 11:32 pm
- Status: Breathing
- Location: Merrimack, NH
Re: Horrible interlacing (Original Fullmetal Alchemist)
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
| | |
Anime Boston Fan Creations Staff (2016-2018)
Another Anime Convention AMV Contest Coordinator 2008-2016
| | |
- Scintilla
- (for EXTREME)
- Joined: Mon Mar 31, 2003 8:47 pm
- Status: Quo
- Location: New Jersey
- Contact:
Re: Horrible interlacing (Original Fullmetal Alchemist)
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).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.
- Cannonaire
- Joined: Wed May 05, 2010 5:59 pm
- Status: OVERLOAD
- Location: Oregon
Re: Horrible interlacing (Original Fullmetal Alchemist)
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):
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:
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).
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()
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)
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).
Think millionaire, but with cannons. || Resident Maaya Sakamoto fan.
-
- Joined: Tue Dec 25, 2007 8:26 am
- Status: better than you
- Contact:
Re: Horrible interlacing (Original Fullmetal Alchemist)
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.
- Cannonaire
- Joined: Wed May 05, 2010 5:59 pm
- Status: OVERLOAD
- Location: Oregon
Re: Horrible interlacing (Original Fullmetal Alchemist)
http://en.wikipedia.org/wiki/Rubber_duck_debuggingMister 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.
Also, I think Mister Hatt reads ars (but I also think he already knew what rubber ducking was).
Think millionaire, but with cannons. || Resident Maaya Sakamoto fan.
- Cannonaire
- Joined: Wed May 05, 2010 5:59 pm
- Status: OVERLOAD
- Location: Oregon
Re: Horrible interlacing (Original Fullmetal Alchemist)
Just noticed something else about your script that you should change. Here is your source line:
Change cpu=4 to cpu=0. This is another deprecated function, and the source does not need it anyway.
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)
Think millionaire, but with cannons. || Resident Maaya Sakamoto fan.
- Dext3r
- Joined: Wed May 18, 2011 3:40 am
Re: Horrible interlacing (Original Fullmetal Alchemist)
Hey, thanks everyone; that fixed the interlacing issue.
And I'll change the cpu value, thanks.
And I'll change the cpu value, thanks.