# ExportResult.ProcessedInput

# ExportResult.ProcessedInput

Artifact:[androidx.media3:media3-transformer](https://developer.android.com/jetpack/androidx/releases/media3)  
[View Source](https://cs.android.com/search?q=file:androidx/media3/transformer/ExportResult.java+class:androidx.media3.transformer.ExportResult.ProcessedInput)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/transformer/ExportResult.ProcessedInput "View this page in Java")

<br />

```
class ExportResult.ProcessedInput
```

<br />

*** ** * ** ***

An input entirely or partially processed.

## Summary

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ### Public constructors                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ProcessedInput](https://developer.android.com/reference/kotlin/androidx/media3/transformer/ExportResult.ProcessedInput#ProcessedInput(androidx.media3.common.MediaItem,long,androidx.media3.common.Format,androidx.media3.common.Format,java.lang.String,java.lang.String))`(` ` mediaItem: `[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)`!,` ` durationUs: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`,` ` audioFormat: `[Format](https://developer.android.com/reference/kotlin/androidx/media3/common/Format)`?,` ` videoFormat: `[Format](https://developer.android.com/reference/kotlin/androidx/media3/common/Format)`?,` ` audioDecoderName: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`?,` ` videoDecoderName: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`?` `)` Creates an instance. |

|                                      ### Public properties                                      |
|-------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`?`            | [audioDecoderName](https://developer.android.com/reference/kotlin/androidx/media3/transformer/ExportResult.ProcessedInput#audioDecoderName()) The name of the audio decoder used to process`mediaItem`.                                                                                                                                |
| [Format](https://developer.android.com/reference/kotlin/androidx/media3/common/Format)`?`       | [audioFormat](https://developer.android.com/reference/kotlin/androidx/media3/transformer/ExportResult.ProcessedInput#audioFormat()) The audio[Format](https://developer.android.com/reference/kotlin/androidx/media3/common/Format)of the[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem). |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                   | [durationUs](https://developer.android.com/reference/kotlin/androidx/media3/transformer/ExportResult.ProcessedInput#durationUs()) The duration of the[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem), in microseconds.                                                                    |
| [MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)`!` | [mediaItem](https://developer.android.com/reference/kotlin/androidx/media3/transformer/ExportResult.ProcessedInput#mediaItem()) The processed[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem).                                                                                             |
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`?`            | [videoDecoderName](https://developer.android.com/reference/kotlin/androidx/media3/transformer/ExportResult.ProcessedInput#videoDecoderName()) The name of the video decoder used to process`mediaItem`.                                                                                                                                |
| [Format](https://developer.android.com/reference/kotlin/androidx/media3/common/Format)`?`       | [videoFormat](https://developer.android.com/reference/kotlin/androidx/media3/transformer/ExportResult.ProcessedInput#videoFormat()) The video[Format](https://developer.android.com/reference/kotlin/androidx/media3/common/Format)of the[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem). |

## Public constructors

### ProcessedInput

```
ProcessedInput(
    mediaItem: MediaItem!,
    durationUs: Long,
    audioFormat: Format?,
    videoFormat: Format?,
    audioDecoderName: String?,
    videoDecoderName: String?
)
```

Creates an instance.  

## Public properties

### audioDecoderName

```
val audioDecoderName: String?
```

The name of the audio decoder used to process`mediaItem`. This field is`null`if no audio decoder was used.  

### audioFormat

```
val audioFormat: Format?
```

The audio[Format](https://developer.android.com/reference/kotlin/androidx/media3/common/Format)of the[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem).  

### durationUs

```
val durationUs: Long
```

The duration of the[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem), in microseconds.  

### mediaItem

```
val mediaItem: MediaItem!
```

The processed[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem).  

### videoDecoderName

```
val videoDecoderName: String?
```

The name of the video decoder used to process`mediaItem`. This field is`null`if no video decoder was used.  

### videoFormat

```
val videoFormat: Format?
```

The video[Format](https://developer.android.com/reference/kotlin/androidx/media3/common/Format)of the[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem).