FFmpeg
Classes | Typedefs | Variables
smjpegenc.c File Reference

This is a muxer for Loki SDL Motion JPEG files. More...

#include "avformat.h"
#include "internal.h"
#include "smjpeg.h"

Classes

struct  SMJPEGMuxContext
 

Typedefs

typedef struct SMJPEGMuxContext SMJPEGMuxContext
 

Variables

AVOutputFormat ff_smjpeg_muxer
 

Detailed Description

This is a muxer for Loki SDL Motion JPEG files.

Variable Documentation

§ ff_smjpeg_muxer

AVOutputFormat ff_smjpeg_muxer
Initial value:
= {
.name = "smjpeg",
.long_name = NULL_IF_CONFIG_SMALL("Loki SDL MJPEG"),
.priv_data_size = sizeof(SMJPEGMuxContext),
.audio_codec = AV_CODEC_ID_PCM_S16LE,
.video_codec = AV_CODEC_ID_MJPEG,
.write_header = smjpeg_write_header,
.write_packet = smjpeg_write_packet,
.write_trailer = smjpeg_write_trailer,
.codec_tag = (const AVCodecTag *const []){ ff_codec_smjpeg_video_tags, ff_codec_smjpeg_audio_tags, 0 },
}
#define AVFMT_TS_NONSTRICT
Format does not require strictly increasing timestamps, but they must still be monotonic.
Definition: avformat.h:479
Definition: internal.h:44
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AVFMT_GLOBALHEADER
Format wants global header.
Definition: avformat.h:468
Definition: smjpegenc.c:31