2021-06-28 01:33:37 +08:00
|
|
|
import {DirectoryPathDTO} from './DirectoryDTO';
|
2018-11-18 02:32:31 +08:00
|
|
|
import {MediaDimension, MediaDTO, MediaMetadata} from './MediaDTO';
|
2018-11-05 02:28:32 +08:00
|
|
|
|
|
|
|
export interface VideoDTO extends MediaDTO {
|
|
|
|
id: number;
|
|
|
|
name: string;
|
2021-06-28 01:33:37 +08:00
|
|
|
directory: DirectoryPathDTO;
|
2018-11-18 02:32:31 +08:00
|
|
|
metadata: VideoMetadata;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export interface VideoMetadata extends MediaMetadata {
|
|
|
|
size: MediaDimension;
|
|
|
|
creationDate: number;
|
|
|
|
bitRate: number;
|
|
|
|
duration: number; // in milliseconds
|
|
|
|
fileSize: number;
|
2019-12-09 21:05:06 +08:00
|
|
|
fps: number;
|
2018-11-05 02:28:32 +08:00
|
|
|
}
|