mirror of
https://github.com/LukeHagar/plexcsharp.git
synced 2025-12-06 12:37:46 +00:00
110 KiB
110 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 |
double | ➖ | 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 |
List<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)" } ] } ] |