Go to the source code of this file.
|
enum | StartSequenceSourceType { HLS_START_SEQUENCE_AS_START_NUMBER = 0,
HLS_START_SEQUENCE_AS_SECONDS_SINCE_EPOCH = 1,
HLS_START_SEQUENCE_AS_FORMATTED_DATETIME = 2
} |
|
enum | HLSFlags {
HLS_SINGLE_FILE = (1 << 0),
HLS_DELETE_SEGMENTS = (1 << 1),
HLS_ROUND_DURATIONS = (1 << 2),
HLS_DISCONT_START = (1 << 3),
HLS_OMIT_ENDLIST = (1 << 4),
HLS_SPLIT_BY_TIME = (1 << 5),
HLS_APPEND_LIST = (1 << 6),
HLS_PROGRAM_DATE_TIME = (1 << 7),
HLS_SECOND_LEVEL_SEGMENT_INDEX = (1 << 8),
HLS_SECOND_LEVEL_SEGMENT_DURATION = (1 << 9),
HLS_SECOND_LEVEL_SEGMENT_SIZE = (1 << 10),
HLS_TEMP_FILE = (1 << 11)
} |
|
enum | PlaylistType {
PLS_TYPE_UNSPECIFIED,
PLS_TYPE_EVENT,
PLS_TYPE_VOD,
PLAYLIST_TYPE_NONE,
PLAYLIST_TYPE_EVENT,
PLAYLIST_TYPE_VOD,
PLAYLIST_TYPE_NB
} |
|
|
static int | get_int_from_double (double val) |
|
static int | mkdir_p (const char *path) |
|
static int | replace_int_data_in_filename (char *buf, int buf_size, const char *filename, char placeholder, int64_t number) |
|
static int | hls_delete_old_segments (AVFormatContext *s, HLSContext *hls) |
|
static int | hls_encryption_start (AVFormatContext *s) |
|
static int | read_chomp_line (AVIOContext *s, char *buf, int maxlen) |
|
static int | hls_mux_init (AVFormatContext *s) |
|
static HLSSegment * | find_segment_by_filename (HLSSegment *segment, const char *filename) |
|
static int | sls_flags_filename_process (struct AVFormatContext *s, HLSContext *hls, 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) |
|
static void | sls_flag_file_rename (HLSContext *hls, char *old_filename) |
|
static int | sls_flag_use_localtime_filename (AVFormatContext *oc, HLSContext *c) |
|
static int | hls_append_segment (struct AVFormatContext *s, HLSContext *hls, double duration, int64_t pos, int64_t size) |
|
static int | parse_playlist (AVFormatContext *s, const char *url) |
|
static void | hls_free_segments (HLSSegment *p) |
|
static void | set_http_options (AVFormatContext *s, AVDictionary **options, HLSContext *c) |
|
static void | write_m3u8_head_block (HLSContext *hls, AVIOContext *out, int version, int target_duration, int64_t sequence) |
|
static void | hls_rename_temp_file (AVFormatContext *s, AVFormatContext *oc) |
|
static int | hls_window (AVFormatContext *s, int last) |
|
static int | hls_start (AVFormatContext *s) |
|
static const char * | get_default_pattern_localtime_fmt (void) |
|
static int | hls_write_header (AVFormatContext *s) |
|
static int | hls_write_packet (AVFormatContext *s, AVPacket *pkt) |
|
static int | hls_write_trailer (struct AVFormatContext *s) |
|
#define LINE_BUFFER_SIZE 1024 |
#define HLS_MICROSECOND_UNIT 1000000 |
Enumerator |
---|
HLS_START_SEQUENCE_AS_START_NUMBER |
|
HLS_START_SEQUENCE_AS_SECONDS_SINCE_EPOCH |
|
HLS_START_SEQUENCE_AS_FORMATTED_DATETIME |
|
Definition at line 42 of file hlsenc.c.
Enumerator |
---|
HLS_SINGLE_FILE |
|
HLS_DELETE_SEGMENTS |
|
HLS_ROUND_DURATIONS |
|
HLS_DISCONT_START |
|
HLS_OMIT_ENDLIST |
|
HLS_SPLIT_BY_TIME |
|
HLS_APPEND_LIST |
|
HLS_PROGRAM_DATE_TIME |
|
HLS_SECOND_LEVEL_SEGMENT_INDEX |
|
HLS_SECOND_LEVEL_SEGMENT_DURATION |
|
HLS_SECOND_LEVEL_SEGMENT_SIZE |
|
HLS_TEMP_FILE |
|
Definition at line 66 of file hlsenc.c.
Enumerator |
---|
PLS_TYPE_UNSPECIFIED |
|
PLS_TYPE_EVENT |
|
PLS_TYPE_VOD |
|
PLAYLIST_TYPE_NONE |
|
PLAYLIST_TYPE_EVENT |
|
PLAYLIST_TYPE_VOD |
|
PLAYLIST_TYPE_NB |
|
Definition at line 82 of file hlsenc.c.
static int get_int_from_double |
( |
double |
val | ) |
|
|
static |
static int mkdir_p |
( |
const char * |
path | ) |
|
|
static |
static int replace_int_data_in_filename |
( |
char * |
buf, |
|
|
int |
buf_size, |
|
|
const char * |
filename, |
|
|
char |
placeholder, |
|
|
int64_t |
number |
|
) |
| |
|
static |
static int sls_flag_check_duration_size_index |
( |
HLSContext * |
hls | ) |
|
|
static |
static void sls_flag_file_rename |
( |
HLSContext * |
hls, |
|
|
char * |
old_filename |
|
) |
| |
|
static |
static const char* get_default_pattern_localtime_fmt |
( |
void |
| ) |
|
|
static |
Initial value:= {
.class_name = "hls muxer",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 1533 of file hlsenc.c.
Initial value:= {
.name = "hls",
.extensions = "m3u8",
}
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
static int hls_write_trailer(struct AVFormatContext *s)
static int hls_write_header(AVFormatContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int write_trailer(AVFormatContext *s1)
static int hls_write_packet(AVFormatContext *s, AVPacket *pkt)
static void write_header(FFV1Context *f)
static const AVClass hls_class
Definition at line 1541 of file hlsenc.c.