VideoHelp Forum
+ Reply to Thread
Results 1 to 15 of 15
Thread
  1. Hello i try to do the best encode of my Dragon ball dvd in private way but there is a small problem i can't correct with avisynth

    a guy did it in his test but i can't contact him anymore.... i explain
    http://screenshotcomparison.com/comparison/184093/picture:1

    in the original one you have some red around line like a chroma bleeding or halo in the guy test it is solved (watch around goku's arm) .... i try some things but nothing work
    can someone help me?
    thanks

    here a sample:
    http://uptobox.com/gnikrk1ifsuc
    or https://1fichier.com/?uhlcv7do5e
    i just mux it in mkv to cut it , i didn't do any re-encode
    Last edited by greatfinders; 13th Nov 2016 at 10:43. Reason: adding sample
    Quote Quote  
  2. here a screen of the problem....it is very annoyig me and i need help for this problem i couldn't resolve myself with some search
    could someone really good to help me?



    ere a comparison between the original and what it should have to be
    http://screenshotcomparison.com/comparison/189673
    Quote Quote  
  3. Sharpen the chroma with something like

    Code:
    MergeChroma(last, aWarpSharp(depth=10)) # sharpen chroma
    If the chroma is still misaligned shift it as necessary:

    Code:
    ChromaShift(l=-2, c=-2) # shift chroma 2 lines up, 2 columns left
    The video must be in YUV to use these. Interlaced video will require treating the fields separately.

    Your sample image looked ok with just the sharpened chroma. Note that with YV12 video you can only shift the chroma by even values. So if you need to shift the chroma by an odd values you have to upscale to 2x, shift the chroma by 2, then downscale to the original size. And it's probably best to do this before sharpening the chroma (as the upscale, shift, and downscale will blur the chroma a bit) and retaining the original luma. Something like this:

    Code:
    MergeChroma(last, Spline36Resize(width*2, height*2).aWarpSharp(depth=10).ChromaShift(l=-2).Spline36Resize(width,height)) # sharpen chroma and shift it up by one scan line
    Depending on how blurry the chroma is you may need to use higher values in aWarpSharp(). Using too high values will lose colors in corners.

    Oh, it's often helpful to crank up the saturation when checking the alignment.
    Last edited by jagabo; 13th Nov 2016 at 09:24.
    Quote Quote  
  4. Member
    Join Date
    May 2014
    Location
    Memphis TN, US
    Search PM
    Some good points from jagabo to handle the chroma placement problems.

    The color balance is atrocious. Reduce dark blue, raise bright blue a little, add a small amount of green, add lots of red. I used gradation curves in VirtualDub and lowered saturation a little with ColorMill:



    gradation curve settings:



    Originally Posted by greatfinders View Post
    here a sample:
    http://uptobox.com/gnikrk1ifsuc
    i just mux it in mkv to cut it , i didn't do any re-encode
    I don't think anyone will try to download a sample from a website that shows popup windows and tries to install software on the owner's PC. Find a better site.
    Image Attached Thumbnails Click image for larger version

Name:	screen%20shot%20-%20reworked.png
Views:	623
Size:	1.23 MB
ID:	39486  

    Click image for larger version

Name:	RGB-Red-Green-Blue.png
Views:	640
Size:	112.6 KB
ID:	39487  

    Last edited by LMotlow; 13th Nov 2016 at 22:25. Reason: replaced images
    - My sister Ann's brother
    Quote Quote  
  5. thanks i already try the Chromashift but haven't think to try by upscaling ....for the moment all i try are not correct even with a color correction
    it attenuate the things but don't correct


    here the same sample elsewhere https://1fichier.com/?uhlcv7do5e
    Quote Quote  
  6. Originally Posted by greatfinders View Post
    thanks i already try the Chromashift but haven't think to try by upscaling ....
    You'll probably want to sharpen the chroma as well as shift it.
    Last edited by jagabo; 13th Nov 2016 at 11:57.
    Quote Quote  
  7. Originally Posted by jagabo View Post
    Originally Posted by greatfinders View Post
    thanks i already try the Chromashift but haven't think to try by upscaling ....
    You'll probably want to sharpen the chroma as well as shift it.
    no just resolve the red problem not upscaling
    Quote Quote  
  8. I don't think you understand. You can only shift the chroma of YV12 video by multiples of 2. If you want to shift the chroma by 1 you need to upscale the video 2x, shift by 2, then downscale back to the original size. If you use MergeChroma the way I suggested you retain the original luma channel and replace the chroma channels with the shifted versions.
    Quote Quote  
  9. i use your line and just change some value to minimize things i haven't yet beat the things it just reduce it
    Quote Quote  
  10. Originally Posted by jagabo View Post
    You can only shift the chroma of YV12 video by multiples of 2.
    That's true for ChromaShift - but not for ChromaShiftSP. You can shift by fractional pixels.

    Also, it's possible to shift U and V separately - or in RGB space, you can shift Red and Blue separately:
    Code:
    function ShiftUV(clip C, float "ux", float "uy", float "vx", float "vy")
    {
        Assert(C.IsYUV, 
        \  "ShiftUV: source must be YUV")
        ux = Float(Default(ux, 0))
        uy = Float(Default(uy, 0))
        vx = Float(Default(vx, ux))
        vy = Float(Default(vy, uy))
        C
        U = UtoY
        V = VtoY
        return YToUV(
        \   U.BilinearResize(U.Width, U.Height, -ux, -uy, U.Width, U.Height)
        \ , V.BilinearResize(V.Width, V.Height, -vx, -vy, V.Width, V.Height)
        \ , Last
        \ )
    }
    
    function ShiftRedBlue(clip C, float "rx", float "ry", float "bx", float "by")
    {
        Assert(C.IsRGB, 
        \  "ShiftRedBlue: source must be RGB")
        rx = Float(Default(rx, 0))
        ry = Float(Default(ry, 0))
        bx = Float(Default(bx, rx))
        by = Float(Default(by, ry))
        C
        return (C.IsRGB24)
        \ ? MergeRGB(
        \     ShowRed.BilinearResize(Width, Height, -rx, -ry, Width, Height)
        \   , ShowGreen
        \   , ShowBlue.BilinearResize(Width, Height, -bx, -by, Width, Height)
        \   )
        \ : MergeARGB(
        \     ShowAlpha
        \   , ShowRed.BilinearResize(Width, Height, -rx, -ry, Width, Height)
        \   , ShowGreen
        \   , ShowBlue.BilinearResize(Width, Height, -bx, -by, Width, Height)
        \   )
    }
    Quote Quote  
  11. i try with ChromaShiftSP like you tell me but when i use it to correct the red, there is some chroma bleeding green around the feet
    someone can try with the sample i upload please?
    thankkkkkkkkks a lot there is almost one month i try to correct it but i fail
    Quote Quote  
  12. The colors will never align perfectly with the luma -- because the colors are encoded at half the resolution of the luma. And having been recorded on video tape reduced the color resolution even more.
    Quote Quote  
  13. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    My look is of a layman, but my bet is:
    As this is a film made in art, drawing, the artist may have chosen, for Z reasons (to rejoice,to contrast, to enrich ) different shades of red in each part, You can approach them but they will never be the same because, originally, they were never the same, it is not a mistake or problem, but rather a choice of the artist.
    Quote Quote  
  14. Originally Posted by greatfinders View Post
    there is some chroma bleeding green around the feet
    Try ChromaWarpSharpener. It reverses bleeding to some extent.
    Quote Quote  
  15. it's a little better but not corrected yet....it is possible because someone did it (but i cannot talk to him) http://screenshotcomparison.com/comparison/184093/picture:1
    in his screenshot all is totally corrected
    Quote Quote  



Similar Threads

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