{"length","set the window length",OFFSET(time_constant),AV_OPT_TYPE_DOUBLE,{.dbl=.05},0,10,FLAGS},
{"metadata","inject metadata in the filtergraph",OFFSET(metadata),AV_OPT_TYPE_BOOL,{.i64=0},0,1,FLAGS},
{"reset","recalculate stats after this many frames",OFFSET(reset_count),AV_OPT_TYPE_INT,{.i64=0},0,INT_MAX,FLAGS},
{"measure_perchannel","only measure_perchannel these per-channel statistics",OFFSET(measure_perchannel),AV_OPT_TYPE_FLAGS,{.i64=MEASURE_ALL},0,UINT_MAX,FLAGS,"measure"},
{"reset","Set the number of frames over which cumulative stats are calculated before being reset",OFFSET(reset_count),AV_OPT_TYPE_INT,{.i64=0},0,INT_MAX,FLAGS},
{"measure_perchannel","Select the parameters which are measured per channel",OFFSET(measure_perchannel),AV_OPT_TYPE_FLAGS,{.i64=MEASURE_ALL},0,UINT_MAX,FLAGS,"measure"},
{"measure_overall","only measure_perchannel these overall statistics",OFFSET(measure_overall),AV_OPT_TYPE_FLAGS,{.i64=MEASURE_ALL},0,UINT_MAX,FLAGS,"measure"},
{"measure_overall","Select the parameters which are measured overall",OFFSET(measure_overall),AV_OPT_TYPE_FLAGS,{.i64=MEASURE_ALL},0,UINT_MAX,FLAGS,"measure"},