FFmpeg
Functions | Variables
jacosubenc.c File Reference
#include "avformat.h"
#include "mux.h"
#include "rawenc.h"

Go to the source code of this file.

Functions

static int jacosub_write_header (AVFormatContext *s)
 

Variables

const FFOutputFormat ff_jacosub_muxer
 

Function Documentation

◆ jacosub_write_header()

static int jacosub_write_header ( AVFormatContext s)
static

Definition at line 23 of file jacosubenc.c.

Variable Documentation

◆ ff_jacosub_muxer

const FFOutputFormat ff_jacosub_muxer
Initial value:
= {
.p.name = "jacosub",
.p.long_name = NULL_IF_CONFIG_SMALL("JACOsub subtitle format"),
.p.mime_type = "text/x-jacosub",
.p.extensions = "jss,js",
.p.flags = AVFMT_TS_NONSTRICT,
.p.subtitle_codec = AV_CODEC_ID_JACOSUB,
.write_header = jacosub_write_header,
.write_packet = ff_raw_write_packet,
}

Definition at line 33 of file jacosubenc.c.

AV_CODEC_ID_JACOSUB
@ AV_CODEC_ID_JACOSUB
Definition: codec_id.h:555
ff_raw_write_packet
int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawenc.c:31
jacosub_write_header
static int jacosub_write_header(AVFormatContext *s)
Definition: jacosubenc.c:23
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:115
AVFMT_TS_NONSTRICT
#define AVFMT_TS_NONSTRICT
Format does not require strictly increasing timestamps, but they must still be monotonic.
Definition: avformat.h:489