Enum VideoCodec

Enum Documentation

enum class mrpt::img::VideoCodec : uint8_t

Selects the encoding used by CVideoFileWriter.

  • UncompressedRGB: Raw BGR24 frames stored in an AVI (BI_RGB). Large files, zero quality loss, no additional dependencies beyond file I/O.

  • MJPEG: Each frame is an independent JPEG, stored in an AVI as an MJPG stream. Good compression, still widely compatible, and requires only the STB JPEG encoder already present in MRPT (no external libs).

Values:

enumerator UncompressedRGB

Raw BGR24 in AVI/RIFF container.

enumerator MJPEG

Motion-JPEG in AVI/RIFF container (uses STB)