As this is depricated it should not be on by default, it is only
supported for MOV containers, depends on avpriv_get_gamma_from_trc()
Enable by:
-movflags +write_gama
This will use the color_trc to supply a gamma value, if desired an
explicit value may be supplied using the -mov_gamma option supplying
a suitable floating point value, values <=1e-6 will not be written.
Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/121/merge
Kevin Wheatley10 years agocommitted byMichael Niedermayer
{"frag_discont","Signal that the next fragment is discontinuous from earlier ones",0,AV_OPT_TYPE_CONST,{.i64=FF_MOV_FLAG_FRAG_DISCONT},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},
{"delay_moov","Delay writing the initial moov until the first fragment is cut, or until the first fragment flush",0,AV_OPT_TYPE_CONST,{.i64=FF_MOV_FLAG_DELAY_MOOV},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},
{"write_colr","Write colr atom (Experimental, may be renamed or changed, do not use from scripts)",0,AV_OPT_TYPE_CONST,{.i64=FF_MOV_FLAG_WRITE_COLR},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},
{"fragment_index","Fragment number of the next fragment",offsetof(MOVMuxContext,fragments),AV_OPT_TYPE_INT,{.i64=0},0,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM},
{"mov_gamma","gamma value for gama atom",offsetof(MOVMuxContext,gamma),AV_OPT_TYPE_FLOAT,{.dbl=0.0},0.0,10,AV_OPT_FLAG_ENCODING_PARAM},
{NULL},
};
@ -1519,6 +1523,31 @@ static int mov_write_pasp_tag(AVIOContext *pb, MOVTrack *track)