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