mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-05-18 04:42:40 +00:00
e57c3024f4
* testing not removing old file and adding columb to db * implement feature * remove unnecessary config changes * use only keptOriginalFileName, change keptOriginalFileName to keptOriginalFilename for consistency with with videoFile table, slight refactor with basename() * save original video files to dedicated directory original-video-files * begin implementing object storage (bucket) support --------- Co-authored-by: chagai.friedlander <chagai.friedlander@fairkom.eu> Co-authored-by: Ian <ian.kraft@hotmail.com> Co-authored-by: Chocobozzz <me@florianbigard.com>
24 lines
427 B
TypeScript
24 lines
427 B
TypeScript
import { VideoFileMetadata } from './file/index.js'
|
|
import { VideoConstant } from './video-constant.model.js'
|
|
|
|
export interface VideoSource {
|
|
inputFilename: string
|
|
|
|
resolution?: VideoConstant<number>
|
|
size?: number // Bytes
|
|
|
|
width?: number
|
|
height?: number
|
|
|
|
fileDownloadUrl: string
|
|
|
|
fps?: number
|
|
|
|
metadata?: VideoFileMetadata
|
|
|
|
createdAt: string | Date
|
|
|
|
// TODO: remove, deprecated in 6.1
|
|
filename: string
|
|
}
|