Go to the documentation of this file.
27 #define BOUNDARY_TAG "ffmpeg"
68 .p.mime_type =
"multipart/x-mixed-replace;boundary=" BOUNDARY_TAG,
69 .p.extensions =
"mjpg",
static int mpjpeg_write_packet(AVFormatContext *s, AVPacket *pkt)
static int mpjpeg_write_header(AVFormatContext *s)
#define FF_OFMT_FLAG_ONLY_DEFAULT_CODECS
If this flag is set, then the only permitted audio/video/subtitle codec ids are AVOutputFormat....
#define LIBAVUTIL_VERSION_INT
Describe the class of an AVClass context structure.
static const AVClass mpjpeg_muxer_class
const char * av_default_item_name(void *ptr)
Return the context name.
#define AV_OPT_FLAG_ENCODING_PARAM
A generic parameter which can be set by the user for muxing or encoding.
const FFOutputFormat ff_mpjpeg_muxer
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static const AVOption options[]
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
int avio_printf(AVIOContext *s, const char *fmt,...) av_printf_format(2
Writes a formatted string to the context.
This structure stores compressed data.