UNPKG

mes-engine

Version:

A powerful and flexible video processing framework for Node.js with support for multiple processing engines, adaptive streaming, and intelligent caching.

16 lines (13 loc) 468 B
// core/VideoEngine.ts import { EventEmitter } from 'events'; import { VideoConfig, QualityLevel, VideoManifest } from './types'; import { VideoEvent } from './events'; export abstract class VideoEngine extends EventEmitter { abstract processChunk( inputPath: string, outputPath: string, startTime: number, quality: QualityLevel ): Promise<void>; abstract getDuration(inputPath: string): Promise<number>; }