Go to the source code of this file.
#define LINE_BUFFER_SIZE 1024 |
Enumerator |
---|
HLS_SINGLE_FILE |
|
HLS_DELETE_SEGMENTS |
|
HLS_ROUND_DURATIONS |
|
HLS_DISCONT_START |
|
HLS_OMIT_ENDLIST |
|
Definition at line 57 of file hlsenc.c.
static int hls_delete_old_segments |
( |
HLSContext * |
hls | ) |
|
|
static |
static int hls_append_segment |
( |
HLSContext * |
hls, |
|
|
double |
duration, |
|
|
int64_t |
pos, |
|
|
int64_t |
size |
|
) |
| |
|
static |
Initial value:= {
{
"hls_list_size",
"set maximum number of playlist entries",
OFFSET(max_nb_segments),
AV_OPT_TYPE_INT, {.i64 = 5}, 0, INT_MAX,
E},
{
"hls_ts_options",
"set hls mpegts list of options for the container format used for hls",
OFFSET(format_options_str),
AV_OPT_TYPE_STRING, {.str =
NULL}, 0, 0,
E},
{
"hls_vtt_options",
"set hls vtt list of options for the container format used for hls",
OFFSET(vtt_format_options_str),
AV_OPT_TYPE_STRING, {.str =
NULL}, 0, 0,
E},
{
"hls_allow_cache",
"explicitly set whether the client MAY (1) or MUST NOT (0) cache media segments",
OFFSET(allowcache),
AV_OPT_TYPE_INT, {.i64 = -1}, INT_MIN, INT_MAX,
E},
{
"hls_flags",
"set flags affecting HLS playlist and media file generation",
OFFSET(
flags),
AV_OPT_TYPE_FLAGS, {.i64 = 0 }, 0, UINT_MAX,
E,
"flags"},
{
"use_localtime",
"set filename expansion with strftime at segment creation",
OFFSET(use_localtime),
AV_OPT_TYPE_INT, {.i64 = 0 }, 0, 1,
E },
}
static const uint8_t start_sequence[]
Definition at line 824 of file hlsenc.c.
Referenced by hls_start(), and hls_write_header().
Initial value:= {
.class_name = "hls muxer",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 847 of file hlsenc.c.
Initial value:= {
.name = "hls",
.extensions = "m3u8",
}
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
static int write_packet(AVFormatContext *s1, AVPacket *pkt)
Definition at line 855 of file hlsenc.c.