natario1 / CameraView

📸 A well documented, high-level Android interface that makes capturing pictures and videos easy, addressing all of the common issues and needs. Real-time filters, gestures, watermarks, frame processing, RAW, output of any size.
https://natario1.github.io/CameraView
Other
4.94k stars 932 forks source link

IllegalStateException: Unable to update texture contents (see logcat for details) #1253

Open casanovawu opened 1 year ago

casanovawu commented 1 year ago

[SurfaceTexture-19-21130-19] checkAndUpdateEglState: invalid current EGLContext updateAcquireFence: Did not find frame. FATAL EXCEPTION: VideoEncoder Process: cc.shantu.syxj, PID: 21130 java.lang.IllegalStateException: Unable to update texture contents (see logcat for details) at android.graphics.SurfaceTexture.nativeUpdateTexImage(Native Method) at android.graphics.SurfaceTexture.updateTexImage(SurfaceTexture.java:251) at com.otaliastudios.cameraview.overlay.OverlayDrawer.draw(OverlayDrawer.java:81) at com.otaliastudios.cameraview.video.encoding.TextureMediaEncoder.onFrame(TextureMediaEncoder.java:218) at com.otaliastudios.cameraview.video.encoding.TextureMediaEncoder.onEvent(TextureMediaEncoder.java:146) at com.otaliastudios.cameraview.video.encoding.MediaEncoder$3.run(MediaEncoder.java:244) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:223) at android.os.Looper.loop(Looper.java:324) at android.os.HandlerThread.run(HandlerThread.java:67)

casanovawu commented 1 year ago

During the video recording process, there was an exception in continuously starting/pausing the recording

KangJuO commented 8 months ago

Same here..