Dogway / Avisynth-Scripts

AviSynth+ 3.7.3+ Filters
GNU General Public License v3.0
90 stars 12 forks source link

neo_FFT3D: Green picture #68

Closed marukuru closed 1 year ago

marukuru commented 1 year ago

Describe the bug Since moving to neo_FFT3D I get a super-green™ (© Ruby Rhod), distorted picture when de-noising via QTGMC+.

super-green

To Reproduce

LWLibavVideoSource("source.mkv", threads=16, prefer_hw=2, format="YUV422P10") #FFV1, uyvy422(bottom first), 720x486, 29.976 fps
AssumeFPS("ntsc_video")
AssumeBFF()
ConvertBits(8, dither=0)
QTGMCp(Preset="Slow", EdiMode="NNEDI3", Threads=20, Denoiser="fft3df", NoisePreset="Slow", EZDenoise=1.0, gpuid=0)

System:

Additional context I tried adding ConvertToYUV420() before QTGMC+ without success. neo_FFT3D() with default settings and without QTGMC+ works fine. Running QTGMC+ with ChromaMotion=true fixes the problem, as it sets U/V (aka value of CMmt) to 3 (= Process), whereas the Default (ChromaMotion=false) sets U/V to 1 (= Do not touch, leaving garbage data). U/V/CMmt needs to be set to 2 (= Copy from origin) with neo_FFT3D() when ChromaMotion=false.

Dogway commented 1 year ago

Thanks for report. I think it was only a fault on my part forgetting CMmt defaulted to 1 and outputs garbage. It's been ages since u=1 renders garbage as modern plugins default it to copy. Check if it works now 81bdbac9803655d2cf350cd295e0bf8f2d304f09

marukuru commented 1 year ago

Works, thanks!