Creates a new movie collection directory when create is true, or reopens an existing collection otherwise. simultaneousEncoders must be positive and limits concurrent exports.
Appends a JPEG-compressed frame and optional metadata, assigning the next zero-based frame index. The source must contain the movie’s full tightly packed four-channel bitmap and remain valid until the call returns.
Exports H.264 video through ffmpeg and waits for completion. FPS and bitrate must be positive; bitrate is in kilobits per second, dimensions must be even, and an existing output file is not replaced.
The pointer overload returns caller-owned decoded pixels released with free(), or nullptr for a missing frame. The buffer overload requires width × height × 4 bytes and returns false when absent. Missing frames leave metadata and caller-buffer outputs unchanged.