Having color problems in AVISynth import to VirtualDubMod

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.

Having color problems in AVISynth import to VirtualDubMod

Postby 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?
OracleUsr
 
Joined: 29 May 2008

Re: Having color problems in AVISynth import to VirtualDubMo

Postby BasharOfTheAges » Wed Feb 09, 2011 5:44 pm

Which guide exactly? The vicbond one from 2004?
Another Anime Convention AMV Contest Coordinator 2008-2014 & Head of the AAC Fan-works Theater - follow us on Twitter: https://twitter.com/#!/AACFanTheater
:sorcerer: :sorcerer: |RD: "Oh, Action!" (side-by-side) | |
User avatar
BasharOfTheAges
Just zis guy, you know?
 
Joined: 14 Sep 2004
Location: Merrimack, NH
Status: Extreeeeeeeeeme

Re: Having color problems in AVISynth import to VirtualDubMo

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

Re: Having color problems in AVISynth import to VirtualDubMo

Postby 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.
OracleUsr
 
Joined: 29 May 2008

Re: Having color problems in AVISynth import to VirtualDubMo

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

Re: Having color problems in AVISynth import to VirtualDubMo

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

Re: Having color problems in AVISynth import to VirtualDubMo

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

Re: Having color problems in AVISynth import to VirtualDubMo

Postby OracleUsr » Fri Mar 18, 2011 5:19 pm

VirtualDub says Variable LoadPlugin not found when I run the script
OracleUsr
 
Joined: 29 May 2008

Re: Having color problems in AVISynth import to VirtualDubMo

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

Re: Having color problems in AVISynth import to VirtualDubMo

Postby 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.
OracleUsr
 
Joined: 29 May 2008

Re: Having color problems in AVISynth import to VirtualDubMo

Postby OracleUsr » Sun Mar 20, 2011 12:08 am

Okay, this is totally messed up. I copied the script you sent me and now VirtualDub says "Clip2 does not have the same # of frames as the input clip"

By the way, your TFM line didn't work (said mode had to be 0 or 1 and type 0, 1 or 2) so I had to change it to:

TFM(pp=7, slow=2, micmatching=2, clip2=tdeint(mode=1, type=2))


And it fails to load in VirtualDub.
OracleUsr
 
Joined: 29 May 2008

Re: Having color problems in AVISynth import to VirtualDubMo

Postby Mister Hatt » Sun Mar 20, 2011 12:37 am

Your system is broken then. There is absolutely nothing wrong with my line and you really need to learn what avisynth is and how to use it before you insinuate such things. Also MP4 is a bad format to use for anything resembling compatibility. Might want to double check which MPEG2Source plugin you are using as well.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Having color problems in AVISynth import to VirtualDubMo

Postby mirkosp » Sun Mar 20, 2011 5:14 am

Mister Hatt wrote:Your system is broken then. There is absolutely nothing wrong with my line and you really need to learn what avisynth is and how to use it before you insinuate such things. Also MP4 is a bad format to use for anything resembling compatibility. Might want to double check which MPEG2Source plugin you are using as well.

He might be using an older version of TIVTC... but yes mode=2,type=3 is correct.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: Having color problems in AVISynth import to VirtualDubMo

Postby Pwolf » Sun Mar 20, 2011 6:46 pm

he came into the chatroom and we figured out he was using an old version of dgindex so i'm sure tivtc was old as well.
ImageImage
ImageImage
Like the AMV .Org App? Think about donating to help me make it better.
User avatar
Pwolf
Friendly Neighborhood Pwaffle
 
Joined: 03 May 2001
Location: Some where in California, I forgot :\


Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest