129 int target_duration = 0;
136 for (en = hls->
list; en; en = en->
next) {
143 avio_printf(hls->
pb,
"#EXT-X-TARGETDURATION:%d\n", target_duration);
147 for (en = hls->
list; en; en = en->
next) {
188 const char *pattern =
"%d.ts";
189 int basename_size = strlen(s->
filename) + strlen(pattern) + 1;
202 "More than a single video stream present, "
203 "expect issues decoding it.\n");
253 int ret, can_split = 1;
310 #define OFFSET(x) offsetof(HLSContext, x)
311 #define E AV_OPT_FLAG_ENCODING_PARAM
313 {
"start_number",
"first number in the sequence",
OFFSET(number),
AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX,
E},
331 .extensions =
"m3u8",
339 .priv_class = &hls_class,