function videoStill
videoStill(
srcPath: string,
outPath: string
): Promise<void>

Writes a 320-pixel-wide JPEG still of a video, one second in.

Parameters

srcPath: string
outPath: string

Return Type

Promise<void>

Usage

import { videoStill } from "api/lib/ffmpeg.ts";