2019-11-15 15:06:03 +01:00
|
|
|
import { VideoConstant, VideoResolution } from '@shared/models'
|
2020-03-10 14:39:40 +01:00
|
|
|
import { FfprobeData } from 'fluent-ffmpeg'
|
2019-11-15 15:06:03 +01:00
|
|
|
|
|
|
|
export interface VideoFile {
|
|
|
|
magnetUri: string
|
|
|
|
resolution: VideoConstant<VideoResolution>
|
|
|
|
size: number // Bytes
|
|
|
|
torrentUrl: string
|
|
|
|
torrentDownloadUrl: string
|
|
|
|
fileUrl: string
|
|
|
|
fileDownloadUrl: string
|
|
|
|
fps: number
|
2020-03-10 14:39:40 +01:00
|
|
|
metadata?: FfprobeData
|
|
|
|
metadataUrl?: string
|
2019-11-15 15:06:03 +01:00
|
|
|
}
|