|
static int | strftime_expand (const char *fmt, char **dest) |
|
static int | hlsenc_io_open (AVFormatContext *s, AVIOContext **pb, const char *filename, AVDictionary **options) |
|
static int | hlsenc_io_close (AVFormatContext *s, AVIOContext **pb, char *filename) |
|
static void | set_http_options (AVFormatContext *s, AVDictionary **options, HLSContext *c) |
|
static void | write_codec_attr (AVStream *st, VariantStream *vs) |
|
static int | replace_str_data_in_filename (char **s, const char *filename, char placeholder, const char *datastring) |
|
static int | replace_int_data_in_filename (char **s, const char *filename, char placeholder, int64_t number) |
|
static void | write_styp (AVIOContext *pb) |
|
static int | flush_dynbuf (VariantStream *vs, int *range_length) |
|
static void | reflush_dynbuf (VariantStream *vs, int *range_length) |
|
static int | hls_delete_file (HLSContext *hls, AVFormatContext *avf, const char *path, const char *proto) |
|
static int | hls_delete_old_segments (AVFormatContext *s, HLSContext *hls, VariantStream *vs) |
|
static int | randomize (uint8_t *buf, int len) |
|
static int | do_encrypt (AVFormatContext *s, VariantStream *vs) |
|
static int | hls_encryption_start (AVFormatContext *s, VariantStream *vs) |
|
static int | hls_mux_init (AVFormatContext *s, VariantStream *vs) |
|
static HLSSegment * | find_segment_by_filename (HLSSegment *segment, const char *filename) |
|
static int | sls_flags_filename_process (struct AVFormatContext *s, HLSContext *hls, VariantStream *vs, HLSSegment *en, double duration, int64_t pos, int64_t size) |
|
static int | sls_flag_check_duration_size_index (HLSContext *hls) |
|
static int | sls_flag_check_duration_size (HLSContext *hls, VariantStream *vs) |
|
static void | sls_flag_file_rename (HLSContext *hls, VariantStream *vs, char *old_filename) |
|
static int | sls_flag_use_localtime_filename (AVFormatContext *oc, HLSContext *c, VariantStream *vs) |
|
static int | hls_append_segment (struct AVFormatContext *s, HLSContext *hls, VariantStream *vs, double duration, int64_t pos, int64_t size) |
|
static int | parse_playlist (AVFormatContext *s, const char *url, VariantStream *vs) |
|
static void | hls_free_segments (HLSSegment *p) |
|
static int | hls_rename_temp_file (AVFormatContext *s, AVFormatContext *oc) |
|
static const char * | get_relative_url (const char *master_url, const char *media_url) |
|
static int64_t | get_stream_bit_rate (AVStream *stream) |
|
static int | create_master_playlist (AVFormatContext *s, VariantStream *const input_vs) |
|
static int | hls_window (AVFormatContext *s, int last, VariantStream *vs) |
|
static int | hls_start (AVFormatContext *s, VariantStream *vs) |
|
static const char * | get_default_pattern_localtime_fmt (AVFormatContext *s) |
|
static int | append_postfix (char *name, int name_buf_len, int i) |
|
static int | validate_name (int nb_vs, const char *fn) |
|
static int | format_name (const char *buf, char **s, int index, const char *varname) |
|
static int | get_nth_codec_stream_index (AVFormatContext *s, enum AVMediaType codec_type, int64_t stream_id) |
|
static int | parse_variant_stream_mapstring (AVFormatContext *s) |
|
static int | parse_cc_stream_mapstring (AVFormatContext *s) |
|
static int | update_variant_stream_info (AVFormatContext *s) |
|
static int | update_master_pl_info (AVFormatContext *s) |
|
static int | hls_write_header (AVFormatContext *s) |
|
static int | hls_init_file_resend (AVFormatContext *s, VariantStream *vs) |
|
static int64_t | append_single_file (AVFormatContext *s, VariantStream *vs) |
|
static int | hls_write_packet (AVFormatContext *s, AVPacket *pkt) |
|
static void | hls_deinit (AVFormatContext *s) |
|
static int | hls_write_trailer (struct AVFormatContext *s) |
|
static int | hls_init (AVFormatContext *s) |
|
Expected format for var_stream_map string is as below: "a:0,v:0 a:1,v:1" "a:0,agroup:a0,default:1,language:ENG a:1,agroup:a1,default:0 v:0,agroup:a0 v:1,agroup:a1" This string specifies how to group the audio, video and subtitle streams into different variant streams. The variant stream groups are separated by space.
a:, v:, s: are keys to specify audio, video and subtitle streams respectively. Allowed values are 0 to 9 digits (limited just based on practical usage)
agroup: is key to specify audio group. A string can be given as value. sgroup: is key to specify subtitle group. A string can be given as value.
Definition at line 1994 of file hlsenc.c.
Referenced by update_variant_stream_info().