Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shivangbtech opened this issue May 5, 2021 · 1 comment
Open

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

shivangbtech opened this issue May 5, 2021 · 1 comment

Comments

@shivangbtech
Copy link

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?

@hebangwen
Copy link

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.

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

No branches or pull requests

2 participants