UNPKG

chat-about-video

Version:

Chat about a video clip using ChatGPT hosted in OpenAI or Azure, or Gemini provided by Google

14 lines (13 loc) 656 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.lazyCreatedVideoFramesExtractor = void 0; const tslib_1 = require("tslib"); tslib_1.__exportStar(require("./ffmpeg"), exports); tslib_1.__exportStar(require("./types"), exports); function lazyCreatedVideoFramesExtractor(creator) { return async (inputFile, outputDir, intervalSec, format, width, height, startSec, endSec, limit) => { const extractor = await creator; return extractor(inputFile, outputDir, intervalSec, format, width, height, startSec, endSec, limit); }; } exports.lazyCreatedVideoFramesExtractor = lazyCreatedVideoFramesExtractor;