mirror of
https://github.com/LukeHagar/plexphp.git
synced 2025-12-06 04:20:51 +00:00
7.7 KiB
7.7 KiB
GetMediaMetaDataMedia
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id |
int | ✔️ | 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 |
float | ✔️ | Aspect ratio of the video. | 2.35 |
audioChannels |
int | ✔️ | Number of audio channels. | 6 |
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 (e.g., 24p). | 24p |
videoProfile |
string | ✔️ | Video profile (e.g., main 10). | main 10 |
hasVoiceActivity |
bool | ✔️ | Indicates whether voice activity is detected. | false |
part |
array<Operations\GetMediaMetaDataPart> | ✔️ | An array of parts for this media item. |