extractVpsSpsPpsFromH265

You need find 0 0 0 1 byte sequence that is the initiation of vps, sps and pps buffers.

Return

list with vps, sps and pps

Parameters

csd0byteBuffer

get in mediacodec case MediaCodec.INFO_OUTPUT_FORMAT_CHANGED