Interface AnnexBToAvccConverter


  • @Deprecated
    public interface AnnexBToAvccConverter
    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).
    • Method Detail

      • process

        void process​(ByteBuffer inputBuffer)
        Deprecated.
        Processes a buffer in-place.

        Expects a ByteBuffer input with a zero offset.

        Parameters:
        inputBuffer - The buffer to be converted.