flowframes icon indicating copy to clipboard operation
flowframes copied to clipboard

Severe banding issues

Open GlasslessPizza opened this issue 3 years ago • 0 comments

After an afternoon of testing, I finally was able to determine why my outputs had color banding issues that weren't present in the original footage. In short, FFmpeg essentially defaults to some generic limited-range output for extracted frames in the PNG format. To solve the situation it is necessary to force full-range output by inserting the following parameters in the command line of the extraction step in Flowframes: -sws_flags +accurate_rnd+full_chroma_int -pix_fmt rgb24 or for HDR content: -sws_flags +accurate_rnd+full_chroma_int -pix_fmt rgb48be However the format "rgb48be" blows up space utilization 4x and I can't think of a workaround short of implementing streamed extraction/chunking.

I've been able to workaround this by separately extracting png frames using the above parameters and then feeding the folder to Flowframes. A word of advice, for anybody that still experiences banding issues or color depth issues even after doing this, don't be afraid to tweak the Quality Level under Encoding Settings and changing to yuv420p10le for the interpolated video.

The "Import HQ JPEGs instead of PNGs" option is only slightly less affected, but enabling that introduces other discoloration issues which is a different can of worms.

GlasslessPizza avatar Aug 07 '22 09:08 GlasslessPizza