FFmpeg 8.1.2 as C++23 modules, preserving the C API.
English · 简体中文 · Upstream · Releases · mcpp · Index
Thin module interfaces over compat.ffmpeg; sources, frozen configuration and NASM support belong to that provider.
import mcpplibs.mwrap.ffmpeg;: Complete FFmpeg module aggregateimport mcpplibs.mwrap.ffmpeg.avcodec;: Audio/video codecsimport mcpplibs.mwrap.ffmpeg.avformat;: Containers and stream I/Oimport mcpplibs.mwrap.ffmpeg.avutil;: Common media types and utilitiesimport mcpplibs.mwrap.ffmpeg.macros;: Common macro constant mappings
More Modules API -> Usage and API
mcpp new media --template mcpplibs.mwrap.ffmpeg@8.1.2
cd media
mcpp run[dependencies]
mcpplibs.mwrap.ffmpeg = "8.1.2"import mcpplibs.mwrap.ffmpeg.av;
int main() { return avcodec_version() == 0; }The default template encodes and decodes a generated frame without external files. Probe · Decode frames · Details
Linux, macOS and Windows; use mcpp build and mcpp test. External hardware SDK APIs require separate headers/SDKs.
The source profile does not enable GPL/nonfree components.
Wrapper: Apache-2.0. FFmpeg provider: LGPL-2.1-or-later; preserve selected source and license notices.
Wrapper: Apache-2.0, mcpp-community. Original upstream README and licenses. Upstream licenses remain unchanged.