class

FMjpegAviWriter

Motion-JPEG in an AVI 1.0 container: every frame an independent JPEG, an idx1 index, nothing else. It is the one video format that needs no codec library to write and that every player and editing tool opens, so it is the fallback on a host without an OS encoder for the MP4 output. AVI 1.0 caps a RIFF at 1 GiB, so a frame that would cross it is refused rather than written into a file no reader will accept; a long render goes to MP4.

Module
Sequencer
Header
#include "Sequencer/MovieRenderOutput.h"
Namespace
Mowo

Properties

TypeNameDescription
static constexpr uint64_tkMaxRiffBytesDefault 1024ull * 1024ull * 1024ull.

Constructors

SignatureNameDescription
FMjpegAviWriter() = defaultFMjpegAviWriter
~FMjpegAviWriter()~FMjpegAviWriter
FMjpegAviWriter(const FMjpegAviWriter&) = deleteFMjpegAviWriter

Public functions

ReturnsNameDescription
FMjpegAviWriter&operator=
boolOpen
boolAddFrame
boolClose
boolIsOpen
uint32_tFrameCount
const std::string&LastError
FMovieAviInfoInspect

Function details

FMjpegAviWriter

C++
FMjpegAviWriter() = default

~FMjpegAviWriter

C++
~FMjpegAviWriter()

FMjpegAviWriter

C++
FMjpegAviWriter(const FMjpegAviWriter&) = delete

operator=

C++
FMjpegAviWriter& operator=(const FMjpegAviWriter&) = delete

Open

C++
bool Open(const std::string& path, uint32_t width, uint32_t height, float framesPerSecond, int32_t jpegQuality)

AddFrame

C++
bool AddFrame(const std::vector<uint8_t>& rgba, uint32_t width, uint32_t height)

Close

C++
bool Close()

IsOpen

C++
bool IsOpen() const

FrameCount

C++
uint32_t FrameCount() const

LastError

C++
const std::string& LastError() const

Inspect

C++
static FMovieAviInfo Inspect(const std::string& path)
Generated from Sequencer/MovieRenderOutput.h via sequencer.json · Oct 26, 2026Version 1.0.0