added missing stream values

This commit is contained in:
JasonLandbridge
2025-11-29 22:17:36 +01:00
parent b5ed28f2b1
commit 25204ff3ba

View File

@@ -15180,6 +15180,9 @@ components:
additionalProperties: true additionalProperties: true
required: required:
- addedAt - addedAt
- key
- title
- type
properties: properties:
title: title:
description: The title of the item (e.g. “300” or “The Simpsons”) description: The title of the item (e.g. “300” or “The Simpsons”)
@@ -15505,8 +15508,7 @@ components:
example: "sd" example: "sd"
key: key:
description: The key from which the media can be streamed description: The key from which the media can be streamed
type: integer type: string
format: int32
example: /library/parts/1/1531779263/file.mov example: /library/parts/1/1531779263/file.mov
optimizedForStreaming: optimizedForStreaming:
type: boolean type: boolean
@@ -15911,54 +15913,123 @@ components:
- key - key
- codec - codec
- displayTitle - displayTitle
- streamType
properties: properties:
default: default:
type: boolean type: boolean
description: Indicates if this stream is default.
example: true example: true
audioChannelLayout: audioChannelLayout:
type: string type: string
example: stereo description: Audio channel layout.
example: 5.1(side)
channels:
type: integer
format: int32
description: Number of audio channels (for audio streams).
example: 6
bitDepth: bitDepth:
type: integer type: integer
format: int32 format: int32
description: Bit depth of the video stream.
example: 10
DOVIBLCompatID:
type: integer
format: int32
description: Dolby Vision BL compatibility ID.
example: 1
DOVIBLPresent:
type: boolean
description: Indicates if Dolby Vision BL is present.
example: true
DOVIELPresent:
type: boolean
description: Indicates if Dolby Vision EL is present.
example: false
DOVILevel:
type: integer
format: int32
description: Dolby Vision level.
example: 6
DOVIPresent:
type: boolean
description: Indicates if Dolby Vision is present.
example: true
DOVIProfile:
type: integer
format: int32
description: Dolby Vision profile.
example: 8 example: 8
DOVIRPUPresent:
type: boolean
description: Indicates if Dolby Vision RPU is present.
example: true
DOVIVersion:
type: string
description: Dolby Vision version.
example: '1.0'
bitrate: bitrate:
type: integer type: integer
format: int32 format: int32
example: 5466 description: Bitrate of the stream.
example: 24743
canAutoSync: canAutoSync:
description: For subtitle streams only. If `true` then the server can attempt to automatically sync the subtitle timestamps with the video.
type: boolean type: boolean
example: true description: Indicates if the stream can auto-sync.
example: false
chromaLocation: chromaLocation:
type: string type: string
description: Chroma sample location.
example: topleft example: topleft
chromaSubsampling: chromaSubsampling:
type: string type: string
description: Chroma subsampling format.
example: '4:2:0' example: '4:2:0'
codedHeight:
type: integer
format: int32
description: Coded video height.
example: 1608
codedWidth:
type: integer
format: int32
description: Coded video width.
example: 3840
closedCaptions:
type: boolean
example: true
codec: codec:
description: The codec of the stream, such as `h264` or `aac` description: Codec used by the stream.
type: string type: string
example: h264 example: hevc
colorPrimaries: colorPrimaries:
type: string type: string
example: bt709 description: Color primaries used.
example: bt2020
colorRange: colorRange:
type: string type: string
description: Color range (e.g., tv).
example: tv example: tv
colorSpace: colorSpace:
type: string type: string
example: bt709 description: Color space.
example: bt2020nc
colorTrc: colorTrc:
type: string type: string
example: bt709 description: Color transfer characteristics.
example: smpte2084
displayTitle: displayTitle:
description: A friendly name for the stream, often comprised of the language and codec information description: Display title for the stream.
type: string type: string
example: English (H.264 Main) example: 4K DoVi/HDR10 (HEVC Main 10)
extendedDisplayTitle:
type: string
description: Extended display title for the stream.
example: 4K DoVi/HDR10 (HEVC Main 10)
frameRate: frameRate:
type: number type: number
format: float format: float
description: Frame rate of the stream.
example: 23.976 example: 23.976
hasScalingMatrix: hasScalingMatrix:
type: boolean type: boolean
@@ -15966,57 +16037,116 @@ components:
height: height:
type: integer type: integer
format: int32 format: int32
example: 544 description: Height of the video stream.
example: 1602
id: id:
type: integer type: integer
format: int32 format: int32
example: 1 description: Unique stream identifier.
example: 1002625
index: index:
description: If the stream is part of the `Part` and not an external resource, the index of the stream within that part description: Index of the stream.
type: integer type: integer
format: int32 format: int32
example: 0 example: 0
key: key:
description: If the stream is independently streamable, the key from which it can be streamed description: Key to access this stream part.
type: string type: string
example: /library/streams/1 example: /library/streams/216389
language: language:
type: string type: string
description: Language of the stream.
example: English example: English
languageCode: languageCode:
description: The three character language code for the stream contents description: ISO language code.
type: string type: string
example: eng example: eng
languageTag:
type: string
description: Language tag (e.g., en).
example: en
format:
type: string
description: Format of the stream (e.g., srt).
example: srt
headerCompression:
type: boolean
description: Indicates whether header compression is enabled.
example: true
level: level:
type: integer type: integer
format: int32 format: int32
example: 31 description: Video level.
example: 150
original:
type: boolean
description: Indicates if this is the original stream.
example: true
profile: profile:
type: string type: string
example: main description: Video profile.
example: main 10
refFrames: refFrames:
type: integer type: integer
format: int32 format: int32
example: 2 description: Number of reference frames.
example: 1
samplingRate: samplingRate:
type: integer type: integer
format: int32 format: int32
description: Sampling rate for the audio stream.
example: 48000 example: 48000
scanType:
type: string
example: progressive
embeddedInVideo:
type: string
example: progressive
selected: selected:
type: boolean type: boolean
description: Indicates if this stream is selected (applicable for audio streams).
example: true
forced:
type: boolean
example: true
hearingImpaired:
type: boolean
description: Indicates if the stream is for the hearing impaired.
example: true
dub:
type: boolean
description: Indicates if the stream is a dub.
example: true
title:
type: string
description: Optional title for the stream (e.g., language variant).
example: SDH
streamIdentifier: streamIdentifier:
type: integer type: integer
format: int32 format: int32
example: 1 example: 1
streamType: streamType:
description: A number indicating the type of the stream. `1` for video, `2` for audio, `3` for subtitles, `4` for lyrics
type: integer type: integer
format: int32 format: int32
enum:
- 1
- 2
- 3
example: 1 example: 1
x-speakeasy-enums:
- VIDEO
- AUDIO
- SUBTITLE
description: |
Stream type:
- VIDEO = 1
- AUDIO = 2
- SUBTITLE = 3
width: width:
type: integer type: integer
format: int32 format: int32
example: 1280 description: Width of the video stream.
example: 3840
Tag: Tag:
description: | description: |
A variety of extra information about a metadata item is included as tags. These tags use their own element names such as `Genre`, `Writer`, `Directory`, and `Role`. Individual tag types may introduce their own extra attributes. A variety of extra information about a metadata item is included as tags. These tags use their own element names such as `Genre`, `Writer`, `Directory`, and `Role`. Individual tag types may introduce their own extra attributes.