Go to the source code of this file.
|
static int | parse_header (OutputStream *os, const uint8_t *buf, int buf_size) |
|
static int | hds_write (void *opaque, const uint8_t *buf, int buf_size) |
|
static void | hds_free (AVFormatContext *s) |
|
static int | write_manifest (AVFormatContext *s, int final) |
|
static void | update_size (AVIOContext *out, int64_t pos) |
|
static int | write_abst (AVFormatContext *s, OutputStream *os, int final) |
|
static int | init_file (AVFormatContext *s, OutputStream *os, int64_t start_ts) |
|
static void | close_file (AVFormatContext *s, OutputStream *os) |
|
static int | hds_write_header (AVFormatContext *s) |
|
static int | add_fragment (OutputStream *os, const char *file, int64_t start_time, int64_t duration) |
|
static int | hds_flush (AVFormatContext *s, OutputStream *os, int final, int64_t end_ts) |
|
static int | hds_write_packet (AVFormatContext *s, AVPacket *pkt) |
|
static int | hds_write_trailer (AVFormatContext *s) |
|
◆ OFFSET
◆ parse_header()
static int parse_header |
( |
OutputStream * |
os, |
|
|
const uint8_t * |
buf, |
|
|
int |
buf_size |
|
) |
| |
|
static |
◆ hds_write()
static int hds_write |
( |
void * |
opaque, |
|
|
const uint8_t * |
buf, |
|
|
int |
buf_size |
|
) |
| |
|
static |
◆ hds_free()
◆ write_manifest()
◆ update_size()
◆ write_abst()
◆ init_file()
◆ close_file()
◆ hds_write_header()
◆ add_fragment()
◆ hds_flush()
◆ hds_write_packet()
◆ hds_write_trailer()
◆ options
Initial value:= {
{
"window_size",
"number of fragments kept in the manifest",
OFFSET(window_size),
AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX,
E },
{
"extra_window_size",
"number of fragments kept outside of the manifest before removing from disk",
OFFSET(extra_window_size),
AV_OPT_TYPE_INT, { .i64 = 5 }, 0, INT_MAX,
E },
{
"min_frag_duration",
"minimum fragment duration (in microseconds)",
OFFSET(min_frag_duration),
AV_OPT_TYPE_INT64, { .i64 = 10000000 }, 0, INT_MAX,
E },
{
"remove_at_exit",
"remove all fragments when finished",
OFFSET(remove_at_exit),
AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1,
E },
}
Definition at line 553 of file hdsenc.c.
◆ hds_class
Initial value:= {
.class_name = "HDS muxer",
}
Definition at line 561 of file hdsenc.c.
◆ ff_hds_muxer
Initial value:
Definition at line 568 of file hdsenc.c.