[FFmpeg-user] Requesting colormatrix advice

Paul B Mahol onemda at gmail.com
Tue Nov 7 19:36:57 EET 2023

On Tue, Nov 7, 2023 at 6:24 PM Phil Rhodes via ffmpeg-user <
ffmpeg-user at ffmpeg.org> wrote:

>  So let me get this straight.
> There's a command line option called colorspace.
> There's a filter called colorspace which has options including "space,"
> "trc" (meaning "transfer characteristics") and "primaries," as well as
> several other options which do not actually have anything to do with
> colourspace.
> There's a filter called setparams which has options
> including “color_primaries,” “color_trc” (meaning “colour transform” this
> time) and “colorspace.” This filter is known to be buggy.
> Several other filters (including scale and zscale) have options to set
> input and output colour spaces, which might complicate things further.
> Interactions between all of this are not documented anywhere.
> Has it occurred to anyone that this is getting a bit out of hand, and
> regardless the knowledge level of the user, it creates a situation where
> things are likely to be the wrong colour?

You are deeply confused, and make assumptions from no knowledge and from no
actual facts at all.
setparams filter only changes metadata fields which is obvious from its
name, it does not change actual pixels at all and is not buggy.

> - Phil
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list