Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th June 2009, 22:36   #1  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,718
Correcting blue hue

I've got a homemade video with lots of scenes shot in the winter near the time of day when the sun is setting. In my latitude, this means that all colors turn to bluish (which is why I call it "the blue moment" in a day). You can see it easily in the sample clip, the snow should naturally be white.

Is there any convenient way to fix this issue with Avisynth?

http://www.mediafire.com/?sharekey=9...db6fb9a8902bda
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 15th June 2009, 03:07   #2  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Can't help you because you used some obscure codec for your AVI.
Guest is offline   Reply With Quote
Old 15th June 2009, 04:05   #3  |  Link
shoopdabloop
Registered User
 
Join Date: Mar 2009
Posts: 166
i was able to open it with DirectShowSource, but i am not familiar with color-altering filters.
shoopdabloop is offline   Reply With Quote
Old 15th June 2009, 05:21   #4  |  Link
vampiredom
Registered User
 
Join Date: Aug 2008
Posts: 233
There is probably a better way (or a YV12-friendly white balance filter you could use), but here is a crude RGB method:

Code:
converttorgb(matrix="pc.601")

r = ShowRed().Levels(0,1.0,133,0,255)
g = ShowGreen().Levels(0,1.0,179,0,255)
b = ShowBlue().Levels(0,1.0,255,0,255)

MergeRGB(r,g,b)
converttoyv12(matrix="pc.601")
vampiredom is offline   Reply With Quote
Old 15th June 2009, 05:45   #5  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
RGBadjust might help balance the top end, but the blacks will still be off a bit (though video handles this a lot better than film).

YV12 is not really appropriate - in order to get the colours to behave natrually, internal RGB conversions would probably be necessary.
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote
Old 15th June 2009, 06:08   #6  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,718
Quote:
Originally Posted by neuron2 View Post
Can't help you because you used some obscure codec for your AVI.
Oh, forgot to mention that I used HuffYUV from ffdshow

Unfortunately there is no way to get an RGB capture, the tape is in very bad condition and the capture is pretty much what must be used. A friend of mine has set up a capturing system which consists of a very high quality SVHS deck with a TBC and Edirol's converter which apparently outputs to DV format. The tape was processed by him some years ago.

I'll try the RGBAdjust way. Even a small improvement is much appreciated, because the color balance differences between scenes are quite noticable in the original version.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 15th June 2009, 06:49   #7  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
you can try to separate the video in R g and b.
after that alter each cannel separately using levels()
then merge them back together
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 17th June 2009, 17:17   #8  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
Solutions:

1) Teach him to set White balance
2) Greyscale()
3) coloryuv(off_u=-35, off_v=20, cont_v=-50)
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:21.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.