Chainmax
20th September 2010, 04:38
...on an SDTV, at least.
I have a series of clips taken with my crappy cellphone's video camera. These were taken in very low light conditions. As expected, attempting to bring out shadow detail is very difficult. The best way to put it is when you apply an autolevels tool to a mostly dark picture and you end up with blueish/yellowish splotches all over. The current script is this:
...
Deblock_QED(quant1=40,aOff1=11,quant2=45,aOff2=6)
dfttest(sigma=1.3,tbsize=3)
FFT3DFilter(sigma=8,plane=3,bw=32,bh=32,bt=3,ow=16,oh=16)
HDRAGC(max_sat=5.0,reducer=2.0)
Stab()
Crop(2,2,636,476,align=true)
Spline36Resize(640,480)
source=last
preNR=source.dfttest(sigma=1.3,tbsize=3).FFT3DFilter(sigma=8,plane=3,bw=32,bh=32,bt=3,ow=16,oh=16)
preNR_super=preNR.MSuper(pel=2, sharp=1)
source_super=source.MSuper(pel=2, sharp=1)
backward_vec3 = MAnalyse(preNR_super,isb = true, delta = 3, overlap=4)
backward_vec2 = MAnalyse(preNR_super,isb = true, delta = 2, overlap=4)
backward_vec1 = MAnalyse(preNR_super,isb = true, delta = 1, overlap=4)
forward_vec1 = MAnalyse(preNR_super,isb = false, delta = 1, overlap=4)
forward_vec2 = MAnalyse(preNR_super,isb = false, delta = 2, overlap=4)
forward_vec3 = MAnalyse(preNR_super,isb = false, delta = 3, overlap=4)
source.MDegrain3(source_super,backward_vec1,forward_vec1,backward_vec2,forward_vec2,backward_vec3,forward_vec3,thSAD=350)
FFT3DFilter(sigma=8,plane=3,bw=32,bh=32,bt=3,ow=16,oh=16)
dfttest(sigma=1.3,tbsize=3)
dull=last
sharp=last.LimitedSharpenFaster(SMode=3,Strength=1000,wide=true,soft=75)
Soothe(sharp,dull,25)
GradFunkMirror(3.02)
GradFunkMirror(1.51)
AddGrain(30,0.6,0.6)
AddGrain(15,0.2,0.2)
As you can see, extremely heavy-handed. Now, I have hardly toyed with HDRAGC other than setting reducer to 2.0, so I am not sure how to proceed in that regard. Also, I have been thinking of ditching All FFT3DFilter chroma lines (except the one in MDegrain) with one or two TemporalSoften ones with heavy settings, and the Deblock_QED line with plain DeBlock. As for detail faking, I'm not sure putting more aggressive GradFunkMirror or AddGrain might be useful.
Any advice on these issues, or alternative ways to make this just a bit more watchable would be appreciated. I cannot post sample clips, but I can post a few before/after screen portions with the above script.
I have a series of clips taken with my crappy cellphone's video camera. These were taken in very low light conditions. As expected, attempting to bring out shadow detail is very difficult. The best way to put it is when you apply an autolevels tool to a mostly dark picture and you end up with blueish/yellowish splotches all over. The current script is this:
...
Deblock_QED(quant1=40,aOff1=11,quant2=45,aOff2=6)
dfttest(sigma=1.3,tbsize=3)
FFT3DFilter(sigma=8,plane=3,bw=32,bh=32,bt=3,ow=16,oh=16)
HDRAGC(max_sat=5.0,reducer=2.0)
Stab()
Crop(2,2,636,476,align=true)
Spline36Resize(640,480)
source=last
preNR=source.dfttest(sigma=1.3,tbsize=3).FFT3DFilter(sigma=8,plane=3,bw=32,bh=32,bt=3,ow=16,oh=16)
preNR_super=preNR.MSuper(pel=2, sharp=1)
source_super=source.MSuper(pel=2, sharp=1)
backward_vec3 = MAnalyse(preNR_super,isb = true, delta = 3, overlap=4)
backward_vec2 = MAnalyse(preNR_super,isb = true, delta = 2, overlap=4)
backward_vec1 = MAnalyse(preNR_super,isb = true, delta = 1, overlap=4)
forward_vec1 = MAnalyse(preNR_super,isb = false, delta = 1, overlap=4)
forward_vec2 = MAnalyse(preNR_super,isb = false, delta = 2, overlap=4)
forward_vec3 = MAnalyse(preNR_super,isb = false, delta = 3, overlap=4)
source.MDegrain3(source_super,backward_vec1,forward_vec1,backward_vec2,forward_vec2,backward_vec3,forward_vec3,thSAD=350)
FFT3DFilter(sigma=8,plane=3,bw=32,bh=32,bt=3,ow=16,oh=16)
dfttest(sigma=1.3,tbsize=3)
dull=last
sharp=last.LimitedSharpenFaster(SMode=3,Strength=1000,wide=true,soft=75)
Soothe(sharp,dull,25)
GradFunkMirror(3.02)
GradFunkMirror(1.51)
AddGrain(30,0.6,0.6)
AddGrain(15,0.2,0.2)
As you can see, extremely heavy-handed. Now, I have hardly toyed with HDRAGC other than setting reducer to 2.0, so I am not sure how to proceed in that regard. Also, I have been thinking of ditching All FFT3DFilter chroma lines (except the one in MDegrain) with one or two TemporalSoften ones with heavy settings, and the Deblock_QED line with plain DeBlock. As for detail faking, I'm not sure putting more aggressive GradFunkMirror or AddGrain might be useful.
Any advice on these issues, or alternative ways to make this just a bit more watchable would be appreciated. I cannot post sample clips, but I can post a few before/after screen portions with the above script.