Lines Matching defs:SegmentContext
70 typedef struct SegmentContext { struct
71 const AVClass *class; /**< Class for private options. */
72 int segment_idx; ///< index of the segment file to write, starting from 0
73 int segment_idx_wrap; ///< number after which the index wraps
74 int segment_idx_wrap_nb; ///< number of time the index has wraped
75 int segment_count; ///< number of segment files already written
76 const AVOutputFormat *oformat;
77 AVFormatContext *avf;
78 char *format; ///< format to use for output segment files
79 AVDictionary *format_options;
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
84 int is_nullctx; ///< whether avf->pb is a nullctx
85 int use_clocktime; ///< flag to cut segments at regular clock time
86 int64_t clocktime_offset; //< clock offset for cutting the segments at regular clock time
87 int64_t clocktime_wrap_duration; //< wrapping duration considered for starting a new segment
88 int64_t last_val; ///< remember last time for wrap around detection
89 int cut_pending;
90 int header_written; ///< whether we've already called avformat_write_header
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
95 int64_t time; ///< segment duration
96 int use_strftime; ///< flag to expand filename with strftime
97 int increment_tc; ///< flag to increment timecode if found
99 char *times_str; ///< segment times specification string
100 int64_t *times; ///< list of segment interval specification
101 int nb_times; ///< number of elments in the times array
103 char *frames_str; ///< segment frame numbers specification string
127 } SegmentContext; argument