My encodes have suffered from flickering in dark areas recently. I discovered what happened to be the problem. It is not the script nor x264 parameters to be the reason. Raw script preview in mplayerc (with default AVI decompresser) is correct. Decoding the compressed material with coreAVC 3.0.1, LAV or libavcodec is correct as well. Decoding with newest mplayerc-hc DXVA internal (nVidia newest drivers, win7) leads to macroblocked flickering in e.g. dark blue areas as in the provided sample - the woman's shirt and some part of the background flickers in an awful macroblock style. What I ask is what to disable in x264 to prevent from DXVA playback flickering mentioned and why there is any problem at all with DXVA presets. I use meGUI x264-DXVA-SD-HQ with following modifications:
Code:
automated 2pass, bitrate 2000, high profile, level 4.1, target playback DXVA, ref number 5, Psy-RD Strength 1.08
Below there is a link to the sample and the used script as well.
Code:
MPEG2Source(".\sample.d2v")
Crop(16, 0, -12, -6)
DeSpot(...)
super = MSuper(pel=2, sharp=1)
backward_vec2 = MAnalyse(super, isb = true, delta = 2, overlap=4)
backward_vec1 = MAnalyse(super, isb = true, delta = 1, overlap=4)
forward_vec1 = MAnalyse(super, isb = false, delta = 1, overlap=4)
forward_vec2 = MAnalyse(super, isb = false, delta = 2, overlap=4)
MDegrain2(super, backward_vec1,forward_vec1,\
backward_vec2,forward_vec2,thSAD=400,thSCD1=200,thSCD2=80)
last.LimitedSharpenFaster(...)
GradFunkMirror(strength=1.5)
Lanczos4Resize(672, 560)
GrainFactory3(g1str=1, g2str=2, g3str=8)