Comments (7)
Does the little color blob at the bottom keep animating? If you hit the "capture" button after it freezes, does it create a recording?
I don't have access to a Nexus 6, so I can't reproduce the issue. (It doesn't happen on the devices I have access to.)
This is not related to issue #36, as that race condition is caused by having two EGL contexts that share data. Although now I'm confused -- you wrote "ContinuousCaptureActivity" but also "Show + capture camera", which are different things. If you meant CameraCaptureActivity then it probably is relevant.
from grafika.
Interesting finds:
- Happens on Nexus 5x too (in case you have that)
- Starting the camera resumes the screen
- If I start it with the recording started, screen doesn't freeze.
- this (https://github.com/yulu/ShaderCam) sample project doesn't freeze either
Edit: Sorry I meant "CameraCaptureActivity", I've been staring at this for too long haha
Edit 2: Adding fixes it. Could you explain this magic?
GLES20.glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT);
from grafika.
I don't know why calling glClear()
would affect things. Weird.
from grafika.
Can I mark this as fixed and could you accept the pull request XD?
from grafika.
Without understanding the nature of the bug, it's impossible to declare that the change fixes the problem, rather than simply disguising it.
In any event, there are some legal questions with regard to accepting pull requests, and as a non-employee I'm not in a position to answer them. So somebody else would need to handle it.
from grafika.
@fadden You mentioned "Does the little color blob at the bottom keep animating?". I see this moving blob. Has this been addressed elsewhere? This is the only mention of it I can find for the Continuous Capture. Trying to get rid of the blob...
from grafika.
@fadden Figured it out. Commenting out calls to "drawExtra" eliminated the blob. Guessing it's intentional for some reason I can't understand...
from grafika.
Related Issues (20)
- Sound not available in Video using CameraCaptureActivity HOT 1
- how can i remove shape HOT 1
- how can i add shapes in texture view using open gl
- glReadPixels returns a blank image on disabling blend
- Decoding four video streams simultaneous on Google Pixel 2 phone
- seconds of video in Continuous Capture mode becomes double after keeping it on for a while. HOT 3
- If you want to record mp4 with sound, use this one https://github.com/moo611/OpenCamera
- Memory leak of Texture2dProgram
- Continuous capture bug(Android5.1.1) HOT 1
- Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x38 in tid 9379, pid 9379
- Some OpenGL stuff doesn't work on some devices: eglMakeCurrent failed and glDrawArrays: glError 0x505 HOT 4
- How to show front and back camera simultaneously? HOT 5
- Can we play scene.json in grafika?
- Test HOT 1
- Doesn't build on Flamingo and Giraffe HOT 2
- fun fact HOT 1
- Camera2 Pass Images from ImageReader to MediaRecorder HOT 2
- Camera2 pipeline; synchronously get PRIVATE/YUV/RGB Image data from a Frame HOT 4
- Website
- OpenGL + MediaRecorder.VideoEncoder.AV1 - a freezing video (like very low fps)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafika.