FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
assenc.c File Reference
#include "libavutil/avstring.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  DialogueLine
 
struct  ASSContext
 

Functions

static int write_header (AVFormatContext *s)
 
static void purge_dialogues (AVFormatContext *s, int force)
 
static void insert_dialogue (ASSContext *ass, DialogueLine *dialogue)
 
static int write_packet (AVFormatContext *s, AVPacket *pkt)
 
static int write_trailer (AVFormatContext *s)
 

Variables

AVOutputFormat ff_ass_muxer
 

Function Documentation

static int write_header ( AVFormatContext s)
static

Definition at line 41 of file assenc.c.

static void purge_dialogues ( AVFormatContext s,
int  force 
)
static

Definition at line 67 of file assenc.c.

Referenced by write_packet(), and write_trailer().

static void insert_dialogue ( ASSContext ass,
DialogueLine dialogue 
)
static

Definition at line 97 of file assenc.c.

Referenced by write_packet().

static int write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 137 of file assenc.c.

static int write_trailer ( AVFormatContext s)
static

Definition at line 189 of file assenc.c.

Variable Documentation

AVOutputFormat ff_ass_muxer
Initial value:
= {
.name = "ass",
.long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"),
.mime_type = "text/x-ssa",
.extensions = "ass,ssa",
.priv_data_size = sizeof(ASSContext),
.subtitle_codec = AV_CODEC_ID_SSA,
}

Definition at line 195 of file assenc.c.