Usb相机android(等时传输) [英] Usb camera android (isochronous transfer)

查看:464
本文介绍了Usb相机android(等时传输)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



因为Android上某些芯片组的事实不支持usb相机流的等时传输,我想尝试一种不同的自编译方式应用程序。这个应用程序应该使用它通过JNA访问相机以使视频流运行。



你可以在github上看到我的项目:





GitHub - Peter-St / UVC_camera_usb_iso [ ^ ]



第一件事是将JNA.jar正确链接到程序。我通过从 jna / dist at master·java-native-access /下载jna.jar解决了这个问题jna·GitHub [ ^ ]并将其与正确的* .so库链接到项目。下一部分是研究应用程序以使视频流运行



问候,



彼得



我尝试了什么:



在我的项目中,我使用的是usbiso.java代码可以找到: UsbIso - USB等时传输控制器(Android / Linux的Java类) [ ^ ]

项目的其余部分运行在main.java代码上。

Hello,

because of the fact of certain chipsets on Android does not support Isochronous transfer for usb camera streaming, I want to try a different way over a selfcompiled app. This app should use it's access to the camera over JNA to get the video stream running.

You can see my project on github:


GitHub - Peter-St/UVC_camera_usb_iso[^]

The first thing was to correctly link the JNA.jar to the program. I solved this by downloading the jna.jar from jna/dist at master · java-native-access/jna · GitHub[^] and linked it with the correct *.so library to the project. Next part is to study the app to get the video stream running

Regards,

Peter

What I have tried:

In my project I'm using the usbiso.java code which can be found: UsbIso - USB isochronous transfer controller (Java class for Android / Linux)[^]
The rest of the project runns over the main.java code.

推荐答案

工作项目的新链接:



GitHub - Peter-St / Android-UVC-Camera [ ^ ]



Peter
New link for the working project:

GitHub - Peter-St/Android-UVC-Camera[^]

Peter


这篇关于Usb相机android(等时传输)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆