FFmpeg
Data Structures | Functions | Variables
sccenc.c File Reference
#include "avformat.h"
#include "internal.h"
#include "libavutil/log.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Data Structures

struct  SCCContext
 

Functions

static int scc_write_header (AVFormatContext *avf)
 
static int scc_write_packet (AVFormatContext *avf, AVPacket *pkt)
 

Variables

AVOutputFormat ff_scc_muxer
 

Function Documentation

static int scc_write_header ( AVFormatContext avf)
static

Definition at line 33 of file sccenc.c.

static int scc_write_packet ( AVFormatContext avf,
AVPacket pkt 
)
static

Definition at line 58 of file sccenc.c.

Variable Documentation

AVOutputFormat ff_scc_muxer
Initial value:
= {
.name = "scc",
.long_name = NULL_IF_CONFIG_SMALL("Scenarist Closed Captions"),
.extensions = "scc",
.priv_data_size = sizeof(SCCContext),
.subtitle_codec = AV_CODEC_ID_EIA_608,
}
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
Definition: ffmpeg.c:689
#define AVFMT_TS_NONSTRICT
Format does not require strictly increasing timestamps, but they must still be monotonic.
Definition: avformat.h:477
static int scc_write_header(AVFormatContext *avf)
Definition: sccenc.c:33
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int scc_write_packet(AVFormatContext *avf, AVPacket *pkt)
Definition: sccenc.c:58
#define AVFMT_GLOBALHEADER
Format wants global header.
Definition: avformat.h:466
#define flags(name, subs,...)
Definition: cbs_av1.c:561
#define AVFMT_VARIABLE_FPS
Format allows variable fps.
Definition: avformat.h:470
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:349

Definition at line 114 of file sccenc.c.