mirror of
https://github.com/LukeHagar/plexphp.git
synced 2025-12-06 12:37:47 +00:00
11 KiB
11 KiB
GetLibraryItemsStream
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id |
int | ✔️ | N/A | 272796 |
streamType |
int | ✔️ | Type of stream (1 = video, 2 = audio, 3 = subtitle) | 1 |
codec |
string | ✔️ | Codec used by the stream | h264 |
index |
int | ✔️ | The index of the stream | 0 |
default |
?bool | ➖ | Indicates if this is the default stream | true |
selected |
?bool | ➖ | Indicates if the stream is selected | true |
bitrate |
?int | ➖ | The bitrate of the stream in kbps | 6273 |
colorPrimaries |
?string | ➖ | The color primaries of the video stream | bt709 |
colorRange |
?string | ➖ | The color range of the video stream | tv |
colorSpace |
?string | ➖ | The color space of the video stream | bt709 |
colorTrc |
?string | ➖ | The transfer characteristics (TRC) of the video stream | bt709 |
bitDepth |
?int | ➖ | The bit depth of the video stream | 8 |
chromaLocation |
?string | ➖ | The chroma location of the video stream | left |
streamIdentifier |
?string | ➖ | The identifier of the video stream | 2 |
chromaSubsampling |
?string | ➖ | The chroma subsampling format | 4:2:0 |
codedHeight |
?int | ➖ | The coded height of the video stream | 1088 |
codedWidth |
?int | ➖ | The coded width of the video stream | 1920 |
frameRate |
?float | ➖ | The frame rate of the video stream | 29.97 |
hasScalingMatrix |
?bool | ➖ | Indicates if the stream has a scaling matrix | false |
hearingImpaired |
?bool | ➖ | N/A | false |
closedCaptions |
?bool | ➖ | N/A | false |
embeddedInVideo |
?string | ➖ | N/A | 1 |
height |
?int | ➖ | The height of the video stream | 1080 |
level |
?int | ➖ | The level of the video codec | 40 |
profile |
?string | ➖ | The profile of the video codec | main |
refFrames |
?int | ➖ | Number of reference frames | 4 |
scanType |
?string | ➖ | The scan type (progressive or interlaced) | progressive |
width |
?int | ➖ | The width of the video stream | 1920 |
displayTitle |
?string | ➖ | Display title of the stream | 1080p (H.264) |
extendedDisplayTitle |
?string | ➖ | Extended display title of the stream | 1080p (H.264) |
channels |
?int | ➖ | Number of audio channels (for audio streams) | 2 |
language |
?string | ➖ | The language of the stream (for audio/subtitle streams) | English |
languageTag |
?string | ➖ | Language tag of the stream | en |
languageCode |
?string | ➖ | Language code of the stream | eng |
audioChannelLayout |
?string | ➖ | The audio channel layout | stereo |
samplingRate |
?int | ➖ | Sampling rate of the audio stream in Hz | 48000 |
title |
?string | ➖ | Title of the subtitle track (for subtitle streams) | English |
canAutoSync |
?bool | ➖ | Indicates if the subtitle stream can auto-sync | false |