18 lines
562 B
TypeScript
18 lines
562 B
TypeScript
export interface VideoMetadata {
|
|
durationSeconds: number;
|
|
width: number;
|
|
height: number;
|
|
orientation: 'H' | 'V';
|
|
quality: '4K' | '1440p' | '1080p' | '720p' | '480p' | 'SD';
|
|
hasAudio: boolean;
|
|
fileSize: number;
|
|
}
|
|
/**
|
|
* Extract video metadata using ffprobe
|
|
*/
|
|
export declare function extractVideoMetadata(filePath: string): Promise<VideoMetadata>;
|
|
/**
|
|
* Validate video file by attempting to decode frames
|
|
*/
|
|
export declare function validateVideoFile(filePath: string): Promise<boolean>;
|
|
//# sourceMappingURL=ffprobe.service.d.ts.map
|