Relative Content

Tag Archive for androidimage-processingvideovideo-streamingandroid-mediacodec

Android MediaCodec’s getOutputImage() returns a read-only image

I have a video player that uses MediaCodec to render frames to a surface, just as suggested here, and it works. I need to apply some processing to the frames and change their pixels before they are rendered. But getOutputImage() returns a Read-Only image. How can I change the pixel data then?