Having color problems in AVISynth import to VirtualDubMod

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
OracleUsr
Joined: Thu May 29, 2008 11:11 pm
Org Profile

Having color problems in AVISynth import to VirtualDubMod

Post by OracleUsr » Wed Feb 09, 2011 5:34 pm

I installed the codecs asked for in the Guide to using DVD footage. I created the d2v file with DVD2AVI and prepared to import into VirtualDubMod with this AVS script:

Code: Select all

LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\Decomb521.dll")
MPEG2Source("F:\FMPAMV.d2v", idct=5, CPU=4, iPP=true)
Telecide(order=0, guide=1, post=4, blend=true)
Decimate(quality=3)
When it comes up in VirtualDubMod, the DVD (Full Metal Panic) looks horrible! Kaname's green hair is now dark brown. White skin is sort of grayish.

Am I missing something?

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

Re: Having color problems in AVISynth import to VirtualDubMo

Post by BasharOfTheAges » Wed Feb 09, 2011 5:44 pm

Which guide exactly? The vicbond one from 2004?
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: Having color problems in AVISynth import to VirtualDubMo

Post by Scintilla » Wed Feb 09, 2011 8:24 pm

Your problem sounds severe enough that this probably isn't the fix, but just in case: did you make sure that VirtualDubMod's "output color depth" preference is set to anything higher than 16-bit?
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

OracleUsr
Joined: Thu May 29, 2008 11:11 pm
Org Profile

Re: Having color problems in AVISynth import to VirtualDubMo

Post by OracleUsr » Wed Feb 09, 2011 11:48 pm

Yes, the guide that's on the site, so I think that's 2004

I tried the color depth setting to 32-bit to no avail.

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

Re: Having color problems in AVISynth import to VirtualDubMo

Post by Scintilla » Thu Feb 10, 2011 7:28 am

While we all love Vic, things can change fast in the world of video, and the sad truth is that his guide has never been updated to reflect the new best practices (it was out of date even five years ago, really). I'd suggest reading this guide (at least the DVD ripping parts) instead.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

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

Re: Having color problems in AVISynth import to VirtualDubMo

Post by Mister Hatt » Sat Feb 12, 2011 5:31 am

Change your script to the following and use the latest copy of virtualdub (NOT mod) from http://virtualdub.org

Code: Select all

LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\TIVTC.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\tdeint.dll")

MPEG2Source("F:\FMPAMV.d2v")

TFM(pp=7, slow=2, micmatching=2, clip2=tdeint(mode=2, type=3))
tdecimate()
This should handle everything nicely alongside the latest vdub. If it DOESN'T give you the result you want, then re-index with DGIndex, but I don't suspect you'll need to resort to that particular heap of crap.

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

Re: Having color problems in AVISynth import to VirtualDubMo

Post by Mister Hatt » Sat Feb 12, 2011 5:32 am

Oh, incidentally, plugins in the location you have them should get autoloaded anyway. Autoloading is bad and you might have another unrelated plugin being autoloaded and causing your problem. 90% of avisynth problems are autoload related in my experience.

OracleUsr
Joined: Thu May 29, 2008 11:11 pm
Org Profile

Re: Having color problems in AVISynth import to VirtualDubMo

Post by OracleUsr » Fri Mar 18, 2011 5:19 pm

VirtualDub says Variable LoadPlugin not found when I run the script

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

Re: Having color problems in AVISynth import to VirtualDubMo

Post by Scintilla » Fri Mar 18, 2011 8:41 pm

Don't open an AVISynth script as a VirtualDub script. Just use "Open video file" as if you were opening an AVI.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

OracleUsr
Joined: Thu May 29, 2008 11:11 pm
Org Profile

Re: Having color problems in AVISynth import to VirtualDubMo

Post by OracleUsr » Sat Mar 19, 2011 12:02 am

Okay, I did that and created the AVI.

I'm running a trial version of Sony Vegas Pro 10, but even after I use FF to convert the AVI to an MP4, Vegas Pro refuses to open it.

Locked

Return to “AviSynth Help”