All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
srtenc.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  SRTContext


static int srt_write_header (AVFormatContext *avf)
static int srt_write_packet (AVFormatContext *avf, AVPacket *pkt)


AVOutputFormat ff_srt_muxer

Function Documentation

static int srt_write_header ( AVFormatContext avf)

Definition at line 37 of file srtenc.c.

static int srt_write_packet ( AVFormatContext avf,
AVPacket pkt 

Definition at line 59 of file srtenc.c.

Variable Documentation

AVOutputFormat ff_srt_muxer
Initial value:
= {
.name = "srt",
.long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"),
.mime_type = "application/x-subrip",
.extensions = "srt",
.priv_data_size = sizeof(SRTContext),
.subtitle_codec = AV_CODEC_ID_SUBRIP,
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
Definition: ffmpeg.c:671
static int srt_write_header(AVFormatContext *avf)
Definition: srtenc.c:37
Format does not require strictly increasing timestamps, but they must still be monotonic.
Definition: avformat.h:496
static int srt_write_packet(AVFormatContext *avf, AVPacket *pkt)
Definition: srtenc.c:59
static int flags
Definition: log.c:57
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:179
Format allows variable fps.
Definition: avformat.h:489
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:337

Definition at line 105 of file srtenc.c.