Files
plexphp/docs/Models/Operations/GetMetadataMedia.md

110 KiB
Raw Blame History

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 [
{
"id": 15,
"key": "/library/parts/15/1705637151/file.mp4",
"duration": 141417,
"file": "/movies/Serenity (2005)/Serenity (2005).mp4",
"size": 40271948,
"audioProfile": "lc",
"container": "mp4",
"has64bitOffsets": false,
"optimizedForStreaming": false,
"videoProfile": "high",
"Stream": [
{
"id": 30,
"streamType": 1,
"default": true,
"codec": "h264",
"index": 1,
"bitrate": 2160,
"bitDepth": 8,
"chromaLocation": "left",
"chromaSubsampling": 14520,
"codedHeight": 816,
"codedWidth": 1920,
"colorPrimaries": "bt709",
"colorRange": "tv",
"colorSpace": "bt709",
"colorTrc": "bt709",
"frameRate": 24,
"hasScalingMatrix": false,
"height": 814,
"level": 40,
"profile": "high",
"refFrames": 4,
"scanType": "progressive",
"streamIdentifier": "2",
"width": 1920,
"displayTitle": "1080p (H.264)",
"extendedDisplayTitle": "1080p (H.264)"
},
{
"id": 29,
"streamType": 2,
"selected": true,
"default": true,
"codec": "aac",
"index": 0,
"channels": 2,
"bitrate": 128,
"language": "English",
"languageTag": "en",
"languageCode": "eng",
"profile": "lc",
"samplingRate": 44100,
"streamIdentifier": "1",
"displayTitle": "English (AAC Stereo)",
"extendedDisplayTitle": "English (AAC Stereo)"
}
]
}
]