@calipsa/video-utils
Version:
Video utilities
12 lines (11 loc) • 441 B
TypeScript
/// <reference types="node" />
import { FfmpegCommandOptions, FfmpegCommand } from 'fluent-ffmpeg';
interface Options {
path: string;
rate: number;
format: 'jpg' | 'png';
ffmpegCommandOptions?: FfmpegCommandOptions;
configureFfmpeg?: (ffmpegCommand: FfmpegCommand) => void;
}
declare const _default: ({ path, rate, format, ffmpegCommandOptions, configureFfmpeg, }: Options) => Promise<Buffer[]>;
export default _default;