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