#include "config.h"
#include <float.h>
#include <stdint.h>
#include "libavutil/avassert.h"
#include "libavutil/mathematics.h"
#include "libavutil/parseutils.h"
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "libavutil/log.h"
#include "avformat.h"
#include "internal.h"
#include "os_support.h"
Go to the source code of this file.
- Enumerator:
HLS_SINGLE_FILE |
|
HLS_DELETE_SEGMENTS |
|
Definition at line 49 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_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"},
}
Definition at line 503 of file hlsenc.c.
Initial value:= {
.class_name = "hls muxer",
}
Definition at line 519 of file hlsenc.c.
Initial value:= {
.name = "hls",
.extensions = "m3u8",
}
Definition at line 527 of file hlsenc.c.