GPUVideo-android icon indicating copy to clipboard operation
GPUVideo-android copied to clipboard

Low FPS because of onFrameAvailable takes 150-200 milliseconds

Open patolax opened this issue 5 years ago • 1 comments
trafficstars

I want to draw a moving bitmap on camera preview. To do that I changed Overlay filter. However, the time difference between each onFrameAvailable call is around 150-200 milliseconds. So that when I try to draw the animation on SurfaceTexture, FPS is super low. To move a bitmap one pixel at a time on 720 dp screen, it takes around 2 minutes.

Is there a way to improve this time lag.

(I am using 1280x720 size, if I reduce it performance improves but image quality is not satisfactory)

patolax avatar Nov 04 '20 09:11 patolax

@patolax anything you did to solve this?

pablogeek avatar Feb 11 '21 12:02 pablogeek