View Full Version : Color Question.
Trash Master
23rd September 2008, 00:57
I have a question about why I lose color. Maybe its just natural. To me it looks like the colors fade. It does not matter what I add or take away from the script it all looks the same. Can you take a peek please and let me know if there is anything I can do to fix this. Thanks for your time guys. -Trash
Here is a pic of my source
Source small (http://farm4.static.flickr.com/3148/2879947559_3bd37952c2.jpg?v=0)
Source big (http://farm4.static.flickr.com/3148/2879947559_0be0839cba_o.jpg)
Here is a pic of the file loaded into VdubMod via Avisynth
Avisynth small (http://farm4.static.flickr.com/3073/2880782226_3d77bea6c0.jpg?v=0)
Avisynth big (http://farm4.static.flickr.com/3073/2880782226_35291c5fb8_o.jpg)
Here is the script I am using. (http://farm4.static.flickr.com/3015/2880825888_c8abeb7768_o.jpg)
IanB
23rd September 2008, 02:13
The luma range has been crushed by applying a RGB to YUV, [0-255]->[16-235], transform twice.
Use ColorYUV(analyze=true) or Histogram() to see the level range of your clip. Black should be 16, White should be 235.
Also check what video renderer you are using by default.
thetoof
23rd September 2008, 02:45
Sorry for the OT, but I don't think you handled interlacing correctly with that script... care to share a sample of your source to confirm?
Trash Master
23rd September 2008, 05:06
I will. I'll have to do it tomorrow tho. Ian, thanks for the info. I'll see what I can do.
Trash Master
23rd September 2008, 05:37
Here is some info you may need.
Loaded via avisynth (http://farm4.static.flickr.com/3033/2881513100_f8ff2d0de0_o.jpg)
Loaded mpeg2 (http://farm4.static.flickr.com/3261/2881514558_aca2e7ca05_o.jpg)
I am not sure how to get you a sample of the original cap.
Trash Master
23rd September 2008, 05:52
This is just perfect. I loaded the avs in Virtualdub 1.8.6 and the colors are fine.............. I don't get it. Why would VdubMod do this and Vdub keep the avs the same colors as the source?
IanB
23rd September 2008, 09:03
VDub 1.7+ can handle YV12 input natively, VdubMod being based on a somewhat earlier version cannot and uses a YV12 codec.
So what is your default YV12 codec that VdubMod is using, look in File->File_Information.
It is probably configured to do YUV[0-255] -> RGB[0-255] instead of YUV[16-235] -> RGB[0-255]. So your YUV[16-235] end up being RGB[16-235] i.e. CRUSHED!
thetoof
23rd September 2008, 09:04
I am not sure how to get you a sample of the original cap.
load your mpeg-2 file in dgindex, select a small section with lots of motion, save and demux video, upload the resulting m2v to mediafire.com and post your link
Trash Master
23rd September 2008, 12:45
Ian, I don't know how to find the colorspace my ATI card caps at =( I am looking for ways to check it and I fail( I think I found it, check out the EDIT I did) . VdubMod just tells me resolution/frames/bitrate. I am using an ATI AIW card with 9.03 as my software. I hope that helps. I have been searching for ways to adjust the colorspace settings and I fail.
Thetoof here are the video files.
Thanks for the help guys =)
Source mpeg2 (http://www.mediafire.com/?qommondey2f)
demuxed m2v (http://www.mediafire.com/?yqejmmez1gu)
EDIT: I got these pics when I loaded the file into vdubMod
Loaded with avisynth (http://farm3.static.flickr.com/2325/2882212768_b31fd43dbb_o.jpg)
Loaded source mpeg2 (http://farm4.static.flickr.com/3191/2882218764_f83304bb63_o.jpg)
IanB
23rd September 2008, 23:03
It is nothing to do with "the colorspace my ATI card caps at"!
It is all to do with the YV12 codec VdubMod uses to convert the Avisynth YV12 output to RGB for display, and from the .jpg you attached it looks like it is "ATI YUV12 Format codec", others have had much trouble with this codec. :(
If you cannot quickly beat your ATI YUV12 Format codec into submission, I suggest you simply replace it with one that works better, i.e. Helix, DivX, Xvid, etc
Read the YV12 FAQ in the documentation installed on your hard disk, ...\Docs\english\faq_yv12.htm
or search this board for "YV12 Codec" :search: (this is a constant issue).
Helix YV12 / I420 VFW Codecs is an oldy but a goody
Trash Master
24th September 2008, 01:20
Thanks Ian. I will give it a shot tonight =)
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.