Patrick Liao
unread,Mar 26, 2021, 4:10:25 AM3/26/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android CameraX Discussion Group, josh....@gmail.com, Android CameraX Discussion Group, Scott Nien
Hi Josh and Scott,
I do have an idea regarding drop frame detection.
Say the shutter speed is 1/60s (Which is typically used for shooting 30fps videos), then you would expect frames coming in every 16ms (1000ms / 60 = 16ms). If a frame comes in around 16ms, I would say that it is probably fine. By contrast, if the next frame took 30ms or even 40ms to come in, that's when I can tell that something is going on...
This is what I am currently using for debugging my analyzer code, not sure if this helps (For video, I lock AE_TARGET_FPS_RANGE to 50 so I expect the shutter speed to be 1/50s~1/100s and the frames should come in every 20ms).
Best,