VideoHelp Forum
+ Reply to Thread
Results 1 to 13 of 13
Thread
  1. I have a Blu-Ray I want to watch but its color temps are so cool, that everything is literally way too blue.

    I tried doing this in avisynth but it's not really helping all that much.
    coloryuv(off_y=0, off_u=-2, off_v=0)
    It makes it a little less blue but its not enough. If I raise it too high or much higher everything elses colors get really wrong looking and it starts to get a yellow tint all over.

    Is there a filter I don't know about to adjust an overly cool temp video into a more warm appearance?
    Quote Quote  
  2. After off_u try increasing cont_u. Sample?
    Quote Quote  
  3. Increasing cont_u just seems to make the video super saturated looking.

    Anyways here a bit of the video.

    https://mega.nz/file/454yyIjA#N0SyYZt_yix-obkdlpA4ta9hipvRtC03O05BjPyjuVs

    As you can see, there's so much cool color temp the pigs look purple. It doesn't look at all like this on DVD or amazon when it comes to colors.
    Quote Quote  
  4. Check out the massive color difference in Blu-Ray and Amazon.

    https://slow.pics/c/6eKemhs1
    https://slow.pics/c/5Zx3tndH
    https://slow.pics/c/2tjuyBL8

    While I don't expect them to be anywhere near the same, I would like to reduce that overall blue so it looks a little more like the Amazon or the whites actually look more white. The amazon looks like it has too much red, but either way I think that looks much better overall when it comes to the colors for it.
    Last edited by killerteengohan; 16th Dec 2021 at 23:17.
    Quote Quote  
  5. I'll look more closely tomorrow. But how about a simple RGB white balance?
    Code:
    ConvertToRGB(matrix="rec709").RGBAdjust(r=192.0/187.0, b=192.0/205.0).ConvertToYV12(matrix="rec709")
    The colors matrix wasn't specified but rec.709 looks better than rec.601.
    Quote Quote  
  6. Originally Posted by jagabo View Post
    I'll look more closely tomorrow. But how about a simple RGB white balance?
    Code:
    ConvertToRGB(matrix="rec709").RGBAdjust(r=192.0/187.0, b=192.0/205.0).ConvertToYV12(matrix="rec709")
    The colors matrix wasn't specified but rec.709 looks better than rec.601.
    Thanks, I will give that a try and check back tomorrow for a reply.
    Quote Quote  
  7. colormatrix is rec709 on the blu-ray.

    I've never seen a / used in the command before.
    r=192.0/187.0, b=192.0/205.0

    Whats the / do?
    Quote Quote  
  8. Originally Posted by killerteengohan View Post
    colormatrix is rec709 on the blu-ray.

    I've never seen a / used in the command before.
    r=192.0/187.0, b=192.0/205.0

    Whats the / do?
    r, g, b are scaling factors.
    / is the operator for division.
    r=192.0/187.0 = 1.0267 multiplies the red channel pixel values by 1.0267.
    b=192.0/205.0 = 0.9366 multiplies the blue channel pixel values by 0.9366.
    Last edited by Sharc; 17th Dec 2021 at 07:55. Reason: Corrected the denominator for r (typo)
    Quote Quote  
  9. I got those numbers by looking at the rgb values of something I thought should be white. I used the white beards of the guys about 9 seconds into the clip. I merged 8 frames together (Merge(SelectEven(), SelectOdd()) three times) and applied a big BinomialBlur(20) to get a good average. That resulted in r=187, g=192 and b=205 after ConvertToRGB(matrix="rec709"). So in order to raise r to be equal to g red has to be multiplied by 192.0/187.9 (~1.0267). To reduce b to g blue has to be multiplied by 192.0/205.0 (~0.9366). I expressed the values as num/den so I wouldn't have to do the math. I used floats instead of integers for accuracy (as integers 192/187=1 and 192/205=0).
    Quote Quote  
  10. Originally Posted by jagabo View Post
    I got those numbers by looking at the rgb values of something I thought should be white. I used the white beards of the guys about 9 seconds into the clip. I merged 8 frames together (Merge(SelectEven(), SelectOdd()) three times) and applied a big BinomialBlur(20) to get a good average. That resulted in r=187, g=192 and b=205 after ConvertToRGB(matrix="rec709"). So in order to raise r to be equal to g red has to be multiplied by 192.0/187.9 (~1.0267). To reduce b to g blue has to be multiplied by 192.0/205.0 (~0.9366). I expressed the values as num/den so I wouldn't have to do the math. I used floats instead of integers for accuracy (as integers 192/187=1 and 192/205=0).
    Thats a nice time saver to know you can do that.

    The white in this should be a good point to start. That's supposed to be very white unlike the beards, and there's plenty of blue to see what happens as well.
    https://slow.pics/c/2tjuyBL8
    Quote Quote  
  11. I ended up settling with this. While its not what I hoped, it's better than it was.

    Code:
    ConvertToYV24(matrix="rec709", chromaresample="point")
    MergeChroma(PointResize(width, height, 0, 1))
    ConvertToRGB32(matrix="rec709")
    RGBAdjust(rg=1.07, gg=1.07, bg=1.07, rb=-1, gb=-1, bb=-1, r=1.01, g=1.00, b=0.99)
    ConvertToYV12(matrix="rec709", chromaresample="point")
    smoothtweak(saturation=1.02, brightness=-1, contrast=1.00, dither=-1, interp=0, limiter=false)
    Since I noticed Jagabo that your solution was more R and less B, I just raised R a little and lowered B a little.
    Quote Quote  
  12. I didn't try any gamma adjustments because I didn't see anything a nice grey gradient to use as a reference.
    Quote Quote  
  13. Originally Posted by jagabo View Post
    I didn't try any gamma adjustments because I didn't see anything a nice grey gradient to use as a reference.
    I only did the gamma adjustments because the movie was so dark compared to its Amazon and DVD counterparts. They didn't really do anything for the blue, I just wanted a slightly brighter image.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!