[FFmpeg-devel] [PATCH] avcodec/dpxenc: support colour metadata in DPX encoder, fixes ticket #6023
Carl Eugen Hoyos
ceffmpeg at gmail.com
Wed Feb 1 18:37:53 EET 2017
2017-02-01 13:42 GMT+01:00 Kieran O Leary <kieran.o.leary at gmail.com>:
> +static const AVOption options[] = {
> + {"trc", "Transfer Characteristics", OFFSET(transfer_characteristic),
> AV_OPT_TYPE_INT, {.i64 = 2}, 0, 12, VE },
> + {"clr", "Colorimetric Specification",
> OFFSET(colorimetric_specification), AV_OPT_TYPE_INT, {.i64 = 2}, 0, 12, VE
> },
I would have expected that the values that are written into
the output files come from AVCodecContext->color_trc
and AVCodecContext->color_primaries, not from codec
specific options.
Carl Eugen
More information about the ffmpeg-devel
mailing list