/** * Video Format Handler * * Handles video file operations using fluent-ffmpeg. * Supports: MP4, MOV, AVI, MKV, WebM * Operations: metadata extraction, thumbnail generation */ export interface VideoMetadata { duration: number; width: number; height: number; codec: string; bitrate: number; fps: number; audioCodec?: string; size: number; format: string; } export interface ThumbnailOptions { time?: number; width?: number; height?: number; format?: 'png' | 'jpeg'; } export declare class VideoHandler { /** * Get video metadata */ getMetadata(filePath: string): Promise; /** * Extract thumbnail from video at specified time */ extractThumbnail(videoPath: string, outputPath: string, options?: ThumbnailOptions): Promise; /** * Extract multiple thumbnails at different times */ extractThumbnails(videoPath: string, outputDir: string, times: number[], options?: Omit): Promise; /** * Get video duration quickly without full metadata */ getDuration(filePath: string): Promise; /** * Calculate FPS from ffprobe frame rate string (e.g., "30000/1001") */ private calculateFPS; /** * Check if file is a supported video format */ isSupportedFormat(filePath: string): boolean; } export declare const videoHandler: VideoHandler; //# sourceMappingURL=video.d.ts.map