VidStudio SDK reference
    Preparing search index...

    Interface VideoInfo

    Metadata extracted from the MP4 container's video track

    interface VideoInfo {
        codec: string;
        codedHeight: number;
        codedWidth: number;
        description: Uint8Array;
        duration: number;
        durationSeconds: number;
        nbSamples: number;
        rotation: 0 | 90 | 180 | 270;
        timescale: number;
        trackId: number;
    }
    Index
    codec: string
    codedHeight: number
    codedWidth: number
    description: Uint8Array
    duration: number
    durationSeconds: number
    nbSamples: number
    rotation: 0 | 90 | 180 | 270

    Intrinsic clockwise rotation (degrees) the coded frames need to display upright, read from the container's transformation matrix/tag. Applied at composite (see MediaAsset.rotation); never baked into the decoded frames. 0 = upright. Flows through to VideoProbeInfo/MediaProbe via the Omit.

    timescale: number
    trackId: number