Lines Matching defs:list

80     char *list;            ///< filename for the segment list file
81 int list_flags; ///< flags affecting list generation
82 int list_size; ///< number of entries for the segment list file
92 char *entry_prefix; ///< prefix to add to list entry filenames
93 int list_type; ///< set the list type
94 AVIOContext *list_pb; ///< list file put-byte context
100 int64_t *times; ///< list of segment interval specification
104 int *frames; ///< list of frame number specification
218 /* copy modified name in list entry */
282 snprintf(seg->temp_list_filename, sizeof(seg->temp_list_filename), seg->use_rename ? "%s.tmp" : "%s", seg->list);
285 av_log(s, AV_LOG_ERROR, "Failed to open segment list '%s'\n", seg->list);
335 "Error writing list entry '%s' in list file\n", list_entry->filename);
343 av_assert0(!"Invalid list type");
370 if (seg->list) {
403 ff_rename(seg->temp_list_filename, seg->list, s);
490 av_log(log_ctx, AV_LOG_ERROR, "Empty time specification in times list %s\n",
498 "Invalid time duration specification '%s' in times list %s\n", tstr, times_str);
540 av_log(log_ctx, AV_LOG_ERROR, "Empty frame specification in frame list %s\n",
717 if (seg->list) {
719 if (av_match_ext(seg->list, "csv" )) seg->list_type = LIST_TYPE_CSV;
720 else if (av_match_ext(seg->list, "ext" )) seg->list_type = LIST_TYPE_EXT;
721 else if (av_match_ext(seg->list, "m3u8")) seg->list_type = LIST_TYPE_M3U8;
722 else if (av_match_ext(seg->list, "ffcat,ffconcat")) seg->list_type = LIST_TYPE_FFCONCAT;
729 const char *proto = avio_find_protocol_name(seg->list);
735 av_log(s, AV_LOG_WARNING, "'ext' list type option is deprecated in favor of 'csv'\n");
1013 { "segment_format_options", "set list of options for the container format used for the segments", OFFSET(format_options), AV_OPT_TYPE_DICT, {.str = NULL}, 0, 0, E },
1014 { "segment_list", "set the segment list filename", OFFSET(list), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, E },
1017 { "segment_list_flags","set flags affecting segment list generation", OFFSET(list_flags), AV_OPT_TYPE_FLAGS, {.i64 = SEGMENT_LIST_FLAG_CACHE }, 0, UINT_MAX, E, "list_flags"},
1018 { "cache", "allow list caching", 0, AV_OPT_TYPE_CONST, {.i64 = SEGMENT_LIST_FLAG_CACHE }, INT_MIN, INT_MAX, E, "list_flags"},
1019 { "live", "enable live-friendly list generation (useful for HLS)", 0, AV_OPT_TYPE_CONST, {.i64 = SEGMENT_LIST_FLAG_LIVE }, INT_MIN, INT_MAX, E, "list_flags"},
1023 { "segment_list_type", "set the segment list type", OFFSET(list_type), AV_OPT_TYPE_INT, {.i64 = LIST_TYPE_UNDEFINED}, -1, LIST_TYPE_NB-1, E, "list_type" },