Skip to content
This repository was archived by the owner on Oct 10, 2024. It is now read-only.
This repository was archived by the owner on Oct 10, 2024. It is now read-only.

MediaCodec throws exception in the prepareEncoder method is some devices specially on devices with android version lower than 12 #205

@PixelUser-oss

Description

@PixelUser-oss

Hi, im trying to compress my videos but i have a problem in some devices specially those devices with android version lower than 12
the media codec throws an exception with the 0x80001001 error code.

[OMX.qcom.video.encoder.avc] configureCodec returning error -38
signalError(omxError 0x80001001, internalError -2147483648)
[OMX.qcom.video.encoder.avc] configureCodec returning error -38
signalError(omxError 0x80001001, internalError -2147483648)
Codec reported err 0x80001001, actionCode 0, while in state 3/CONFIGURING
Codec reported err 0x80001001, actionCode 0, while in state 0/UNINITIALIZED
configure failed with err 0x80001001, resetting...
Error 0x80001001 android.media.MediaCodec$CodecException: Error 0x80001001 at android.media.MediaCodec.native_configure(Native Method) at android.media.MediaCodec.configure(MediaCodec.java:2176) at android.media.MediaCodec.configure(MediaCodec.java:2092)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions