VideoUltra API
    Preparing search index...

    Interface ExportOptions

    What to export.

    interface ExportOptions {
        format: "webm" | "mp4";
        fps: 24 | 30 | 60;
        height: ExportHeight;
        quality: "low" | "high" | "medium";
        range?: ExportRange;
        videoCodec?: ExportVideoCodec;
    }
    Index
    format: "webm" | "mp4"

    mp4 = H.264 + AAC (plays everywhere); webm = VP9 (or VP8) + Opus.

    fps: 24 | 30 | 60
    height: ExportHeight

    The output's shorter side in pixels (720 = 720 × 1280 for a 9:16 project, 1280 × 720 for 16:9). The longer side follows the project's aspect ratio, rounded to even pixels.

    quality: "low" | "high" | "medium"
    range?: ExportRange

    Export only this part of the timeline (flicks, start inclusive, end exclusive). Omitted: the whole video. Clamped to the video's length; transitions, animations and sound at the edges are exactly what plays at those times.

    videoCodec?: ExportVideoCodec

    The video codec (v0.4): auto (default — H.264 for MP4, VP9 / VP8 for WebM), or a newer one for a smaller file where this device can encode it (ExportLimits): hevc (H.265, MP4) or av1 (MP4 or WebM); h264 / vp9 ask for the default one by name.