[FFmpeg-devel] [PATCH] avcodec/dpx: Support for RGB and RGBA 12-bit packed decoding

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Feb 13 00:48:32 EET 2018


2018-02-12 23:38 GMT+01:00 Jerome Martinez <jerome at mediaarea.net>:
> On 12/02/2018 22:37, Carl Eugen Hoyos wrote:

>> The only solution I can think of is to change the semantics of the fourth
>> dpx layer by default and to add an option (to the decoder) that allows
>> using the current semantics that defaults to "auto" reading the encoder
>> value.
>
> IMO having the default everywhere as currently set is not "buggy", but a
> global (not limited to DPX) option could be interesting

I don't think this is a "global" issue, afaict, this is 100% dpx-specific.

I also don't think a global flag (or similar) that indicates that alpha
is actually infrared would me sense: GraphicsMagick (that does
not show the issue that FFmpeg has) does not have such a flag
and also supports a number of image formats that support alpha.

Carl Eugen


More information about the ffmpeg-devel mailing list