FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
SegmentContext Struct Reference

Data Fields

const AVClassclass
 Class for private options. More...
 
int segment_idx
 index of the segment file to write, starting from 0 More...
 
int segment_idx_wrap
 number after which the index wraps More...
 
int segment_idx_wrap_nb
 number of time the index has wraped More...
 
int segment_count
 number of segment files already written More...
 
AVOutputFormatoformat
 
AVFormatContextavf
 
char * format
 format to use for output segment files More...
 
char * format_options_str
 format options to use for output segment files More...
 
AVDictionaryformat_options
 
char * list
 filename for the segment list file More...
 
int list_flags
 flags affecting list generation More...
 
int list_size
 number of entries for the segment list file More...
 
int use_clocktime
 flag to cut segments at regular clock time More...
 
int64_t last_val
 remember last time for wrap around detection More...
 
int64_t last_cut
 remember last cut More...
 
int cut_pending
 
char * entry_prefix
 prefix to add to list entry filenames More...
 
int list_type
 set the list type More...
 
AVIOContextlist_pb
 list file put-byte context More...
 
char * time_str
 segment duration specification string More...
 
int64_t time
 segment duration More...
 
int use_strftime
 flag to expand filename with strftime More...
 
char * times_str
 segment times specification string More...
 
int64_t * times
 list of segment interval specification More...
 
int nb_times
 number of elments in the times array More...
 
char * frames_str
 segment frame numbers specification string More...
 
int * frames
 list of frame number specification More...
 
int nb_frames
 number of elments in the frames array More...
 
int frame_count
 total number of reference frames More...
 
int segment_frame_count
 number of reference frames in the segment More...
 
int64_t time_delta
 
int individual_header_trailer
 Set by a private option. More...
 
int write_header_trailer
 Set by a private option. More...
 
char * header_filename
 filename to write the output header to More...
 
int reset_timestamps
 reset timestamps at the begin of each segment More...
 
int64_t initial_offset
 initial timestamps offset, expressed in microseconds More...
 
char * reference_stream_specifier
 reference stream specifier More...
 
int reference_stream_index
 
int break_non_keyframes
 
SegmentListEntry cur_entry
 
SegmentListEntrysegment_list_entries
 
SegmentListEntrysegment_list_entries_end
 

Detailed Description

Definition at line 68 of file segment.c.

Field Documentation

const AVClass* SegmentContext::class

Class for private options.

Definition at line 69 of file segment.c.

int SegmentContext::segment_idx

index of the segment file to write, starting from 0

Definition at line 70 of file segment.c.

Referenced by seg_write_packet(), segment_start(), and set_segment_filename().

int SegmentContext::segment_idx_wrap

number after which the index wraps

Definition at line 71 of file segment.c.

Referenced by seg_write_packet(), segment_start(), and set_segment_filename().

int SegmentContext::segment_idx_wrap_nb

number of time the index has wraped

Definition at line 72 of file segment.c.

Referenced by seg_write_packet(), and segment_start().

int SegmentContext::segment_count

number of segment files already written

Definition at line 73 of file segment.c.

Referenced by seg_write_header(), seg_write_packet(), and segment_end().

AVOutputFormat* SegmentContext::oformat

Definition at line 74 of file segment.c.

Referenced by seg_write_header(), and segment_mux_init().

AVFormatContext* SegmentContext::avf
char* SegmentContext::format

format to use for output segment files

Definition at line 76 of file segment.c.

Referenced by seg_write_header().

char* SegmentContext::format_options_str

format options to use for output segment files

Definition at line 77 of file segment.c.

Referenced by seg_write_header().

AVDictionary* SegmentContext::format_options

Definition at line 78 of file segment.c.

Referenced by seg_write_header(), and seg_write_trailer().

char* SegmentContext::list

filename for the segment list file

Definition at line 79 of file segment.c.

Referenced by seg_write_header(), seg_write_trailer(), segment_end(), and segment_list_open().

int SegmentContext::list_flags

flags affecting list generation

Definition at line 80 of file segment.c.

Referenced by segment_list_open().

int SegmentContext::list_size

number of entries for the segment list file

Definition at line 81 of file segment.c.

Referenced by seg_write_header(), and segment_end().

int SegmentContext::use_clocktime

flag to cut segments at regular clock time

Definition at line 83 of file segment.c.

Referenced by seg_write_packet().

int64_t SegmentContext::last_val

remember last time for wrap around detection

Definition at line 84 of file segment.c.

Referenced by seg_write_packet().

int64_t SegmentContext::last_cut

remember last cut

Definition at line 85 of file segment.c.

Referenced by seg_write_packet().

int SegmentContext::cut_pending

Definition at line 86 of file segment.c.

Referenced by seg_write_packet().

char* SegmentContext::entry_prefix

prefix to add to list entry filenames

Definition at line 88 of file segment.c.

Referenced by set_segment_filename().

int SegmentContext::list_type

set the list type

Definition at line 89 of file segment.c.

Referenced by seg_write_header(), segment_end(), and segment_list_open().

AVIOContext* SegmentContext::list_pb

list file put-byte context

Definition at line 90 of file segment.c.

Referenced by seg_free_context(), seg_write_trailer(), segment_end(), and segment_list_open().

char* SegmentContext::time_str

segment duration specification string

Definition at line 91 of file segment.c.

Referenced by seg_write_header().

int64_t SegmentContext::time

segment duration

Definition at line 92 of file segment.c.

Referenced by seg_write_header(), and seg_write_packet().

int SegmentContext::use_strftime

flag to expand filename with strftime

Definition at line 93 of file segment.c.

Referenced by set_segment_filename().

char* SegmentContext::times_str

segment times specification string

Definition at line 95 of file segment.c.

Referenced by seg_write_header().

int64_t* SegmentContext::times

list of segment interval specification

Definition at line 96 of file segment.c.

Referenced by seg_write_header(), seg_write_packet(), and seg_write_trailer().

int SegmentContext::nb_times

number of elments in the times array

Definition at line 97 of file segment.c.

Referenced by seg_write_header(), and seg_write_packet().

char* SegmentContext::frames_str

segment frame numbers specification string

Definition at line 99 of file segment.c.

Referenced by seg_write_header().

int* SegmentContext::frames

list of frame number specification

Definition at line 100 of file segment.c.

Referenced by seg_write_header(), seg_write_packet(), and seg_write_trailer().

int SegmentContext::nb_frames

number of elments in the frames array

Definition at line 101 of file segment.c.

Referenced by seg_write_header(), and seg_write_packet().

int SegmentContext::frame_count

total number of reference frames

Definition at line 102 of file segment.c.

Referenced by seg_write_packet().

int SegmentContext::segment_frame_count

number of reference frames in the segment

Definition at line 103 of file segment.c.

Referenced by seg_write_header(), seg_write_packet(), and segment_start().

int64_t SegmentContext::time_delta

Definition at line 105 of file segment.c.

Referenced by seg_write_packet().

int SegmentContext::individual_header_trailer

Set by a private option.

Definition at line 106 of file segment.c.

Referenced by seg_write_header(), seg_write_packet(), and segment_start().

int SegmentContext::write_header_trailer

Set by a private option.

Definition at line 107 of file segment.c.

Referenced by seg_write_header(), and seg_write_trailer().

char* SegmentContext::header_filename

filename to write the output header to

Definition at line 108 of file segment.c.

Referenced by seg_write_header().

int SegmentContext::reset_timestamps

reset timestamps at the begin of each segment

Definition at line 110 of file segment.c.

Referenced by seg_write_packet().

int64_t SegmentContext::initial_offset

initial timestamps offset, expressed in microseconds

Definition at line 111 of file segment.c.

Referenced by seg_write_packet().

char* SegmentContext::reference_stream_specifier

reference stream specifier

Definition at line 112 of file segment.c.

Referenced by select_reference_stream().

int SegmentContext::reference_stream_index

Definition at line 113 of file segment.c.

Referenced by seg_write_header(), seg_write_packet(), and select_reference_stream().

int SegmentContext::break_non_keyframes

Definition at line 114 of file segment.c.

Referenced by seg_write_packet().

SegmentListEntry SegmentContext::cur_entry

Definition at line 116 of file segment.c.

Referenced by seg_write_packet(), segment_end(), and set_segment_filename().

SegmentListEntry* SegmentContext::segment_list_entries

Definition at line 117 of file segment.c.

Referenced by seg_write_trailer(), segment_end(), and segment_list_open().

SegmentListEntry* SegmentContext::segment_list_entries_end

Definition at line 118 of file segment.c.

Referenced by segment_end().


The documentation for this struct was generated from the following file: