]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/videos/video-file.model.ts
Add video file metadata to download modal, via ffprobe (#2411)
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-file.model.ts
CommitLineData
d7a25329 1import { VideoConstant, VideoResolution } from '@shared/models'
8319d6ae 2import { FfprobeData } from 'fluent-ffmpeg'
d7a25329
C
3
4export 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
8319d6ae
RK
13 metadata?: FfprobeData
14 metadataUrl?: string
d7a25329 15}