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. |
![]() |
#1 | Link |
Registered User
Join Date: Oct 2024
Location: Nebula 71 Star
Posts: 76
|
Fix for color flickering?
I've been stuck on trying to fix this flickering for a while, in a previous thread from days ago I was given small_deflicker which does not help with this color flickering unfortunately.
sample https://112.gigafile.nu/0615-cfa53c9...3defceeacae0be |
![]() |
![]() |
![]() |
#3 | Link | |
Registered User
Join Date: Oct 2024
Location: Nebula 71 Star
Posts: 76
|
Quote:
I tried separating the planes and deflickering the u and merging but this didn't work |
|
![]() |
![]() |
![]() |
#5 | Link |
Registered User
Join Date: Oct 2024
Location: Nebula 71 Star
Posts: 76
|
I separated R,G, and B and it seems the culprit is the blu channel
https://7.gigafile.nu/0617-mc30cad10...b401a097e4b2cb stacked in order of rgb |
![]() |
![]() |
![]() |
#7 | Link |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,682
|
If you convert to RGB, all the channels exhibit some flickering, but B has the most. But if you leave it as YUV, Y has no flickering. So I don't think it was an RGB processing thing. It's just U is flickering a lot and V is only flickering a little.
Last edited by wonkey_monkey; 11th June 2025 at 22:05. |
![]() |
![]() |
![]() |
#9 | Link |
Registered User
Join Date: Oct 2024
Location: Nebula 71 Star
Posts: 76
|
I'm gonna try matching the color of the blue channel to a green channel using Dr Dre's color matching (already tried gammatch with no luck) and merge like normal
Code:
source r=extractr(source) g=extractg(source) b=g.cube(lut) merge(rgb) |
![]() |
![]() |
![]() |
#10 | Link |
Registered User
Join Date: Mar 2011
Posts: 5,020
|
You could try just deflickering the U channel, although after playing around a little I didn't find a way to do it perfectly. It's easy enough to remove the flicker, but doing it without messing with the color at all is a different story. Maybe it'd work better doing the same thing after converting to RGB.
Z = last Y = ExtractY() U = ExtractU().Deflicker(percent=100, lag=150, scene=40) V = ExtractV() CombinePlanes(Y,U,V, planes="YUV", sample_clip=Z) This defickers it completely, but as it sets the U plane to a constant value it does change the color. Z = last G = Z.Greyscale() Y = Z.ExtractY() U = G.ExtractU() V = Z.ExtractV() CombinePlanes(Y,U,V, planes="YUV", sample_clip=Z) |
![]() |
![]() |
![]() |
#11 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,698
|
Nice!
Code:
Z = last Y = ExtractY() U = ExtractU().Deflicker(percent=100, lag=150, scene=40) V = ExtractV() CombinePlanes(Y,U,V, planes="YUV", sample_clip=Z) Code:
# requires colorformat YUV444P8 core.avs.LoadPlugin("F:/Hybrid/64bit/Avisynth/avisynthPlugins/Deflicker.dll") Y, U, V = core.std.SplitPlanes(clip) U = core.resize.Bicubic(clip=U, format=vs.YUV444P8) U = core.avs.Deflicker(U, percent=100, lag=150, scene=40) clip = core.std.ShufflePlanes(clips=[Y, U, V], planes=[0, 0, 0], colorfamily=vs.YUV) The output is different and still flickering a lot, doesn't seem useful to me. :/ Code:
Z = last G = Z.Greyscale() Y = Z.ExtractY() U = G.ExtractU() V = Z.ExtractV() CombinePlanes(Y,U,V, planes="YUV", sample_clip=Z) That should be: Code:
# requires colorformat YUV444P8 Y, U, V = core.std.SplitPlanes(clip) U = core.resize.Bicubic(clip=clip, format=vs.GRAY8) clip = core.std.ShufflePlanes(clips=[Y, U, V], planes=[0, 0, 0], colorfamily=vs.YUV) That looks like the more watchable solution to me. ![]() ![]() Cu Selur |
![]() |
![]() |
![]() |
#12 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,641
|
try
SMDegrain(tr=5, thSAD=3000, plane=3, chroma=false, prefilter=2) or maybe more advanced SMDegrain(tr=5, thSAD=3000, plane=1, chroma=false, prefilter=2, Globals=2) SMDegrain(tr=5, thSAD=1000, plane=2, chroma=false, prefilter=2, Globals=1)
__________________
See My Avisynth Stuff Last edited by real.finder; 13th June 2025 at 18:48. |
![]() |
![]() |
![]() |
#14 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,641
|
Quote:
![]() anyway, it's the mvtools power, which is used even in qtgmc (We can say that it is the backbone of many things) as aside note, I am thinking about try/using DTL version of mvtools (dont know why it not merged with pinterf version of mvtools yet)
__________________
See My Avisynth Stuff |
|
![]() |
![]() |
![]() |
#15 | Link | |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,698
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|