2

We work with a Sony Xperia Z5 device and have encountered difficulties retrieving a 60fps video stream (VGA or HD) from the front (and back) camera using Android APIs. We don't use the media recorder, we want to do live image processing and therefore don't need to save the images. We used the getHighSpeedVideoFpsRanges() Method but didn't get any results. This is somehow a strange behaviour. It would be great to use the front camera for this. Is there any other way to access the camera via the Android APIs with 60fps (or more)? Are there other (Sony) devices that allow retrieving 60fps streams for third party apps via the Android APIs? Empty result - getHighSpeedVideoFpsRanges()

Alex Cohn
  • 56,089
  • 9
  • 113
  • 307
  • Have you upgraded the OS from the original Lollipop 5.1.1? – Alex Cohn Jul 08 '17 at 14:07
  • Yes. We have tried it with Android 6.0.1 and Android 7.0. Both with the same results. – Valmir Bekiri Jul 08 '17 at 19:25
  • From you description, it is not clear whether the difficulties are device-specific, or if Z5 is the single device you have to develop this feature. In the latter case, maybe the problem is with your code. If you post it here, somebody may find a bug in your code. – Alex Cohn Jul 08 '17 at 19:51
  • 1
    We have also tested it with a Google Nexus 5x and it worked as we got results. Therefore we are very curios why it does not work with the Z5 (and probably other sony devices too) because the camera theoretically should be capable of doing this. – Valmir Bekiri Jul 08 '17 at 22:26

1 Answers1

0

Checking the internet forums, e.g. Reddit or Xperia Support, this device does not have full camera2 implementation. It seems that Sony only provides legacy camera2 hardware level.

In some cases, you can achieve more through the deprecated hardware.Camera API. I am not sure if specifically for Sony Xperia Z5, it is possible to receive reliable 60 fps video stream with the old API, but the big question is whether it is worthwhile to invest in such R&D effort.

Alex Cohn
  • 56,089
  • 9
  • 113
  • 307