]>
Commit | Line | Data |
---|---|---|
1 | import { VideoConstant, VideoResolution } from '@shared/models' | |
2 | import { FfprobeData } from 'fluent-ffmpeg' | |
3 | ||
4 | export interface VideoFile { | |
5 | magnetUri: string | |
6 | resolution: VideoConstant<VideoResolution> | |
7 | size: number // Bytes | |
8 | torrentUrl: string | |
9 | torrentDownloadUrl: string | |
10 | fileUrl: string | |
11 | fileDownloadUrl: string | |
12 | fps: number | |
13 | metadata?: FfprobeData | |
14 | metadataUrl?: string | |
15 | } |