mirror of
https://github.com/LukeHagar/plexphp.git
synced 2025-12-06 04:20:51 +00:00
99 KiB
99 KiB
GetMetadataMedia
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id |
?int | ➖ | N/A | 15 |
duration |
?int | ➖ | N/A | 141417 |
bitrate |
?int | ➖ | N/A | 2278 |
width |
?int | ➖ | N/A | 1920 |
height |
?int | ➖ | N/A | 814 |
aspectRatio |
?float | ➖ | N/A | 2.35 |
audioChannels |
?int | ➖ | N/A | 2 |
audioCodec |
?string | ➖ | N/A | aac |
videoCodec |
?string | ➖ | N/A | h264 |
videoResolution |
?string | ➖ | N/A | 1080 |
container |
?string | ➖ | N/A | mp4 |
videoFrameRate |
?string | ➖ | N/A | 24p |
optimizedForStreaming |
?int | ➖ | N/A | 0 |
audioProfile |
?string | ➖ | N/A | lc |
has64bitOffsets |
?bool | ➖ | N/A | false |
videoProfile |
?string | ➖ | N/A | high |
part |
array<\LukeHagar\Plex_API\Models\Operations\GetMetadataPart> | ➖ | N/A | [{"Stream":[{"bitDepth":8,"bitrate":2160,"chromaLocation":"left","chromaSubsampling":14520,"codec":"h264","codedHeight":816,"codedWidth":1920,"colorPrimaries":"bt709","colorRange":"tv","colorSpace":"bt709","colorTrc":"bt709","default":true,"displayTitle":"1080p (H.264)","extendedDisplayTitle":"1080p (H.264)","frameRate":24,"hasScalingMatrix":false,"height":814,"id":30,"index":1,"level":40,"profile":"high","refFrames":4,"scanType":"progressive","streamIdentifier":"2","streamType":1,"width":1920},{"bitrate":128,"channels":2,"codec":"aac","default":true,"displayTitle":"English (AAC Stereo)","extendedDisplayTitle":"English (AAC Stereo)","id":29,"index":0,"language":"English","languageCode":"eng","languageTag":"en","profile":"lc","samplingRate":44100,"selected":true,"streamIdentifier":"1","streamType":2}],"audioProfile":"lc","container":"mp4","duration":141417,"file":"/movies/Serenity (2005)/Serenity (2005).mp4","has64bitOffsets":false,"id":15,"key":"/library/parts/15/1705637151/file.mp4","optimizedForStreaming":false,"size":40271948,"videoProfile":"high"}] |