SongGuess
    Preparing search index...

    Type Alias MediaTransformationOutputOptions

    Configuration options for Media Transformations output. Controls the format, timing, and type of the generated output.

    type MediaTransformationOutputOptions = {
        audio?: boolean;
        duration?: string;
        format?: "jpg" | "png" | "m4a";
        imageCount?: number;
        mode?: "video" | "spritesheet" | "frame" | "audio";
        time?: string;
    }
    Index

    Properties

    audio?: boolean

    Whether to include audio in the output

    duration?: string

    Duration for video clips, audio extraction, and spritesheet generation (e.g. '5s').

    format?: "jpg" | "png" | "m4a"

    Output format for the generated media.

    imageCount?: number

    Number of frames in the spritesheet.

    mode?: "video" | "spritesheet" | "frame" | "audio"

    Output mode determining the type of media to generate

    time?: string

    Starting timestamp for frame extraction or start time for clips. (e.g. '2s').