Android camera native access : startPreview() vs startRecording()

前端 未结 3 1692
走了就别回头了
走了就别回头了 2021-01-31 12:53

Trying to get camera working from native code in Android ICS: most manuals refer to startPreview() method . But browsing AOSP code I\'ve found also \'st

3条回答
  •  甜味超标
    2021-01-31 13:09

    to close topic: I was able to reach 1280x720 with FPS=30 using native access to camera and use hardware H264 encoder. Also can modify (watermark) data on the fly keeping FPS high. None of other approaches - any JAVA or OpenCV could give more that 15 FPS (may be I did not try hard..)

    startRecording() works perfectly

    thank you for comments

提交回复
热议问题