26 #define BOUNDARY_TAG "ffserver"
73 .mime_type =
"multipart/x-mixed-replace;boundary=" BOUNDARY_TAG,
82 .priv_class = &mpjpeg_muxer_class,
static const AVOption options[]
static int mpjpeg_write_trailer(AVFormatContext *s)
#define LIBAVUTIL_VERSION_INT
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
AVOutputFormat ff_mpjpeg_muxer
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
#define AV_OPT_FLAG_ENCODING_PARAM
a generic parameter which can be set by the user for muxing or encoding
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
int void avio_flush(AVIOContext *s)
Force flushing of buffered data.
static int write_trailer(AVFormatContext *s1)
AVIOContext * pb
I/O context.
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost)
Describe the class of an AVClass context structure.
static const AVClass mpjpeg_muxer_class
static int mpjpeg_write_packet(AVFormatContext *s, AVPacket *pkt)
static int mpjpeg_write_header(AVFormatContext *s)
void * priv_data
Format private data.
static void write_header(FFV1Context *f)
This structure stores compressed data.
int avio_printf(AVIOContext *s, const char *fmt,...) av_printf_format(2