-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Camera2Video glitching and green flickering in recorded video in Galaxy S6 #348
Comments
@owahltinez any idea why this is happening? |
Yes. I am experiencing this problem too. |
@HasimD the only solution I found is change my implementation to use TextureView instead SurfaceView...just if it's useful for you. It's a bit of shame that Google doesn't provide a good examples and don't even attend the tickets created |
I agree with you, i'm very surprised. The offical sample doesn't seem like professional. Also if I click to the capture button, the app crashes. I need to press it for a while. They said it is not an error and they will change it. Weird. |
Looking at the code this is the correct behaviour. |
I'm experiencing the same problem on my Galaxy s7 and Pixel 3. This is the only offical video recording demo using Camera2, which is embarrassing... |
@buntupana I just happened to find that an animation causes the white flash. Search for the variable animationTask in CameraFragment.kt. Comment that out will solve the problem. |
@amazingvoice I'm not complaining about the white flickering, it's the green flickering and the glitching when the video is recorded what this ticket is about |
In Samsung Galaxy S6 the video result has a green flickering and glitching effect. I think it's probably related somehow with SurfaceView, I've tried and old implementation using TextureView and it does not have this issue.
The text was updated successfully, but these errors were encountered: