-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Frame rate drops, jerky video when recording multiple videos with GOS Camera #491
Comments
I wondered why I kept getting lag spikes when recording videos, it actually affects the recordings as well. I get 2-3 seconds of lag, especially when moving the camera it kind of feels like the stabilization is adding resistance to the camera movement on screen, it will suddenly jump from the previous position to the new one but smoothly if that makes sense. Then the resulting video looks normal but has glitches at these points like a bunch of frames were dropped. GOS Camera 77 |
We're not able to reproduce any issue.
Electronic Image Stabilization (EIS) is optional. |
It seems to only happen when using zoom + recording multiple videos in quick succession as the original report describes. Just for sanity I checked using GCam and I do notice a stickiness when zoomed in but it happens less often, is less noticeable and there is no lag. I also noticed that the phone did not heat up at all as it did with GOS Camera, even after many short or long videos. I had set GCam to use GOS Gallery app as well and am using fake GPlay service APK so there is no AI/cloud shenanigans going on. I have tried resetting GOS Camera to factory version and update again and so far I cannot reproduce, and it did not heat up like it did before reset. I will check under "normal" conditions later which is outside in the sun + cellular (usually low reception at the beach) and recording waves/surfing which I guess due to colour flatness may cause issues with EIS/focus. |
Confirmed for me at least, resetting GOS Camera to V74, then updating again fixed the issue with dropped frames/stalling when recording multiple videos. Guessing this is mainly due to the app data being cleared. Also guessing this might be an issue for where the OS was updated from 14->15? However the camera while zoomed on the sea at least has a real hard time focusing and is very resistant to movement with EIS on and gives the impression of lag/slowness still. GCam on the other hand has no issues. |
I don't see why clearing data would help. |
I've used the default GrapheneOS Camera for about 4 years with no issues. Starting a few months ago, I started having having the following issue recording video with the GOS camera:
I can capture one video without any problems. But capturing subsequent videos results in multiple lags/jerks/frame skips. The issue is still present on the recently released GOS camera version 75 (if anything, its actually a bit worse in this version).
The issue does not happen using Google's Pixel Camera app from the Play store.
What appears to be happening is that the GOS Camera is performing some kind of lengthy post-processing after I end the capture, and the CPU becomes too busy to take subsequent videos (unless I reboot or wait a long time (say, a few minutes) between video captures).
I can lessen the problem by switching to a lower resolution, but the problem never goes away entirely.
How I can reproduce:
Take multiple ~15 second videos, one after the other (record, stop, record, stop, etc). After the 3rd/4th attempt, the resulting video has numerous lags where the video freezes for a few seconds. After the 5th/6th attempt, video capture almost stops working entirely. The phone becomes quite hot.
This happens for me on my Pixel 7 and a brand new Pixel 8a.
I can lessen the problem by switching to a lower resolution (1080p) and disabling image stabilization, but the problem never goes away entirely.
The text was updated successfully, but these errors were encountered: