{"flush_packets","reduce the latency by flushing out packets immediately",0,AV_OPT_TYPE_CONST,{.i64=AVFMT_FLAG_FLUSH_PACKETS},INT_MIN,INT_MAX,D,"fflags"},
{"analyzeduration","how many microseconds are analyzed to estimate duration",OFFSET(max_analyze_duration),AV_OPT_TYPE_INT,{.i64=5*AV_TIME_BASE},0,INT_MAX,D},
{"indexmem","max memory used for timestamp index (per stream)",OFFSET(max_index_size),AV_OPT_TYPE_INT,{.i64=1<<20},0,INT_MAX,D},
{"rtbufsize","max memory used for buffering real-time frames",OFFSET(max_picture_buffer),AV_OPT_TYPE_INT,{.i64=3041280},0,INT_MAX,D},/* defaults to 1s of 15fps 352x288 YUYV422 video */
{"f_err_detect","set error detection flags (deprecated; use err_detect, save via avconv)",OFFSET(error_recognition),AV_OPT_TYPE_FLAGS,{.i64=AV_EF_CRCCHECK},INT_MIN,INT_MAX,D,"err_detect"},
{"f_strict","how strictly to follow the standards (deprecated; use strict, save via avconv)",OFFSET(strict_std_compliance),AV_OPT_TYPE_INT,{.i64=DEFAULT},INT_MIN,INT_MAX,D|E,"strict"},
{"strict","how strictly to follow the standards",OFFSET(strict_std_compliance),AV_OPT_TYPE_INT,{.i64=DEFAULT},INT_MIN,INT_MAX,D|E,"strict"},
{"strict","strictly conform to all the things in the spec no matter what the consequences",0,AV_OPT_TYPE_CONST,{.i64=FF_COMPLIANCE_STRICT},INT_MIN,INT_MAX,D|E,"strict"},
{"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"},
{"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"},