mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
* exifr is used for most tags now * New timestamp handling, removed exif-parser, date supported for png * Removed offset from testhelper. It's optional * explanations * Feature/timestamps (#3) * preparing for further timestamp test * Added more test and fixed offset calculation bug * Revered old dimension test, added new timestamp tests, some bug fixes * Renamed png-test because faces overrule keywords
20 lines
483 B
TypeScript
20 lines
483 B
TypeScript
import {DirectoryPathDTO} from './DirectoryDTO';
|
|
import {MediaDimension, MediaDTO, MediaMetadata} from './MediaDTO';
|
|
|
|
export interface VideoDTO extends MediaDTO {
|
|
id: number;
|
|
name: string;
|
|
directory: DirectoryPathDTO;
|
|
metadata: VideoMetadata;
|
|
}
|
|
|
|
export interface VideoMetadata extends MediaMetadata {
|
|
size: MediaDimension;
|
|
creationDate: number;
|
|
creationDateOffset?: string;
|
|
bitRate: number;
|
|
duration: number; // in milliseconds
|
|
fileSize: number;
|
|
fps: number;
|
|
}
|