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