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

9.1 KiB
Raw Blame History

Media

Fields

Field Type Required Description Example
ID int64 ✔️ Unique media identifier. 387322
Duration *int Duration of the media in milliseconds. 9610350
Bitrate *int Bitrate in bits per second. 25512
Width *int Video width in pixels. 3840
Height *int Video height in pixels. 1602
AspectRatio *float32 Aspect ratio of the video. 2.35
AudioChannels *int Number of audio channels. 6
DisplayOffset *int N/A 50
AudioCodec *string Audio codec used. eac3
VideoCodec *string Video codec used. hevc
VideoResolution *string Video resolution (e.g., 4k). 4k
Container *string File container type. mkv
VideoFrameRate *string Frame rate of the video. Values found include NTSC, PAL, 24p
24p
VideoProfile *string Video profile (e.g., main 10). main 10
HasVoiceActivity *bool Indicates whether voice activity is detected. false
AudioProfile *string The audio profile used for the media (e.g., DTS, Dolby Digital, etc.). dts
OptimizedForStreaming *operations.OptimizedForStreaming Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
Has64bitOffsets *bool N/A false
Part []operations.Part An array of parts for this media item.