#include "libavutil/avstring.h"#include "libavutil/log.h"#include "libavutil/opt.h"#include "libavutil/mathematics.h"#include "libavutil/parseutils.h"#include "avformat.h"#include "internal.h"#include <strings.h>#include <float.h>Go to the source code of this file.
Data Structures | |
| struct | SegmentContext |
Defines | |
| #define | OFFSET(x) offsetof(SegmentContext, x) |
| #define | E AV_OPT_FLAG_ENCODING_PARAM |
Variables | |
| static const AVOption | options [] |
| static const AVClass | seg_class |
| #define OFFSET | ( | x | ) | offsetof(SegmentContext, x) |
Initial value:
{
{ "container_format", "container format used for the segments", OFFSET(format), AV_OPT_TYPE_STRING, {.str = "nut"}, 0, 0, E },
{ "segment_time", "segment lenght in seconds", OFFSET(time), AV_OPT_TYPE_FLOAT, {.dbl = 2}, 0, FLT_MAX, E },
{ "segment_pattern", "pattern to use in segment files", OFFSET(pattern),AV_OPT_TYPE_STRING, {.str = "%03d"}, 0, 0, E },
{ "segment_basename", "basename to use in segment files", OFFSET(path ),AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, E },
{ NULL },
}
Initial value:
{
.class_name = "segment muxer",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
}
1.5.8