# Media


## Fields

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