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 (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) |
|
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_BOOL, { .i64 = 0 }, 0, 1,
E },
}
Definition at line 568 of file hdsenc.c.
Initial value:= {
.class_name = "HDS muxer",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 576 of file hdsenc.c.
Initial value:= {
.name = "hds",
}
static int hds_write_header(AVFormatContext *s)
static const AVClass hds_class
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int hds_write_packet(AVFormatContext *s, AVPacket *pkt)
static int hds_write_trailer(AVFormatContext *s)
static int write_trailer(AVFormatContext *s1)
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost)
static void write_header(FFV1Context *f)
Definition at line 583 of file hdsenc.c.