ExportResult.ProcessedInput


public final class ExportResult.ProcessedInput


An input entirely or partially processed.

Summary

Public fields

final @Nullable String

The name of the audio decoder used to process mediaItem.

final @Nullable Format

The audio Format of the MediaItem.

final long

The duration of the MediaItem, in microseconds.

final MediaItem

The processed MediaItem.

final @Nullable String

The name of the video decoder used to process mediaItem.

final @Nullable Format

The video Format of the MediaItem.

Public constructors

ProcessedInput(
    MediaItem mediaItem,
    long durationUs,
    @Nullable Format audioFormat,
    @Nullable Format videoFormat,
    @Nullable String audioDecoderName,
    @Nullable String 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 Format of the MediaItem.

durationUs

public final long durationUs

The duration of the MediaItem, in microseconds.

mediaItem

public final MediaItem mediaItem

The processed 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 Format of the 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.