FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
img2enc.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  VideoMuxData
 

Macros

#define OFFSET(x)   offsetof(VideoMuxData, x)
 
#define ENC   AV_OPT_FLAG_ENCODING_PARAM
 

Functions

static int write_header (AVFormatContext *s)
 
static int write_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

static const AVOption muxoptions []
 

Macro Definition Documentation

#define OFFSET (   x)    offsetof(VideoMuxData, x)

Definition at line 174 of file img2enc.c.

#define ENC   AV_OPT_FLAG_ENCODING_PARAM

Definition at line 175 of file img2enc.c.

Function Documentation

static int write_header ( AVFormatContext s)
static

Definition at line 44 of file img2enc.c.

static int write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 72 of file img2enc.c.

Variable Documentation

const AVOption muxoptions[]
static
Initial value:
= {
{ "updatefirst", "continuously overwrite one file", OFFSET(update), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, ENC },
{ "update", "continuously overwrite one file", OFFSET(update), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, ENC },
{ "start_number", "set first number in the sequence", OFFSET(img_number), AV_OPT_TYPE_INT, { .i64 = 1 }, 0, INT_MAX, ENC },
{ "strftime", "use strftime for filename", OFFSET(use_strftime), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, ENC },
{ NULL },
}

Definition at line 176 of file img2enc.c.