Files
plexgo/docs/models/operations/stream.md

11 KiB
Raw Blame History

Stream

Fields

Field Type Required Description Example
ID int64 ✔️ N/A 272796
StreamType int64 ✔️ Type of stream (1 = video, 2 = audio, 3 = subtitle) 1
Default *bool Indicates if this is the default stream true
Selected *bool Indicates if the stream is selected true
Codec string ✔️ Codec used by the stream h264
Index int64 ✔️ The index of the stream 0
Bitrate *int64 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 *int64 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 *int64 The coded height of the video stream 1088
CodedWidth *int64 The coded width of the video stream 1920
FrameRate *float64 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 *int64 The height of the video stream 1080
Level *int64 The level of the video codec 40
Profile *string The profile of the video codec main
RefFrames *int64 Number of reference frames 4
ScanType *string The scan type (progressive or interlaced) progressive
Width *int64 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 *int64 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 *int64 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