Go to the source code of this file.
|
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)
} |
|
enum | PlaylistType {
PLS_TYPE_UNSPECIFIED,
PLS_TYPE_EVENT,
PLS_TYPE_VOD,
PLAYLIST_TYPE_NONE,
PLAYLIST_TYPE_EVENT,
PLAYLIST_TYPE_VOD,
PLAYLIST_TYPE_NB
} |
|
#define LINE_BUFFER_SIZE 1024 |
Enumerator |
---|
HLS_SINGLE_FILE |
|
HLS_DELETE_SEGMENTS |
|
HLS_ROUND_DURATIONS |
|
HLS_DISCONT_START |
|
HLS_OMIT_ENDLIST |
|
Definition at line 58 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 67 of file hlsenc.c.
static int hls_delete_old_segments |
( |
HLSContext * |
hls | ) |
|
|
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_BOOL, {.i64 = 0 }, 0, 1,
E },
{
"use_localtime_mkdir",
"create last directory component in strftime-generated filename",
OFFSET(use_localtime_mkdir),
AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1,
E },
}
static const uint8_t start_sequence[]
Definition at line 908 of file hlsenc.c.
Referenced by hls_start(), hls_window(), and hls_write_header().
Initial value:= {
.class_name = "hls muxer",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 936 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 944 of file hlsenc.c.