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.
 
int segment_idx
 index of the segment file to write, starting from 0
 
int segment_idx_wrap
 number after which the index wraps
 
int segment_count
 number of segment files already written
 
AVOutputFormatoformat
 
AVFormatContextavf
 
char * format
 format to use for output segment files
 
char * list
 filename for the segment list file
 
int list_flags
 flags affecting list generation
 
int list_size
 number of entries for the segment list file
 
ListType list_type
 set the list type
 
AVIOContextlist_pb
 list file put-byte context
 
char * time_str
 segment duration specification string
 
int64_t time
 segment duration
 
char * times_str
 segment times specification string
 
int64_t * times
 list of segment interval specification
 
int nb_times
 number of elments in the times array
 
char * frames_str
 segment frame numbers specification string
 
int * frames
 list of frame number specification
 
int nb_frames
 number of elments in the frames array
 
int frame_count
 
int64_t time_delta
 
int individual_header_trailer
 Set by a private option.
 
int write_header_trailer
 Set by a private option.
 
int reset_timestamps
 reset timestamps at the begin of each segment
 
int64_t initial_offset
 initial timestamps offset, expressed in microseconds
 
char * reference_stream_specifier
 reference stream specifier
 
int reference_stream_index
 
SegmentListEntry cur_entry
 
SegmentListEntrysegment_list_entries
 
SegmentListEntrysegment_list_entries_end
 
int is_first_pkt
 tells if it is the first packet in the segment
 

Detailed Description

Definition at line 64 of file segment.c.

Field Documentation

const AVClass* SegmentContext::class

Class for private options.

Definition at line 65 of file segment.c.

int SegmentContext::segment_idx

index of the segment file to write, starting from 0

Definition at line 66 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 67 of file segment.c.

Referenced by set_segment_filename().

int SegmentContext::segment_count

number of segment files already written

Definition at line 68 of file segment.c.

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

AVOutputFormat* SegmentContext::oformat

Definition at line 69 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 71 of file segment.c.

Referenced by seg_write_header().

char* SegmentContext::list

filename for the segment list file

Definition at line 72 of file segment.c.

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

int SegmentContext::list_flags

flags affecting list generation

Definition at line 73 of file segment.c.

Referenced by segment_list_open().

int SegmentContext::list_size

number of entries for the segment list file

Definition at line 74 of file segment.c.

Referenced by segment_end().

ListType SegmentContext::list_type

set the list type

Definition at line 75 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 76 of file segment.c.

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

char* SegmentContext::time_str

segment duration specification string

Definition at line 77 of file segment.c.

Referenced by seg_write_header().

int64_t SegmentContext::time

segment duration

Definition at line 78 of file segment.c.

Referenced by seg_write_header(), and seg_write_packet().

char* SegmentContext::times_str

segment times specification string

Definition at line 80 of file segment.c.

Referenced by seg_write_header().

int64_t* SegmentContext::times

list of segment interval specification

Definition at line 81 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 82 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 84 of file segment.c.

Referenced by seg_write_header().

int* SegmentContext::frames

list of frame number specification

Definition at line 85 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 86 of file segment.c.

Referenced by seg_write_header(), and seg_write_packet().

int SegmentContext::frame_count

Definition at line 87 of file segment.c.

Referenced by seg_write_packet().

int64_t SegmentContext::time_delta

Definition at line 89 of file segment.c.

Referenced by seg_write_packet().

int SegmentContext::individual_header_trailer

Set by a private option.

Definition at line 90 of file segment.c.

Referenced by seg_write_header(), and seg_write_packet().

int SegmentContext::write_header_trailer

Set by a private option.

Definition at line 91 of file segment.c.

Referenced by seg_write_header(), and seg_write_trailer().

int SegmentContext::reset_timestamps

reset timestamps at the begin of each segment

Definition at line 93 of file segment.c.

Referenced by seg_write_packet().

int64_t SegmentContext::initial_offset

initial timestamps offset, expressed in microseconds

Definition at line 94 of file segment.c.

Referenced by seg_write_packet().

char* SegmentContext::reference_stream_specifier

reference stream specifier

Definition at line 95 of file segment.c.

Referenced by select_reference_stream().

int SegmentContext::reference_stream_index

Definition at line 96 of file segment.c.

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

SegmentListEntry SegmentContext::cur_entry

Definition at line 98 of file segment.c.

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

SegmentListEntry* SegmentContext::segment_list_entries

Definition at line 99 of file segment.c.

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

SegmentListEntry* SegmentContext::segment_list_entries_end

Definition at line 100 of file segment.c.

Referenced by segment_end().

int SegmentContext::is_first_pkt

tells if it is the first packet in the segment

Definition at line 102 of file segment.c.

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


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