Back to Exoplayer

AnnexBToAvccConverter (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/muxer/AnnexBToAvccConverter.html

latest2.1 KB
Original Source

Package com.google.android.exoplayer2.muxer

Interface AnnexBToAvccConverter


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public interfaceAnnexBToAvccConverter

Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.

Converts a buffer containing H.264/H.265 NAL units from the Annex-B format (ISO/IEC 14496-14 Annex B, which uses start codes to delineate NAL units) to the avcC format (ISO/IEC 14496-15, which uses length prefixes).

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | static AnnexBToAvccConverter | DEFAULT | Deprecated.

Default implementation for AnnexBToAvccConverter. |

Method Summary

All Methods Instance Methods Abstract Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | void | process​(ByteBuffer inputBuffer) | Deprecated.

Processes a buffer in-place. |

Field Detail

- 

DEFAULT

static final[AnnexBToAvccConverter](AnnexBToAvccConverter.html "interface in com.google.android.exoplayer2.muxer")DEFAULT

Deprecated.

Default implementation for AnnexBToAvccConverter.

Method Detail

- 

process

void process​([ByteBuffer](https://developer.android.com/reference/java/nio/ByteBuffer.html "class or interface in java.nio")inputBuffer)

Deprecated.

Processes a buffer in-place.

Expects a ByteBuffer input with a zero offset.

Parameters:inputBuffer - The buffer to be converted.