AutoMovie API
    Preparing search index...

    Interface IAutoMovieRunVideoCaptureProps

    A probed video's clock/raster, capture request and host storage/process operations. runAutoMovieVideoCapture refuses unsupported views/passes/inspection and off-grid instants before extraction, detects cuts then extracts selected frames, and records missing frames as failed cells. The host must reject run when FFmpeg fails and owns process cleanup.

    interface IAutoMovieRunVideoCaptureProps {
        file: string;
        request: IAutoMovieCapturePlanRequest;
        revision: string;
        root: string;
        run: (args: readonly string[]) => Promise<void>;
        storage: IAutoMovieCaptureStorage;
        subject: Pick<
            IAutoMovieCaptureSubject,
            "name"
            | "durationSeconds"
            | "fps"
            | "width"
            | "height",
        >;
    }
    Index
    file: string

    Path of the video file, as the process runner reads it.

    What the capture asks for.

    revision: string

    Source revision the host captures from.

    root: string

    The capture's root folder.

    run: (args: readonly string[]) => Promise<void>

    Runs FFmpeg with the given arguments and resolves when it ends successfully. The host implements FFmpeg process execution; runAutoMovieVideoCapture awaits each planned command, and the host must reject failure and release process resources.

    Where files are read and written.

    subject: Pick<
        IAutoMovieCaptureSubject,
        "name"
        | "durationSeconds"
        | "fps"
        | "width"
        | "height",
    >

    The file's clock and raster, which the host knows from its source or a probe.