|
发表于 2016-8-10 12:09:25
只看该作者
28#
本帖最后由 214740484 于 2016-8-10 12:37 编辑
LZ,reload板子,android 5.1系统,最新的git代码,按照你的教程一步步操作,而且把APK的源码的sd卡路径修改了一下。三个视频播放正常,但是无法成功预览。用的摄像头是罗技的C270与C920,/dev目录下能看到video设备文件。进程里面有uvcserver,
APP的log信息如下
08-10 11:46:51.859 8588-8588/com.example.multicodecs D/UvcJNI: native_setup
08-10 11:46:51.859 8588-8588/com.example.multicodecs D/UvcJNI: JniTachographCallback construct
08-10 11:46:51.859 8588-8588/com.example.multicodecs D/IUvcService: createUvc
08-10 11:46:51.860 8588-8588/com.example.multicodecs D/UvcClient: createUvc mUvc=0xb72a4f20
08-10 11:46:51.860 8588-8588/com.example.multicodecs D/UvcClient: setCallback 0xb726ff10
08-10 11:46:51.860 8588-8588/com.example.multicodecs D/UvcClient: setUvcId(0)
08-10 11:46:51.860 8588-8588/com.example.multicodecs D/UvcClient: connect
08-10 11:46:51.860 8588-8588/com.example.multicodecs D/UvcJNI: valid
08-10 11:46:51.860 8588-8588/com.example.multicodecs D/UvcClient: valid
08-10 11:46:51.861 8588-8588/com.example.multicodecs D/UvcJNI: release 0xb7270358
08-10 11:46:51.861 8588-8588/com.example.multicodecs D/UvcClient: disconnect
08-10 11:46:51.861 8588-8588/com.example.multicodecs D/UvcClient: setCallback 0x0
08-10 11:46:51.861 8588-8588/com.example.multicodecs D/UvcClient: release
08-10 11:46:51.862 8588-8588/com.example.multicodecs D/UvcJNI: JniTachographCallback destruct
08-10 11:46:51.874 8588-8588/com.example.multicodecs D/UvcJNI: native_setup
08-10 11:46:51.874 8588-8588/com.example.multicodecs D/UvcJNI: JniTachographCallback construct
08-10 11:46:51.874 8588-8588/com.example.multicodecs D/IUvcService: createUvc
08-10 11:46:51.875 8588-8588/com.example.multicodecs D/UvcClient: createUvc mUvc=0xb72e4528
08-10 11:46:51.875 8588-8588/com.example.multicodecs D/UvcClient: setCallback 0xb72e40a0
08-10 11:46:51.875 8588-8588/com.example.multicodecs D/UvcClient: setUvcId(1)
08-10 11:46:51.875 8588-8588/com.example.multicodecs D/UvcClient: connect
08-10 11:46:51.875 8588-8588/com.example.multicodecs D/UvcJNI: valid
08-10 11:46:51.875 8588-8588/com.example.multicodecs D/UvcClient: valid
08-10 11:46:51.876 8588-8588/com.example.multicodecs D/UvcJNI: release 0xb72e44e8
08-10 11:46:51.876 8588-8588/com.example.multicodecs D/UvcClient: disconnect
08-10 11:46:51.876 8588-8588/com.example.multicodecs D/UvcClient: setCallback 0x0
08-10 11:46:51.877 8588-8588/com.example.multicodecs D/UvcClient: release
08-10 11:46:51.877 8588-8588/com.example.multicodecs D/UvcJNI: JniTachographCallback destruct
08-10 11:46:55.467 8588-8600/com.example.multicodecs D/UvcJNI: native_finalize
08-10 11:46:55.467 8588-8600/com.example.multicodecs D/UvcJNI: release 0x0
08-10 11:46:55.467 8588-8600/com.example.multicodecs D/UvcJNI: native_finalize
08-10 11:46:55.467 8588-8600/com.example.multicodecs D/UvcJNI: release 0x0
08-10 11:46:55.468 8588-8600/com.example.multicodecs D/UvcJNI: native_finalize
08-10 11:46:55.468 8588-8600/com.example.multicodecs D/UvcJNI: release 0x0
08-10 11:46:55.468 8588-8600/com.example.multicodecs D/UvcJNI: native_finalize
08-10 11:46:55.468 8588-8600/com.example.multicodecs D/UvcJNI: release 0x0
想知道哪里出了问题,谢谢!
|
|