rtsp-client-android icon indicating copy to clipboard operation
rtsp-client-android copied to clipboard

decode h264/h265 frames to bitmap without using surface

Open sam21abc opened this issue 4 years ago • 3 comments

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.

sam21abc avatar Jan 12 '22 04:01 sam21abc

+1 Regarding this!

Lucaszw avatar Jan 20 '22 21:01 Lucaszw

Did you get how to get bitmap from decoded frames?

rmcamps avatar Aug 15 '22 18:08 rmcamps

+1 Regarding this

DalalAlmotwaa avatar Feb 05 '24 08:02 DalalAlmotwaa