VideoUltra API
    Preparing search index...

    Interface ExportResult

    A finished export.

    interface ExportResult {
        audioCodec: string | null;
        blob: Blob;
        durationSeconds: number;
        elapsedSeconds: number;
        extension: "mp4" | "webm";
        frames: number;
        height: number;
        mimeType: string;
        storage: "opfs" | "memory";
        transparent: boolean;
        videoCodec: string;
        warnings: string[];
        width: number;
    }
    Index
    audioCodec: string | null
    blob: Blob

    The video file. With storage: 'opfs' it is backed by a file in the origin-private file system and stays readable until the next export starts (which deletes it).

    durationSeconds: number
    elapsedSeconds: number

    Wall time of the export, seconds.

    extension: "mp4" | "webm"
    frames: number

    Frames written.

    height: number
    mimeType: string
    storage: "opfs" | "memory"

    Where the file was written while exporting: on disk (OPFS) or, as a fallback, in memory.

    transparent: boolean

    The file is see-through where the project's background is transparent (WebM with VP9 / VP8 alpha). False for every other export, including MP4 of a transparent project (black there).

    videoCodec: string

    Codecs used, e.g. avc + aac; audio null when the project has no sound.

    warnings: string[]

    Things the user should know (e.g. no Opus encoder → video without sound).

    width: number