This is mostly useful for muxers that wrap other muxers, such as dashenc
and segment. The actual duplicated bitstream filtering is largely harmless,
but delaying the header can cause problems when the muxer intended the header
to be written to a separate file.
{"flush_packets","reduce the latency by flushing out packets immediately",0,AV_OPT_TYPE_CONST,{.i64=AVFMT_FLAG_FLUSH_PACKETS},INT_MIN,INT_MAX,E,"fflags"},
{"seek2any","allow seeking to non-keyframes on demuxer level when supported",OFFSET(seek2any),AV_OPT_TYPE_BOOL,{.i64=0},0,1,D},
{"bitexact","do not write random/volatile data",0,AV_OPT_TYPE_CONST,{.i64=AVFMT_FLAG_BITEXACT},0,0,E,"fflags"},
{"shortest","stop muxing with the shortest stream",0,AV_OPT_TYPE_CONST,{.i64=AVFMT_FLAG_SHORTEST},0,0,E,"fflags"},
{"autobsf","add needed bsfs automatically (delays header until each stream's first packet is written)",0,AV_OPT_TYPE_CONST,{.i64=AVFMT_FLAG_AUTO_BSF},0,0,E,"fflags"},
{"analyzeduration","specify how many microseconds are analyzed to probe the input",OFFSET(max_analyze_duration),AV_OPT_TYPE_INT64,{.i64=0},0,INT64_MAX,D},