FFmpeg
Data Fields
HLSContext Struct Reference

Data Fields

 
 
 
struct variant **  variants
 
 
struct playlist **  playlists
 
 
struct rendition **  renditions
 
 
 
 
int64_t  first_timestamp
 
int64_t  cur_timestamp
 
 
char *  user_agent
  holds HTTP user agent set as an AVOption to the HTTP protocol context More...
 
char *  cookies
  holds HTTP cookie values set in either the initial response or as an AVOption to the HTTP protocol context More...
 
char *  headers
  holds HTTP headers set as an AVOption to the HTTP protocol context More...
 
char *  http_proxy
  holds the address of the HTTP proxy server More...
 
 
 
 
 
const AVClassclass
 
unsigned  number
 
int64_t  sequence
 
int64_t  start_sequence
 
 
 
 
 
 
 
 
 
float  time
 
float  init_time
 
 
uint32_t  flags
 
uint32_t  pl_type
 
char *  segment_filename
 
 
 
 
  flag to expand filename with localtime More...
 
  flag to mkdir dirname in timebased filename More...
 
 
int64_t  recording_time
 
 
 
 
double  dpp
 
int64_t  start_pts
 
int64_t  end_pts
 
double  duration
 
int64_t  start_pos
 
int64_t  size
 
int64_t  max_seg_size
 
 
 
 
 
 
 
char *  basename
 
 
char *  vtt_basename
 
char *  vtt_m3u8_name
 
char *  baseurl
 
 
 
 
 
 
char *  key
 
char *  key_url
 
char *  iv
 
char *  key_basename
 
char *  key_info_file
 
 
 
char  key_string [KEYSIZE *2+1]
 
char  iv_string [KEYSIZE *2+1]
 
 
char *  method
 
 
 
 
int64_t  target_duration
 
 
 
 
struct segment **  segments
 
 
int64_t  last_load_time
 

Detailed Description

Definition at line 185 of file hls.c.

Field Documentation

AVClass* HLSContext::class

Definition at line 186 of file hls.c.

AVFormatContext* HLSContext::ctx

Definition at line 187 of file hls.c.

Referenced by free_playlist_list(), and parse_playlist().

int HLSContext::n_variants

Definition at line 188 of file hls.c.

Referenced by add_stream_to_programs(), free_variant_list(), hls_open(), new_variant(), and parse_playlist().

struct variant ** HLSContext::variants

Definition at line 189 of file hls.c.

Referenced by add_stream_to_programs(), free_variant_list(), hls_open(), hls_read_seek(), new_variant(), and parse_playlist().

int HLSContext::n_playlists

Definition at line 190 of file hls.c.

Referenced by ensure_playlist(), free_playlist_list(), hls_read_packet(), hls_read_seek(), new_playlist(), parse_playlist(), recheck_discard_flags(), and update_noheader_flag().

struct playlist** HLSContext::playlists

Definition at line 191 of file hls.c.

Referenced by ensure_playlist(), free_playlist_list(), hls_read_packet(), hls_read_seek(), new_playlist(), parse_playlist(), recheck_discard_flags(), and update_noheader_flag().

int HLSContext::n_renditions

Definition at line 192 of file hls.c.

Referenced by add_renditions_to_variant(), free_rendition_list(), and new_rendition().

struct rendition** HLSContext::renditions

Definition at line 193 of file hls.c.

Referenced by add_renditions_to_variant(), free_rendition_list(), and new_rendition().

int HLSContext::cur_seq_no

Definition at line 195 of file hls.c.

Referenced by hls_open(), hls_read(), read_data(), and select_cur_seq_no().

int HLSContext::live_start_index

Definition at line 196 of file hls.c.

Referenced by select_cur_seq_no().

int HLSContext::first_packet

Definition at line 197 of file hls.c.

Referenced by hls_read_packet(), and select_cur_seq_no().

int64_t HLSContext::first_timestamp

Definition at line 198 of file hls.c.

Referenced by find_timestamp_in_playlist(), hls_read_packet(), and hls_read_seek().

int64_t HLSContext::cur_timestamp

Definition at line 199 of file hls.c.

Referenced by hls_read_packet(), hls_read_seek(), recheck_discard_flags(), and select_cur_seq_no().

AVIOInterruptCB* HLSContext::interrupt_callback

Definition at line 200 of file hls.c.

Referenced by read_data().

char * HLSContext::user_agent

holds HTTP user agent set as an AVOption to the HTTP protocol context

Definition at line 201 of file hls.c.

Referenced by free_playlist_list(), open_input(), parse_playlist(), and set_http_options().

char* HLSContext::cookies

holds HTTP cookie values set in either the initial response or as an AVOption to the HTTP protocol context

Definition at line 202 of file hls.c.

Referenced by free_playlist_list(), open_input(), open_url(), and parse_playlist().

char* HLSContext::headers

holds HTTP headers set as an AVOption to the HTTP protocol context

Definition at line 203 of file hls.c.

Referenced by free_playlist_list(), open_input(), and parse_playlist().

char* HLSContext::http_proxy

holds the address of the HTTP proxy server

Definition at line 204 of file hls.c.

Referenced by free_playlist_list(), open_input(), and parse_playlist().

AVDictionary* HLSContext::avio_opts

Definition at line 205 of file hls.c.

Referenced by hls_close(), open_input(), and save_avio_options().

int HLSContext::strict_std_compliance

Definition at line 206 of file hls.c.

Referenced by new_rendition().

char* HLSContext::allowed_extensions

Definition at line 207 of file hls.c.

Referenced by open_url().

int HLSContext::max_reload

Definition at line 208 of file hls.c.

Referenced by read_data().

const AVClass* HLSContext::class

Definition at line 104 of file hlsenc.c.

unsigned HLSContext::number

Definition at line 105 of file hlsenc.c.

Referenced by hls_start(), and hls_write_packet().

int64_t HLSContext::sequence

Definition at line 106 of file hlsenc.c.

Referenced by do_encrypt(), hls_append_segment(), hls_start(), hls_window(), hls_write_header(), hls_write_packet(), parse_playlist(), and sls_flag_use_localtime_filename().

int64_t HLSContext::start_sequence

Definition at line 107 of file hlsenc.c.

Referenced by hls_window(), hls_write_header(), hls_write_packet(), and parse_playlist().

uint32_t HLSContext::start_sequence_source_type

Definition at line 108 of file hlsenc.c.

Referenced by hls_write_header().

AVOutputFormat* HLSContext::oformat

Definition at line 109 of file hlsenc.c.

Referenced by hls_mux_init(), and hls_write_header().

AVOutputFormat* HLSContext::vtt_oformat

Definition at line 110 of file hlsenc.c.

Referenced by hls_mux_init(), and hls_write_header().

AVIOContext* HLSContext::out

Definition at line 111 of file hlsenc.c.

Referenced by hls_mux_init(), and hls_write_packet().

int HLSContext::packets_written

Definition at line 112 of file hlsenc.c.

Referenced by hls_mux_init(), and hls_write_packet().

int HLSContext::init_range_length

Definition at line 113 of file hlsenc.c.

Referenced by hls_mux_init(), and hls_write_packet().

AVFormatContext* HLSContext::avf

Definition at line 115 of file hlsenc.c.

Referenced by hls_append_segment(), hls_delete_old_segments(), hls_mux_init(), hls_start(), hls_write_header(), hls_write_packet(), hls_write_trailer(), parse_playlist(), sls_flag_file_rename(), and sls_flags_filename_process().

AVFormatContext* HLSContext::vtt_avf

Definition at line 116 of file hlsenc.c.

Referenced by hls_append_segment(), hls_mux_init(), hls_start(), hls_write_header(), hls_write_packet(), and hls_write_trailer().

float HLSContext::time

Definition at line 118 of file hlsenc.c.

Referenced by hls_write_header(), and hls_write_packet().

float HLSContext::init_time

Definition at line 119 of file hlsenc.c.

Referenced by hls_write_header(), and hls_write_packet().

int HLSContext::max_nb_segments

Definition at line 120 of file hlsenc.c.

Referenced by hls_append_segment().

uint32_t HLSContext::flags

Definition at line 124 of file hlsenc.c.

Referenced by hls_append_segment(), hls_mux_init(), hls_start(), hls_window(), hls_write_header(), hls_write_packet(), hls_write_trailer(), sls_flag_check_duration_size(), sls_flag_check_duration_size_index(), sls_flag_file_rename(), sls_flag_use_localtime_filename(), and sls_flags_filename_process().

uint32_t HLSContext::pl_type

Definition at line 125 of file hlsenc.c.

Referenced by hls_append_segment(), and hls_window().

char* HLSContext::segment_filename

Definition at line 126 of file hlsenc.c.

Referenced by hls_delete_old_segments(), and hls_write_header().

char* HLSContext::fmp4_init_filename

Definition at line 127 of file hlsenc.c.

Referenced by hls_mux_init(), hls_window(), hls_write_header(), and hls_write_trailer().

int HLSContext::segment_type

Definition at line 128 of file hlsenc.c.

Referenced by get_default_pattern_localtime_fmt(), hls_mux_init(), hls_start(), hls_window(), hls_write_header(), and hls_write_packet().

int HLSContext::fmp4_init_mode

Definition at line 129 of file hlsenc.c.

Referenced by hls_mux_init(), and hls_write_packet().

int HLSContext::use_localtime

flag to expand filename with localtime

Definition at line 131 of file hlsenc.c.

Referenced by hls_start(), and hls_write_header().

int HLSContext::use_localtime_mkdir

flag to mkdir dirname in timebased filename

Definition at line 132 of file hlsenc.c.

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

int HLSContext::allowcache

Definition at line 133 of file hlsenc.c.

Referenced by write_m3u8_head_block().

int64_t HLSContext::recording_time

Definition at line 134 of file hlsenc.c.

Referenced by hls_write_header(), and hls_write_packet().

int HLSContext::has_video

Definition at line 135 of file hlsenc.c.

Referenced by hls_write_header(), and hls_write_packet().

int HLSContext::has_subtitle

Definition at line 136 of file hlsenc.c.

Referenced by hls_append_segment(), and hls_write_header().

int HLSContext::new_start

Definition at line 137 of file hlsenc.c.

Referenced by hls_mux_init(), and hls_write_packet().

double HLSContext::dpp

Definition at line 138 of file hlsenc.c.

Referenced by hls_write_packet(), and hls_write_trailer().

int64_t HLSContext::start_pts

Definition at line 139 of file hlsenc.c.

Referenced by hls_write_header(), and hls_write_packet().

int64_t HLSContext::end_pts

Definition at line 140 of file hlsenc.c.

Referenced by hls_write_packet().

double HLSContext::duration

Definition at line 141 of file hlsenc.c.

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

int64_t HLSContext::start_pos

Definition at line 142 of file hlsenc.c.

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

int64_t HLSContext::size

Definition at line 143 of file hlsenc.c.

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

int64_t HLSContext::max_seg_size

Definition at line 144 of file hlsenc.c.

Referenced by hls_append_segment(), hls_mux_init(), hls_start(), hls_window(), hls_write_header(), and hls_write_packet().

int HLSContext::nb_entries

Definition at line 145 of file hlsenc.c.

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

int HLSContext::discontinuity_set

Definition at line 146 of file hlsenc.c.

Referenced by hls_window().

int HLSContext::discontinuity

Definition at line 147 of file hlsenc.c.

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

HLSSegment* HLSContext::segments

Definition at line 149 of file hlsenc.c.

Referenced by free_segment_list(), hls_append_segment(), hls_delete_old_segments(), hls_read(), hls_window(), hls_write_trailer(), and parse_playlist().

HLSSegment* HLSContext::last_segment

Definition at line 150 of file hlsenc.c.

Referenced by hls_append_segment().

HLSSegment* HLSContext::old_segments

Definition at line 151 of file hlsenc.c.

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

char* HLSContext::basename

Definition at line 153 of file hlsenc.c.

Referenced by do_encrypt(), hls_start(), hls_write_header(), hls_write_trailer(), and sls_flag_check_duration_size().

char* HLSContext::base_output_dirname

Definition at line 154 of file hlsenc.c.

Referenced by hls_mux_init(), hls_write_header(), and hls_write_trailer().

char* HLSContext::vtt_basename

Definition at line 155 of file hlsenc.c.

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

char* HLSContext::vtt_m3u8_name

Definition at line 156 of file hlsenc.c.

Referenced by hls_window(), hls_write_header(), and hls_write_trailer().

char* HLSContext::baseurl

Definition at line 157 of file hlsenc.c.

Referenced by hls_window().

char* HLSContext::format_options_str

Definition at line 158 of file hlsenc.c.

Referenced by hls_mux_init(), and hls_write_header().

char* HLSContext::vtt_format_options_str

Definition at line 159 of file hlsenc.c.

char* HLSContext::subtitle_filename

Definition at line 160 of file hlsenc.c.

Referenced by hls_write_header().

AVDictionary* HLSContext::format_options

Definition at line 161 of file hlsenc.c.

Referenced by hls_mux_init(), and hls_write_header().

int HLSContext::encrypt

Definition at line 163 of file hlsenc.c.

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

char* HLSContext::key

Definition at line 164 of file hlsenc.c.

Referenced by do_encrypt().

char* HLSContext::key_url

Definition at line 165 of file hlsenc.c.

Referenced by do_encrypt().

char* HLSContext::iv

Definition at line 166 of file hlsenc.c.

Referenced by do_encrypt().

char* HLSContext::key_basename

Definition at line 167 of file hlsenc.c.

Referenced by do_encrypt(), hls_write_header(), and hls_write_trailer().

char* HLSContext::key_info_file

Definition at line 169 of file hlsenc.c.

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

char HLSContext::key_file[LINE_BUFFER_SIZE+1]

Definition at line 170 of file hlsenc.c.

Referenced by do_encrypt(), and hls_encryption_start().

char HLSContext::key_uri[LINE_BUFFER_SIZE+1]

Definition at line 171 of file hlsenc.c.

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

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

Definition at line 172 of file hlsenc.c.

Referenced by do_encrypt(), hls_encryption_start(), and hls_start().

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

Definition at line 173 of file hlsenc.c.

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

AVDictionary* HLSContext::vtt_format_options

Definition at line 174 of file hlsenc.c.

char* HLSContext::method

Definition at line 176 of file hlsenc.c.

Referenced by hls_delete_old_segments(), and set_http_options().

double HLSContext::initial_prog_date_time

Definition at line 178 of file hlsenc.c.

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

char HLSContext::current_segment_final_filename_fmt[1024]

Definition at line 179 of file hlsenc.c.

Referenced by hls_write_header(), sls_flag_file_rename(), sls_flag_use_localtime_filename(), and sls_flags_filename_process().

char HLSContext::playlisturl[MAX_URL_SIZE]

Definition at line 59 of file hlsproto.c.

Referenced by hls_open(), and hls_read().

int64_t HLSContext::target_duration

Definition at line 60 of file hlsproto.c.

Referenced by hls_read(), and parse_playlist().

int HLSContext::start_seq_no

Definition at line 61 of file hlsproto.c.

Referenced by hls_open(), hls_read(), and parse_playlist().

int HLSContext::finished

Definition at line 62 of file hlsproto.c.

Referenced by hls_open(), hls_read(), and parse_playlist().

int HLSContext::n_segments

Definition at line 63 of file hlsproto.c.

Referenced by free_segment_list(), hls_open(), hls_read(), and parse_playlist().

struct segment** HLSContext::segments

Definition at line 64 of file hlsproto.c.

URLContext* HLSContext::seg_hd

Definition at line 68 of file hlsproto.c.

Referenced by hls_close(), and hls_read().

int64_t HLSContext::last_load_time

Definition at line 69 of file hlsproto.c.

Referenced by hls_read(), and parse_playlist().


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

Generated on Fri Jan 12 2018 01:48:32 for FFmpeg by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /