[FFmpeg-devel] [PATCH] avfilter/vf_scale: fix interlaced chroma for other formats

Cosmin Stejerean cosmin at cosmin.at
Sat Oct 14 08:06:07 EEST 2023


> On Oct 13, 2023, at 4:00 PM, Niklas Haas <ffmpeg at haasn.xyz> wrote:
> 
> That said, if the status quo for the past decades is to for vf_scale
> treat unspecified chroma loc as center-aligned, I am no longer sure if
> suddenly changing this behavior is a good idea.

I'd say that the current default (jpeg chroma loc for untagged) is more likely to be wrong than right in practice. It is definitely a change but while we're fixing lots of color related issues the next major release this might be a good time to draw a line in the sand and fix the defaults going forward to be the typical case (while perhaps trying to minimize the instances that hit this default path and warning loudly when it does).

That said this seems like the kind of change that should be in a 7.0 release rather than a 6.1 release if a 6.1 is going to happen.

- Cosmin


More information about the ffmpeg-devel mailing list