Home > Mobile >  Using mediacodec problems
Using mediacodec problems

Time:11-02

Different mobile phone as a result, in a huawei phone appear this error:

01-03 17:07:56. 606, 6769-7142/com. Example. Joanna. Myrecorder E/ACodec: [OMX. End. Video. The decoder. Avc] ERROR (0 x80001009)
01-03 17:07:56. 606, 6769-7142/com. Example. Joanna. Myrecorder E/ACodec: signalError (omxError 0 x80001009 internalError - 2147483648)
01-03 17:07:56. 606, 6769-7141/com. Example. Joanna. Myrecorder E/MediaCodec: Codec reported err 0 x80001009, actionCode 0, while in the state of 6
01-03 17:07:56. 606, 6769-7140/com. Example. Joanna. Myrecorder E/AndroidRuntime: FATAL EXCEPTION: - thread pool - 1-1
Process: com. Example. Joanna myrecorder, PID: 6769
Java. Lang. An IllegalStateException
An android. Media. MediaCodec. Native_queueInputBuffer (Native Method)
An android. Media. MediaCodec. QueueInputBuffer (MediaCodec. Java: 834)
At com. Example. Joanna. Myrecorder. AvcDecoder. DecodeH264 (AvcDecoder. Java: 93)
At com. Example. Joanna. Myrecorder. RoomMainActivity $8. The run (1207) RoomMainActivity. Java:
The at Java. Lang. Thread. The run (Thread. Java: 833)
The at Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1112)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 587)
The at Java. Lang. Thread. The run (Thread. Java: 833)


======================================
Excuse me, is what circumstance can lead to this, how long I don't know where the problem,

CodePudding user response:

A Google phone also appeared the same error, adjust for a long time did not solve, how to break with o!!!!!!

CodePudding user response:

01-10 10:14:38. 178, 13851-13897/com. Dl. Mytest E/ACodec: [OMX. End. Video. The decoder. Avc] ERROR (0 x80001009)
01-10 10:14:38. 178, 13851-13897/com. Dl. Mytest E/ACodec: signalError (omxError 0 x80001009 internalError - 2147483648)
01-10 10:14:38. 179, 13851-13896/com. Dl. Mytest E/MediaCodec: Codec reported err 0 x80001009, actionCode 0, while in the state of 6
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
The above is my error code, the following is said to be one of the reasons for this error may occur,
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
1: plug the wrong data
2: the Frame of entrance data with the flag (BUFFER_FLAG_CODEC_CONFIG), but the team's data didn't bring in SPS, PPS,
Or, instead, use this flag, data of the SPS and PPS,

CodePudding user response:

Can you tell me the solution? I also encountered the same error
  • Related