Go to the documentation of this file.
62 .p.mime_type =
"text/x-microdvd",
63 .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 AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
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...
int avio_printf(AVIOContext *s, const char *fmt,...) av_printf_format(2
Writes a formatted string to the context.
enum AVCodecID codec_id
Specific type of the encoded data (the codec used).
This structure stores compressed data.
const FFOutputFormat ff_microdvd_muxer