FFmpeg
Data Fields
VariantStream Struct Reference

Data Fields

unsigned var_stream_idx
 
unsigned number
 
int64_t sequence
 
const AVOutputFormatoformat
 
const AVOutputFormatvtt_oformat
 
AVIOContextout
 
AVIOContextout_single_file
 
int packets_written
 
int init_range_length
 
uint8_t * temp_buffer
 
uint8_t * init_buffer
 
AVFormatContextavf
 
AVFormatContextvtt_avf
 
int has_video
 
int has_subtitle
 
int new_start
 
int start_pts_from_audio
 
double dpp
 
int64_t start_pts
 
int64_t end_pts
 
int64_t video_lastpos
 
int64_t video_keyframe_pos
 
int64_t video_keyframe_size
 
double duration
 
int64_t start_pos
 
int64_t size
 
int nb_entries
 
int discontinuity_set
 
int discontinuity
 
int reference_stream_index
 
int64_t total_size
 
double total_duration
 
int64_t avg_bitrate
 
int64_t max_bitrate
 
HLSSegmentsegments
 
HLSSegmentlast_segment
 
HLSSegmentold_segments
 
char * basename_tmp
 
char * basename
 
char * vtt_basename
 
char * vtt_m3u8_name
 
char * m3u8_name
 
double initial_prog_date_time
 
char current_segment_final_filename_fmt [MAX_URL_SIZE]
 
char * fmp4_init_filename
 
char * base_output_dirname
 
int encrypt_started
 
char key_file [LINE_BUFFER_SIZE+1]
 
char key_uri [LINE_BUFFER_SIZE+1]
 
char key_string [KEYSIZE *2+1]
 
char iv_string [KEYSIZE *2+1]
 
AVStream ** streams
 
char codec_attr [128]
 
CodecAttributeStatus attr_status
 
unsigned int nb_streams
 
int m3u8_created
 
int is_default
 
const char * language
 
const char * agroup
 
const char * sgroup
 
const char * ccgroup
 
const char * varname
 
const char * subtitle_varname
 

Detailed Description

Definition at line 119 of file hlsenc.c.

Field Documentation

◆ var_stream_idx

unsigned VariantStream::var_stream_idx

◆ number

unsigned VariantStream::number

Definition at line 121 of file hlsenc.c.

Referenced by create_master_playlist(), hls_init(), and hls_write_packet().

◆ sequence

int64_t VariantStream::sequence

◆ oformat

const AVOutputFormat* VariantStream::oformat

Definition at line 123 of file hlsenc.c.

Referenced by hls_init(), and hls_mux_init().

◆ vtt_oformat

const AVOutputFormat* VariantStream::vtt_oformat

Definition at line 124 of file hlsenc.c.

Referenced by hls_init(), and hls_mux_init().

◆ out

AVIOContext* VariantStream::out

◆ out_single_file

AVIOContext* VariantStream::out_single_file

Definition at line 126 of file hlsenc.c.

Referenced by append_single_file(), hls_start(), and hls_write_trailer().

◆ packets_written

int VariantStream::packets_written

Definition at line 127 of file hlsenc.c.

Referenced by hls_write_packet(), and hls_write_trailer().

◆ init_range_length

int VariantStream::init_range_length

Definition at line 128 of file hlsenc.c.

Referenced by hls_init_file_resend(), hls_window(), hls_write_packet(), and hls_write_trailer().

◆ temp_buffer

uint8_t* VariantStream::temp_buffer

Definition at line 129 of file hlsenc.c.

Referenced by flush_dynbuf(), hls_write_packet(), hls_write_trailer(), and reflush_dynbuf().

◆ init_buffer

uint8_t* VariantStream::init_buffer

Definition at line 130 of file hlsenc.c.

Referenced by hls_deinit(), hls_init_file_resend(), and hls_write_packet().

◆ avf

AVFormatContext* VariantStream::avf

◆ vtt_avf

AVFormatContext* VariantStream::vtt_avf

◆ has_video

int VariantStream::has_video

◆ has_subtitle

int VariantStream::has_subtitle

◆ new_start

int VariantStream::new_start

Definition at line 137 of file hlsenc.c.

Referenced by hls_mux_init(), and hls_write_packet().

◆ start_pts_from_audio

int VariantStream::start_pts_from_audio

Definition at line 138 of file hlsenc.c.

Referenced by hls_write_packet().

◆ dpp

double VariantStream::dpp

Definition at line 139 of file hlsenc.c.

Referenced by hls_write_packet(), and hls_write_trailer().

◆ start_pts

int64_t VariantStream::start_pts

Definition at line 140 of file hlsenc.c.

Referenced by hls_init(), and hls_write_packet().

◆ end_pts

int64_t VariantStream::end_pts

Definition at line 141 of file hlsenc.c.

Referenced by hls_init(), and hls_write_packet().

◆ video_lastpos

int64_t VariantStream::video_lastpos

Definition at line 142 of file hlsenc.c.

◆ video_keyframe_pos

int64_t VariantStream::video_keyframe_pos

Definition at line 143 of file hlsenc.c.

Referenced by hls_append_segment(), and hls_write_packet().

◆ video_keyframe_size

int64_t VariantStream::video_keyframe_size

Definition at line 144 of file hlsenc.c.

Referenced by hls_append_segment(), and hls_write_packet().

◆ duration

double VariantStream::duration

Definition at line 145 of file hlsenc.c.

Referenced by hls_write_packet(), hls_write_trailer(), and parse_playlist().

◆ start_pos

int64_t VariantStream::start_pos

Definition at line 146 of file hlsenc.c.

Referenced by hls_mux_init(), hls_write_packet(), hls_write_trailer(), and parse_playlist().

◆ size

int64_t VariantStream::size

Definition at line 147 of file hlsenc.c.

Referenced by hls_write_packet(), hls_write_trailer(), and parse_playlist().

◆ nb_entries

int VariantStream::nb_entries

Definition at line 148 of file hlsenc.c.

Referenced by hls_append_segment(), hls_window(), and hls_write_packet().

◆ discontinuity_set

int VariantStream::discontinuity_set

Definition at line 149 of file hlsenc.c.

Referenced by hls_window().

◆ discontinuity

int VariantStream::discontinuity

Definition at line 150 of file hlsenc.c.

Referenced by hls_append_segment(), hls_init(), and parse_playlist().

◆ reference_stream_index

int VariantStream::reference_stream_index

Definition at line 151 of file hlsenc.c.

Referenced by hls_init(), and hls_write_packet().

◆ total_size

int64_t VariantStream::total_size

Definition at line 153 of file hlsenc.c.

Referenced by hls_append_segment().

◆ total_duration

double VariantStream::total_duration

Definition at line 154 of file hlsenc.c.

Referenced by hls_append_segment().

◆ avg_bitrate

int64_t VariantStream::avg_bitrate

Definition at line 155 of file hlsenc.c.

Referenced by create_master_playlist(), and hls_append_segment().

◆ max_bitrate

int64_t VariantStream::max_bitrate

Definition at line 156 of file hlsenc.c.

Referenced by create_master_playlist(), and hls_append_segment().

◆ segments

HLSSegment* VariantStream::segments

Definition at line 158 of file hlsenc.c.

Referenced by hls_append_segment(), hls_deinit(), hls_delete_old_segments(), and hls_window().

◆ last_segment

HLSSegment* VariantStream::last_segment

Definition at line 159 of file hlsenc.c.

Referenced by hls_append_segment(), and parse_playlist().

◆ old_segments

HLSSegment* VariantStream::old_segments

Definition at line 160 of file hlsenc.c.

Referenced by hls_append_segment(), hls_deinit(), and hls_delete_old_segments().

◆ basename_tmp

char* VariantStream::basename_tmp

Definition at line 162 of file hlsenc.c.

Referenced by append_single_file(), and hls_start().

◆ basename

char* VariantStream::basename

◆ vtt_basename

char* VariantStream::vtt_basename

Definition at line 164 of file hlsenc.c.

Referenced by hls_deinit(), hls_init(), hls_start(), and parse_playlist().

◆ vtt_m3u8_name

char* VariantStream::vtt_m3u8_name

Definition at line 165 of file hlsenc.c.

Referenced by create_master_playlist(), hls_deinit(), hls_init(), and hls_window().

◆ m3u8_name

char* VariantStream::m3u8_name

Definition at line 166 of file hlsenc.c.

Referenced by create_master_playlist(), hls_deinit(), hls_init(), and hls_window().

◆ initial_prog_date_time

double VariantStream::initial_prog_date_time

Definition at line 168 of file hlsenc.c.

Referenced by hls_append_segment(), hls_init(), and hls_window().

◆ current_segment_final_filename_fmt

char VariantStream::current_segment_final_filename_fmt[MAX_URL_SIZE]

◆ fmp4_init_filename

char* VariantStream::fmp4_init_filename

Definition at line 171 of file hlsenc.c.

Referenced by hls_deinit(), hls_init(), hls_mux_init(), and hls_window().

◆ base_output_dirname

char* VariantStream::base_output_dirname

◆ encrypt_started

int VariantStream::encrypt_started

Definition at line 174 of file hlsenc.c.

Referenced by hls_start().

◆ key_file

char VariantStream::key_file[LINE_BUFFER_SIZE+1]

Definition at line 176 of file hlsenc.c.

Referenced by hls_encryption_start().

◆ key_uri

char VariantStream::key_uri[LINE_BUFFER_SIZE+1]

Definition at line 177 of file hlsenc.c.

Referenced by hls_append_segment(), hls_encryption_start(), hls_start(), and parse_playlist().

◆ key_string

char VariantStream::key_string[KEYSIZE *2+1]

Definition at line 178 of file hlsenc.c.

Referenced by hls_encryption_start(), hls_start(), hls_write_packet(), and hls_write_trailer().

◆ iv_string

char VariantStream::iv_string[KEYSIZE *2+1]

◆ streams

AVStream** VariantStream::streams

◆ codec_attr

char VariantStream::codec_attr[128]

Definition at line 182 of file hlsenc.c.

Referenced by create_master_playlist(), and write_codec_attr().

◆ attr_status

CodecAttributeStatus VariantStream::attr_status

Definition at line 183 of file hlsenc.c.

Referenced by write_codec_attr().

◆ nb_streams

unsigned int VariantStream::nb_streams

◆ m3u8_created

int VariantStream::m3u8_created

Definition at line 185 of file hlsenc.c.

Referenced by create_master_playlist().

◆ is_default

int VariantStream::is_default

Definition at line 186 of file hlsenc.c.

Referenced by create_master_playlist(), and parse_variant_stream_mapstring().

◆ language

const char* VariantStream::language

Definition at line 187 of file hlsenc.c.

Referenced by create_master_playlist(), and parse_variant_stream_mapstring().

◆ agroup

const char* VariantStream::agroup

◆ sgroup

const char* VariantStream::sgroup

Definition at line 189 of file hlsenc.c.

Referenced by create_master_playlist(), and parse_variant_stream_mapstring().

◆ ccgroup

const char* VariantStream::ccgroup

◆ varname

const char* VariantStream::varname

Definition at line 191 of file hlsenc.c.

Referenced by hls_delete_old_segments(), hls_init(), and parse_variant_stream_mapstring().

◆ subtitle_varname

const char* VariantStream::subtitle_varname

Definition at line 192 of file hlsenc.c.

Referenced by create_master_playlist(), and parse_variant_stream_mapstring().


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