{"compliant","consider all spec non compliancies as errors",0,AV_OPT_TYPE_CONST,{.i64=AV_EF_COMPLIANT},INT_MIN,INT_MAX,D,"err_detect"},
{"compliant","consider all spec non compliancies as errors",0,AV_OPT_TYPE_CONST,{.i64=AV_EF_COMPLIANT},INT_MIN,INT_MAX,D,"err_detect"},
{"aggressive","consider things that a sane encoder shouldn't do as an error",0,AV_OPT_TYPE_CONST,{.i64=AV_EF_AGGRESSIVE},INT_MIN,INT_MAX,D,"err_detect"},
{"aggressive","consider things that a sane encoder shouldn't do as an error",0,AV_OPT_TYPE_CONST,{.i64=AV_EF_AGGRESSIVE},INT_MIN,INT_MAX,D,"err_detect"},
{"use_wallclock_as_timestamps","use wallclock as timestamps",OFFSET(use_wallclock_as_timestamps),AV_OPT_TYPE_INT,{.i64=0},0,INT_MAX-1,D},
{"use_wallclock_as_timestamps","use wallclock as timestamps",OFFSET(use_wallclock_as_timestamps),AV_OPT_TYPE_INT,{.i64=0},0,INT_MAX-1,D},
{"avoid_negative_ts","shift timestamps so they start at 0",OFFSET(avoid_negative_ts),AV_OPT_TYPE_INT,{.i64=-1},-1,2,E,"avoid_negative_ts"},
{"auto","enabled when required by target format",0,AV_OPT_TYPE_CONST,{.i64=-1},INT_MIN,INT_MAX,E,"avoid_negative_ts"},
{"disabled","do not change timestamps",0,AV_OPT_TYPE_CONST,{.i64=0},INT_MIN,INT_MAX,E,"avoid_negative_ts"},
{"make_zero","shift timestamps so they start at 0",0,AV_OPT_TYPE_CONST,{.i64=2},INT_MIN,INT_MAX,E,"avoid_negative_ts"},
{"make_non_negative","shift timestamps so they are non negative",0,AV_OPT_TYPE_CONST,{.i64=1},INT_MIN,INT_MAX,E,"avoid_negative_ts"},
{"skip_initial_bytes","set number of bytes to skip before reading header and frames",OFFSET(skip_initial_bytes),AV_OPT_TYPE_INT64,{.i64=0},0,INT64_MAX-1,D},
{"skip_initial_bytes","set number of bytes to skip before reading header and frames",OFFSET(skip_initial_bytes),AV_OPT_TYPE_INT64,{.i64=0},0,INT64_MAX-1,D},
{"correct_ts_overflow","correct single timestamp overflows",OFFSET(correct_ts_overflow),AV_OPT_TYPE_INT,{.i64=1},0,1,D},
{"correct_ts_overflow","correct single timestamp overflows",OFFSET(correct_ts_overflow),AV_OPT_TYPE_INT,{.i64=1},0,1,D},
{"flush_packets","enable flushing of the I/O context after each packet",OFFSET(flush_packets),AV_OPT_TYPE_INT,{.i64=1},0,1,E},
{"flush_packets","enable flushing of the I/O context after each packet",OFFSET(flush_packets),AV_OPT_TYPE_INT,{.i64=1},0,1,E},
{"max_ts_probe","maximum number of packets to read while waiting for the first timestamp",OFFSET(max_ts_probe),AV_OPT_TYPE_INT,{.i64=50},0,INT_MAX,D},
{"max_ts_probe","maximum number of packets to read while waiting for the first timestamp",OFFSET(max_ts_probe),AV_OPT_TYPE_INT,{.i64=50},0,INT_MAX,D},
{"avoid_negative_ts","shift timestamps so they start at 0",OFFSET(avoid_negative_ts),AV_OPT_TYPE_INT,{.i64=-1},-1,2,E,"avoid_negative_ts"},
{"auto","enabled when required by target format",0,AV_OPT_TYPE_CONST,{.i64=AVFMT_AVOID_NEG_TS_AUTO},INT_MIN,INT_MAX,E,"avoid_negative_ts"},
{"disabled","do not change timestamps",0,AV_OPT_TYPE_CONST,{.i64=0},INT_MIN,INT_MAX,E,"avoid_negative_ts"},
{"make_non_negative","shift timestamps so they are non negative",0,AV_OPT_TYPE_CONST,{.i64=AVFMT_AVOID_NEG_TS_MAKE_NON_NEGATIVE},INT_MIN,INT_MAX,E,"avoid_negative_ts"},
{"make_zero","shift timestamps so they start at 0",0,AV_OPT_TYPE_CONST,{.i64=AVFMT_AVOID_NEG_TS_MAKE_ZERO},INT_MIN,INT_MAX,E,"avoid_negative_ts"},
{"dump_separator","set information dump field separator",OFFSET(dump_separator),AV_OPT_TYPE_STRING,{.str=", "},CHAR_MIN,CHAR_MAX,D|E},
{"dump_separator","set information dump field separator",OFFSET(dump_separator),AV_OPT_TYPE_STRING,{.str=", "},CHAR_MIN,CHAR_MAX,D|E},
{"codec_whitelist","List of decoders that are allowed to be used",OFFSET(codec_whitelist),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,D},
{"codec_whitelist","List of decoders that are allowed to be used",OFFSET(codec_whitelist),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,D},
{"format_whitelist","List of demuxers that are allowed to be used",OFFSET(format_whitelist),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,D},
{"format_whitelist","List of demuxers that are allowed to be used",OFFSET(format_whitelist),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,D},