Skip to content
This repository has been 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

Open
PixelUser-oss opened this issue Oct 7, 2024 · 0 comments

Comments

@PixelUser-oss
Copy link

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant