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

11 KiB
Raw Blame History

Stream

Fields

Field Type Required Description Example
id ::Integer ✔️ N/A 272796
stream_type ::Integer ✔️ Type of stream (1 = video, 2 = audio, 3 = subtitle) 1
default T.nilable(T::Boolean) Indicates if this is the default stream true
selected T.nilable(T::Boolean) Indicates if the stream is selected true
codec ::String ✔️ Codec used by the stream h264
index ::Integer ✔️ The index of the stream 0
bitrate T.nilable(::Integer) The bitrate of the stream in kbps 6273
color_primaries T.nilable(::String) The color primaries of the video stream bt709
color_range T.nilable(::String) The color range of the video stream tv
color_space T.nilable(::String) The color space of the video stream bt709
color_trc T.nilable(::String) The transfer characteristics (TRC) of the video stream bt709
bit_depth T.nilable(::Integer) The bit depth of the video stream 8
chroma_location T.nilable(::String) The chroma location of the video stream left
stream_identifier T.nilable(::String) The identifier of the video stream 2
chroma_subsampling T.nilable(::String) The chroma subsampling format 4:2:0
coded_height T.nilable(::Integer) The coded height of the video stream 1088
coded_width T.nilable(::Integer) The coded width of the video stream 1920
frame_rate T.nilable(::Float) The frame rate of the video stream 29.97
has_scaling_matrix T.nilable(T::Boolean) Indicates if the stream has a scaling matrix false
hearing_impaired T.nilable(T::Boolean) N/A false
closed_captions T.nilable(T::Boolean) N/A false
embedded_in_video T.nilable(::String) N/A 1
height T.nilable(::Integer) The height of the video stream 1080
level T.nilable(::Integer) The level of the video codec 40
profile T.nilable(::String) The profile of the video codec main
ref_frames T.nilable(::Integer) Number of reference frames 4
scan_type T.nilable(::String) The scan type (progressive or interlaced) progressive
width T.nilable(::Integer) The width of the video stream 1920
display_title T.nilable(::String) Display title of the stream 1080p (H.264)
extended_display_title T.nilable(::String) Extended display title of the stream 1080p (H.264)
channels T.nilable(::Integer) Number of audio channels (for audio streams) 2
language T.nilable(::String) The language of the stream (for audio/subtitle streams) English
language_tag T.nilable(::String) Language tag of the stream en
language_code T.nilable(::String) Language code of the stream eng
audio_channel_layout T.nilable(::String) The audio channel layout stereo
sampling_rate T.nilable(::Integer) Sampling rate of the audio stream in Hz 48000
title T.nilable(::String) Title of the subtitle track (for subtitle streams) English
can_auto_sync T.nilable(T::Boolean) Indicates if the subtitle stream can auto-sync false