2017-02-01 13:42 GMT+01:00 Kieran O Leary <kieran.o.le...@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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel