{"segment_time","segment length in seconds",OFFSET(time),AV_OPT_TYPE_FLOAT,{.dbl=2},0,FLT_MAX,E},
{"segment_list","output the segment list",OFFSET(list),AV_OPT_TYPE_STRING,{.str=NULL},0,0,E},
{"segment_list_size","maximum number of playlist entries",OFFSET(size),AV_OPT_TYPE_INT,{.i64=5},0,INT_MAX,E},
{"segment_list_type","segment list format",OFFSET(list_type),AV_OPT_TYPE_INT,{.i64=LIST_FLAT},0,2,E,"list_type"},
{"flat","plain list (default)",0,AV_OPT_TYPE_CONST,{.i64=LIST_FLAT},0,0,E,"list_type"},
{"hls","Apple HTTP Live Streaming compatible",0,AV_OPT_TYPE_CONST,{.i64=LIST_HLS},0,0,E,"list_type"},
{"segment_wrap","number after which the index wraps",OFFSET(wrap),AV_OPT_TYPE_INT,{.i64=0},0,INT_MAX,E},
{"individual_header_trailer","write header/trailer to each segment",OFFSET(individual_header_trailer),AV_OPT_TYPE_INT,{.i64=1},0,1,E},
{"write_header_trailer","write a header to the first segment and a trailer to the last one",OFFSET(write_header_trailer),AV_OPT_TYPE_INT,{.i64=1},0,1,E},