# VideoSource

Type: VideoSource

Schema: [VideoSource](https://sourcey-peertube.pages.dev/api-rest-reference/models/videosource.md)

- `inputFilename` (optional)
  Type: string
  
  Uploaded/imported filename

- `fileDownloadUrl` (optional)
  Type: string
  
  **PeerTube >= 6.1** If enabled by the admin, the video source file is kept on the server and can be downloaded by the owner

- `resolution` (optional)
  Type: VideoResolutionConstant
  
  **PeerTube >= 6.1**
  
  allOf:
    Reference: [VideoResolutionConstant](https://sourcey-peertube.pages.dev/api-rest-reference/models/videoresolutionconstant.md); Type: VideoResolutionConstant
    
    resolutions and their labels for the video

- `size` (optional)
  Type: integer
  
  **PeerTube >= 6.1** Video file size in bytes

- `fps` (optional)
  Type: number
  
  **PeerTube >= 6.1** Frames per second of the video file

- `width` (optional)
  Type: integer
  
  **PeerTube >= 6.1** Video stream width

- `height` (optional)
  Type: integer
  
  **PeerTube >= 6.1** Video stream height

- `createdAt` (optional)
  Type: string, date-time