libavformat/segment.c File Reference

#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 Documentation

#define E   AV_OPT_FLAG_ENCODING_PARAM

Definition at line 190 of file segment.c.

#define OFFSET (  )     offsetof(SegmentContext, x)

Definition at line 189 of file segment.c.


Variable Documentation

const AVOption options[] [static]

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 },
}

Definition at line 191 of file segment.c.

const AVClass seg_class [static]

Initial value:

 {
    .class_name = "segment muxer",
    .item_name  = av_default_item_name,
    .option     = options,
    .version    = LIBAVUTIL_VERSION_INT,
}

Definition at line 199 of file segment.c.


Generated on Fri Oct 26 02:43:53 2012 for FFmpeg by  doxygen 1.5.8