rtsp-client-android
rtsp-client-android copied to clipboard
decode h264/h265 frames to bitmap without using surface
Surface is used for decoding raw H264.
val decoder = MediaCodec.createDecoderByType(mimeType)
val format = MediaFormat.createVideoFormat(mimeType, width, height)
decoder.configure(format, surface, null, 0)
decoder.start()
is there any other way to get bitmap from decoded frames without surface.
+1 Regarding this!
Did you get how to get bitmap from decoded frames?
+1 Regarding this