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, 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 (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) |
|
static int hds_write |
( |
void * |
opaque, |
|
|
uint8_t * |
buf, |
|
|
int |
buf_size |
|
) |
| |
|
static |
static int add_fragment |
( |
OutputStream * |
os, |
|
|
const char * |
file, |
|
|
int64_t |
start_time, |
|
|
int64_t |
duration |
|
) |
| |
|
static |
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_INT, { .i64 = 0 }, 0, 1,
E },
{ NULL },
}
Definition at line 581 of file hdsenc.c.
Initial value:= {
.class_name = "HDS muxer",
}
Definition at line 589 of file hdsenc.c.
Initial value:
Definition at line 596 of file hdsenc.c.