Skip to content

M300 遥控器上解码花屏,编解码 #75

@stacker10

Description

@stacker10

初始化MediaCodec时,设置surface为null
codec.configure(format, null, null, 0);
在解码的时候,获取一帧数据
Image image = codec.getOutputImage(outIndex);
将这帧image存为图片

同样的代码在华为Mate30手机上面可以正常存储显示,在M300遥控器上面保存的这帧数据出现花屏。

请问M300遥控器硬件是否支持硬解码,或者哪些编解码格式,输出数据类型是什么

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions