# 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)

*** ** * ** ***


```
public final class ExportResult.ProcessedInput
```

<br />

*** ** * ** ***

An input entirely or partially processed.

## Summary

| ### Public fields |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/transformer/ExportResult.ProcessedInput#audioDecoderName()` The name of the audio decoder used to process `mediaItem`. |
| `final @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/androidx/media3/common/Format` | `https://developer.android.com/reference/androidx/media3/transformer/ExportResult.ProcessedInput#audioFormat()` The audio `https://developer.android.com/reference/androidx/media3/common/Format` of the `https://developer.android.com/reference/androidx/media3/common/MediaItem`. |
| `final long` | `https://developer.android.com/reference/androidx/media3/transformer/ExportResult.ProcessedInput#durationUs()` The duration of the `https://developer.android.com/reference/androidx/media3/common/MediaItem`, in microseconds. |
| `final https://developer.android.com/reference/androidx/media3/common/MediaItem` | `https://developer.android.com/reference/androidx/media3/transformer/ExportResult.ProcessedInput#mediaItem()` The processed `https://developer.android.com/reference/androidx/media3/common/MediaItem`. |
| `final @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/transformer/ExportResult.ProcessedInput#videoDecoderName()` The name of the video decoder used to process `mediaItem`. |
| `final @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/androidx/media3/common/Format` | `https://developer.android.com/reference/androidx/media3/transformer/ExportResult.ProcessedInput#videoFormat()` The video `https://developer.android.com/reference/androidx/media3/common/Format` of the `https://developer.android.com/reference/androidx/media3/common/MediaItem`. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/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)( https://developer.android.com/reference/androidx/media3/common/MediaItem mediaItem, long durationUs, @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/androidx/media3/common/Format audioFormat, @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/androidx/media3/common/Format videoFormat, @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/String.html audioDecoderName, @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/String.html videoDecoderName )` Creates an instance. |

## Public fields

### audioDecoderName

```
public final @Nullable String audioDecoderName
```

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

### audioFormat

```
public final @Nullable Format audioFormat
```

The audio `https://developer.android.com/reference/androidx/media3/common/Format` of the `https://developer.android.com/reference/androidx/media3/common/MediaItem`.

### durationUs

```
public final long durationUs
```

The duration of the `https://developer.android.com/reference/androidx/media3/common/MediaItem`, in microseconds.

### mediaItem

```
public final MediaItem mediaItem
```

The processed `https://developer.android.com/reference/androidx/media3/common/MediaItem`.

### videoDecoderName

```
public final @Nullable String videoDecoderName
```

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

### videoFormat

```
public final @Nullable Format videoFormat
```

The video `https://developer.android.com/reference/androidx/media3/common/Format` of the `https://developer.android.com/reference/androidx/media3/common/MediaItem`.

## Public constructors

### ProcessedInput

```
public ProcessedInput(
    MediaItem mediaItem,
    long durationUs,
    @Nullable Format audioFormat,
    @Nullable Format videoFormat,
    @Nullable String audioDecoderName,
    @Nullable String videoDecoderName
)
```

Creates an instance.