# MediaContainerWithDecisionMedia

`Media` represents an one or more media files (parts) and is a child of a metadata item. There aren't necessarily any guaranteed attributes on media elements since the attributes will vary based on the type. The possible attributes are not documented here, but they typically have self-evident names. High-level media information that can be used for badging and flagging, such as `videoResolution` and codecs, is included on the media element.



## Fields

| Field                                                                                          | Type                                                                                           | Required                                                                                       | Description                                                                                    | Example                                                                                        |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| `aspectRatio`                                                                                  | *Optional\<Double>*                                                                            | :heavy_minus_sign:                                                                             | N/A                                                                                            | 2.35                                                                                           |
| `audioChannels`                                                                                | *Optional\<Long>*                                                                              | :heavy_minus_sign:                                                                             | N/A                                                                                            | 2                                                                                              |
| `audioCodec`                                                                                   | *Optional\<Object>*                                                                            | :heavy_minus_sign:                                                                             | N/A                                                                                            | aac                                                                                            |
| `audioProfile`                                                                                 | *Optional\<Object>*                                                                            | :heavy_minus_sign:                                                                             | N/A                                                                                            | lc                                                                                             |
| `bitrate`                                                                                      | *Optional\<Long>*                                                                              | :heavy_minus_sign:                                                                             | N/A                                                                                            | 5612                                                                                           |
| `container`                                                                                    | *Optional\<Object>*                                                                            | :heavy_minus_sign:                                                                             | N/A                                                                                            | mov                                                                                            |
| `duration`                                                                                     | *Optional\<Long>*                                                                              | :heavy_minus_sign:                                                                             | N/A                                                                                            | 150192                                                                                         |
| `has64bitOffsets`                                                                              | *Optional\<Boolean>*                                                                           | :heavy_minus_sign:                                                                             | N/A                                                                                            | false                                                                                          |
| `hasVoiceActivity`                                                                             | *Optional\<Boolean>*                                                                           | :heavy_minus_sign:                                                                             | N/A                                                                                            | true                                                                                           |
| `height`                                                                                       | *Optional\<Long>*                                                                              | :heavy_minus_sign:                                                                             | N/A                                                                                            | 544                                                                                            |
| `id`                                                                                           | *Optional\<Long>*                                                                              | :heavy_minus_sign:                                                                             | N/A                                                                                            | 1                                                                                              |
| `optimizedForStreaming`                                                                        | *Optional\<Boolean>*                                                                           | :heavy_minus_sign:                                                                             | N/A                                                                                            | false                                                                                          |
| `part`                                                                                         | List\<[MediaContainerWithDecisionPart](../../models/shared/MediaContainerWithDecisionPart.md)> | :heavy_minus_sign:                                                                             | N/A                                                                                            |                                                                                                |
| `videoCodec`                                                                                   | *Optional\<Object>*                                                                            | :heavy_minus_sign:                                                                             | N/A                                                                                            | h264                                                                                           |
| `videoFrameRate`                                                                               | *Optional\<Object>*                                                                            | :heavy_minus_sign:                                                                             | N/A                                                                                            | 24p                                                                                            |
| `videoProfile`                                                                                 | *Optional\<Object>*                                                                            | :heavy_minus_sign:                                                                             | N/A                                                                                            | main                                                                                           |
| `videoResolution`                                                                              | *Optional\<Object>*                                                                            | :heavy_minus_sign:                                                                             | N/A                                                                                            | 720                                                                                            |
| `width`                                                                                        | *Optional\<Long>*                                                                              | :heavy_minus_sign:                                                                             | N/A                                                                                            | 1280                                                                                           |
| `abr`                                                                                          | *Optional\<Boolean>*                                                                           | :heavy_minus_sign:                                                                             | N/A                                                                                            |                                                                                                |
| `resourceSession`                                                                              | *Optional\<String>*                                                                            | :heavy_minus_sign:                                                                             | N/A                                                                                            |                                                                                                |
| `selected`                                                                                     | *Optional\<Boolean>*                                                                           | :heavy_minus_sign:                                                                             | N/A                                                                                            |                                                                                                |
| `additionalProperties`                                                                         | Map\<String, *Object*>                                                                         | :heavy_minus_sign:                                                                             | N/A                                                                                            |                                                                                                |