Go to the documentation of this file.
57 .p.mime_type =
"text/x-microdvd",
58 .p.extensions =
"sub",
uint8_t * extradata
Extra binary data needed for initializing the decoder, codec-dependent.
This struct describes the properties of an encoded stream.
int64_t duration
Duration of this packet in AVStream->time_base units, 0 if unknown.
#define FF_OFMT_FLAG_ONLY_DEFAULT_CODECS
If this flag is set, then the only permitted audio/video/subtitle codec ids are AVOutputFormat....
Rational number (pair of numerator and denominator).
AVIOContext * pb
I/O context.
void avio_w8(AVIOContext *s, int b)
int extradata_size
Size of the extradata content in bytes.
static int microdvd_write_packet(AVFormatContext *avf, AVPacket *pkt)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int microdvd_write_header(struct AVFormatContext *s)
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
int64_t pts
Presentation timestamp in AVStream->time_base units; the time at which the decompressed packet will b...
#define FF_OFMT_FLAG_MAX_ONE_OF_EACH
If this flag is set, it indicates that for each codec type whose corresponding default codec (i....
int avio_printf(AVIOContext *s, const char *fmt,...) av_printf_format(2
Writes a formatted string to the context.
This structure stores compressed data.
const FFOutputFormat ff_microdvd_muxer