柳鲲鹏
柳鲲鹏
The code save yuv format to fille. And I tested again it work well. You can click recodr to comfirm. And I upload my apk, you can try it. Good...
https://github.com/quantum6/Quantum6-Android-USB-OTG-Camera/tree/main/OTGCamera/release
1, Do you open the repo? 2, Is the apk size OK? 3, When Record(not Record YUV), the file is OK?
Did you plug the camera?
1, the mp4 you upload, use which apk? 2, what the info on screen? 3, try other phone.
1, This code is forked from that. I rebuild and upload, anyone can download and build directly. 2, fps=1means no video frame received. 3, How you record the video file?
I researched that repo. By this time, I don't know (where the data come from). So I can;'t record yuv data.
My suggistion is: Use my project, and copy other code to this.
Try This: https://github.com/quantum6/Android-UVC-Camera-Bulk-Transfer
Is the preview OK?