MasayukiSuda / GPUVideo-android

This library apply video filter on generate an Mp4 and on ExoPlayer video and Video Recording with Camera2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

com.daasuu.gpuv.camerarecorder.capture.MediaEncoder.drain

shivangbtech opened this issue · comments

com.daasuu.gpuv.camerarecorder.capture.MediaEncoder.drain

MediaEncoder.java, line 274

java.lang.IllegalStateException: java.lang.IllegalStateException

android.media.MediaCodec.native_dequeueOutputBuffer MediaCodec.java
android.media.MediaCodec.dequeueOutputBuffer MediaCodec.java:2789
com.daasuu.gpuv.camerarecorder.capture.MediaEncoder.drain MediaEncoder.java:274
com.daasuu.gpuv.camerarecorder.capture.MediaEncoder.run MediaEncoder.java:132
java.lang.Thread.run Thread.java:919

Device: moto e(7) power
OS: 10

Related issues on google:
saki4510t/AudioVideoRecordingSample#10
https://ask.csdn.net/questions/5610196

I am facing the above issue on some devices, I tried to find the solution but I didn't get the solution.
Can anybody please help to fix it?

com.daasuu.gpuv.camerarecorder.capture.MediaEncoder.drain

MediaEncoder.java, line 274

java.lang.IllegalStateException: java.lang.IllegalStateException

android.media.MediaCodec.native_dequeueOutputBuffer MediaCodec.java
android.media.MediaCodec.dequeueOutputBuffer MediaCodec.java:2789
com.daasuu.gpuv.camerarecorder.capture.MediaEncoder.drain MediaEncoder.java:274
com.daasuu.gpuv.camerarecorder.capture.MediaEncoder.run MediaEncoder.java:132
java.lang.Thread.run Thread.java:919

Device: moto e(7) power
OS: 10

Related issues on google:
saki4510t/AudioVideoRecordingSample#10
https://ask.csdn.net/questions/5610196

I am facing the above issue on some devices, I tried to find the solution but I didn't get the solution.
Can anybody please help to fix it?

Hi, @shivangbtech. I'm trying to record a 60fps video in Mi 11 pro and Honor V30 pro. I also encountered this problem. The fact is that my programe throw out this exception. But it can still run with this exception caught. So I want to ask you whether you have solved this problem after several months.