1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/common/entities/VideoDTO.ts
Patrik J. Braun f8a361cb9e implementing video converting task
note: braking changes in database and config file
2019-12-09 14:05:06 +01:00

20 lines
445 B
TypeScript

import {DirectoryDTO} from './DirectoryDTO';
import {MediaDimension, MediaDTO, MediaMetadata} from './MediaDTO';
export interface VideoDTO extends MediaDTO {
id: number;
name: string;
directory: DirectoryDTO;
metadata: VideoMetadata;
}
export interface VideoMetadata extends MediaMetadata {
size: MediaDimension;
creationDate: number;
bitRate: number;
duration: number; // in milliseconds
fileSize: number;
fps: number;
}