mirror of
https://github.com/LukeHagar/plexphp.git
synced 2025-12-06 12:37:47 +00:00
18 KiB
18 KiB
GetMediaMetaDataStream
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id |
int | ✔️ | Unique stream identifier. | 1002625 |
streamType |
int | ✔️ | Stream type: - VIDEO = 1 - AUDIO = 2 - SUBTITLE = 3 |
|
format |
?string | ➖ | Format of the stream (e.g., srt). | srt |
default |
?bool | ➖ | Indicates if this stream is default. | true |
codec |
?string | ➖ | Codec used by the stream. | hevc |
index |
?int | ➖ | Index of the stream. | 0 |
bitrate |
?int | ➖ | Bitrate of the stream. | 24743 |
language |
?string | ➖ | Language of the stream. | English |
languageTag |
?string | ➖ | Language tag (e.g., en). | en |
languageCode |
?string | ➖ | ISO language code. | eng |
headerCompression |
?bool | ➖ | Indicates whether header compression is enabled. | true |
doviblCompatID |
?int | ➖ | Dolby Vision BL compatibility ID. | 1 |
doviblPresent |
?bool | ➖ | Indicates if Dolby Vision BL is present. | true |
dovielPresent |
?bool | ➖ | Indicates if Dolby Vision EL is present. | false |
doviLevel |
?int | ➖ | Dolby Vision level. | 6 |
doviPresent |
?bool | ➖ | Indicates if Dolby Vision is present. | true |
doviProfile |
?int | ➖ | Dolby Vision profile. | 8 |
dovirpuPresent |
?bool | ➖ | Indicates if Dolby Vision RPU is present. | true |
doviVersion |
?string | ➖ | Dolby Vision version. | 1.0 |
bitDepth |
?int | ➖ | Bit depth of the video stream. | 10 |
chromaLocation |
?string | ➖ | Chroma sample location. | topleft |
chromaSubsampling |
?string | ➖ | Chroma subsampling format. | 4:2:0 |
codedHeight |
?int | ➖ | Coded video height. | 1608 |
codedWidth |
?int | ➖ | Coded video width. | 3840 |
closedCaptions |
?bool | ➖ | N/A | true |
colorPrimaries |
?string | ➖ | Color primaries used. | bt2020 |
colorRange |
?string | ➖ | Color range (e.g., tv). | tv |
colorSpace |
?string | ➖ | Color space. | bt2020nc |
colorTrc |
?string | ➖ | Color transfer characteristics. | smpte2084 |
frameRate |
?float | ➖ | Frame rate of the stream. | 23.976 |
key |
?string | ➖ | Key to access this stream part. | /library/streams/216389 |
height |
?int | ➖ | Height of the video stream. | 1602 |
level |
?int | ➖ | Video level. | 150 |
original |
?bool | ➖ | Indicates if this is the original stream. | true |
hasScalingMatrix |
?bool | ➖ | N/A | false |
profile |
?string | ➖ | Video profile. | main 10 |
scanType |
?string | ➖ | N/A | progressive |
embeddedInVideo |
?string | ➖ | N/A | progressive |
refFrames |
?int | ➖ | Number of reference frames. | 1 |
width |
?int | ➖ | Width of the video stream. | 3840 |
displayTitle |
?string | ➖ | Display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
extendedDisplayTitle |
?string | ➖ | Extended display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
selected |
?bool | ➖ | Indicates if this stream is selected (applicable for audio streams). | true |
forced |
?bool | ➖ | N/A | true |
channels |
?int | ➖ | Number of audio channels (for audio streams). | 6 |
audioChannelLayout |
?string | ➖ | Audio channel layout. | 5.1(side) |
samplingRate |
?int | ➖ | Sampling rate for the audio stream. | 48000 |
canAutoSync |
?bool | ➖ | Indicates if the stream can auto-sync. | false |
hearingImpaired |
?bool | ➖ | Indicates if the stream is for the hearing impaired. | true |
dub |
?bool | ➖ | Indicates if the stream is a dub. | true |
title |
?string | ➖ | Optional title for the stream (e.g., language variant). | SDH |