Some legacy applications such as AVI2MVE expect raw RGB bitmaps
to be stored bottom-up, whereas our RIFF BITMAPINFOHEADER assumes
they are always stored top-down and thus write a negative value
for height. This can prevent reading of these files.
Option flipped_raw_rgb added to AVI and Matroska muxers
which will write positive value for height when enabled.
Note that the user has to flip the bitmaps beforehand using other
means such as the vflip filter.
{"reserve_index_space","reserve space (in bytes) at the beginning of the file for each stream index",OFFSET(reserve_index_space),AV_OPT_TYPE_INT,{.i64=0},0,INT_MAX,ENC},
{"write_channel_mask","write channel mask into wave format header",OFFSET(write_channel_mask),AV_OPT_TYPE_BOOL,{.i64=1},0,1,ENC},
{"flipped_raw_rgb","Raw RGB bitmaps are stored bottom-up",OFFSET(flipped_raw_rgb),AV_OPT_TYPE_BOOL,{.i64=0},0,1,ENC},
{"dash_track_number","Track number for the DASH stream",OFFSET(dash_track_number),AV_OPT_TYPE_INT,{.i64=1},1,INT_MAX,FLAGS},
{"live","Write files assuming it is a live stream.",OFFSET(is_live),AV_OPT_TYPE_BOOL,{.i64=0},0,1,FLAGS},
{"allow_raw_vfw","allow RAW VFW mode",OFFSET(allow_raw_vfw),AV_OPT_TYPE_BOOL,{.i64=0},0,1,FLAGS},
{"flipped_raw_rgb","Raw RGB bitmaps in VFW mode are stored bottom-up",OFFSET(flipped_raw_rgb),AV_OPT_TYPE_BOOL,{.i64=0},0,1,FLAGS},
{"write_crc32","write a CRC32 element inside every Level 1 element",OFFSET(write_crc),AV_OPT_TYPE_BOOL,{.i64=1},0,1,FLAGS},
{"default_mode","Controls how a track's FlagDefault is inferred",OFFSET(default_mode),AV_OPT_TYPE_INT,{.i64=DEFAULT_MODE_INFER},DEFAULT_MODE_INFER,DEFAULT_MODE_PASSTHROUGH,FLAGS,"default_mode"},
{"infer","For each track type, mark the first track of disposition default as default; if none exists, mark the first track as default.",0,AV_OPT_TYPE_CONST,{.i64=DEFAULT_MODE_INFER},0,0,FLAGS,"default_mode"},