mobile CCTV,mobile surveillance,police body worn cameras

标题: WiFi眼镜预览黑白 [打印本页]

author: 赛腾信息    time: 2018-10-10 10:33
标题: WiFi眼镜预览黑白
通过MPU连接WiFi眼镜之后打开预览,发现预览为黑白。通过监视器查看为彩色,但是本地MPU 奔溃
10-10 10:22:55.705 9859-10489/com.smarteye.mpu A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 10489 (om.smarteye.mpu)



author: xuwei    time: 2018-10-10 10:57
1.我们出的MPU可以正常预览么?
2.什么情况下会崩溃,必现还是不确定
3.崩溃日志需要完整的系统输出日志
author: 赛腾信息    time: 2018-10-10 12:28
xuwei post on2018-10-10 10:57
1.我们出的MPU可以正常预览么?
2.什么情况下会崩溃,必现还是不确定
3.崩溃日志需要完整的系统输出日志

你们的MPU可以正常预览 ,因为我这边是根据你们老的MPU代码进行二次开发的。所以出现黑白预览是不是有什么参数需要设置的
奔溃出现在 控制台打开传输通道(数据为WIFI眼镜数据,如果是手机摄像头数据则不会奔溃)
奔溃日志就这些
author: 赛腾信息    time: 2018-10-10 13:44
这是连接眼睛后的日志

  1. 10-10 13:42:36.516 9576-9711/com.smarteye.mpu I/WifiIPC: WifiIPC pthread id = 9576
  2.     {"bHasAudio":0,"iHeight":0,"iStatus":0,"iWidth":0,"szCmd":"DESCRIBE","szUrl":"rtsp://192.168.43.59:554/rtsp_live0"}
  3. 10-10 13:42:36.517 9576-9576/com.smarteye.mpu D/UVCControl: selfCheck
  4. 10-10 13:42:36.519 9576-9712/com.smarteye.mpu I/OpenRTSP: start! id= 0
  5. 10-10 13:42:36.519 9576-9712/com.smarteye.mpu D/TcpOptimizer: TcpOptimizer-ON
  6. 10-10 13:42:36.526 9576-9576/com.smarteye.mpu I/OSDMgr: szCustomText = 123456
  7.     id = 0 create, x = 20,y = 20
  8.     id = 1 create, x = 20,y = 120
  9.     id = 2 create, x = 20,y = 220
  10.     id = 3 create, x = 20,y = 320
  11.     id = 4 create, x = 20,y = 420
  12.     id = 5 create, x = 0,y = 0
  13.     loadConfig finish.[{"iCount":5,"stItem":[{"iEnable":1,"iPosX":20,"iPosY":20,"iRenderStyle":1,"iScaleX":0,"iScaleY":0},{"iEnable":0,"iPosX":20,"iPosY":120,"iRenderStyle":1,"iScaleX":0,"iScaleY":0},{"iEnable":0,"iPosX":20,"iPosY":220,"iRenderStyle":1,"iScaleX":0,"iScaleY":0},{"iEnable":0,"iPosX":20,"iPosY":320,"iRenderStyle":1,"iScaleX":0,"iScaleY":0},{"iEnable":0,"iPosX":20,"iPosY":420,"iRenderStyle":1,"iScaleX":0,"iScaleY":0}],"szCustomText":"123456"}]
  14. 10-10 13:42:36.530 9576-9714/com.smarteye.mpu D/License: 36
  15. 10-10 13:42:36.531 9576-9576/com.smarteye.mpu D/MPUService: onMessageFromNative rtspcam.control.response
  16. 10-10 13:42:36.531 9576-9576/com.smarteye.mpu D/WifiIPC: response = {"szCmd": "TEARDOWN", "iStatus":200}
  17. 10-10 13:42:36.531 9576-9576/com.smarteye.mpu D/RTSPCamControl: {"szCmd": "TEARDOWN", "iStatus":200}
  18. 10-10 13:42:36.532 9576-9576/com.smarteye.mpu I/RTSPCamControl: RTSP_CMD_TEARDOWN success
  19. 10-10 13:42:36.540 9576-9714/com.smarteye.mpu I/BillTool: {"stEntity":{"iAPILevel":25,"iDensityDpi":420,"iHeightPixels":2220,"iWidthPixels":1080,"szAndroidID":"7535a7c67952a61c","szBoard":"msm8998","szBrand":"samsung","szBuildTime":"1521427923000","szDeviceID":"358520085977242","szFingerPrint":"samsung/greatqltezc/greatqltechn:7.1.1/NMF26X/N9500ZCS2BRC2:user/release-keys","szHardware":"qcom","szMacAddress":"02:00:00:00:00:00","szModel":"SM-N9500","szRadio":"N9500ZCS2BRC2"},"szAuthParam":"ky62otrHVz8VCLe29kWqn3xqsfPiKnWHPyCZDJqdxhn9qmsBYXPjogKHm4YFClv6C894giiEraRC+8g4qo0skgGz+JUx8V86b0/Aql56HhLgGYdQ7ShwY2JUZcSH5O3r9S8kgVI2KwXexvc+f10n1Zd6fX7Nh4Sty/Mbg7Xny96n9vHTU4v4D13VNWaaBO+LlXkFke80KCkVtfYSQXh4maweD9c6jlEOlimaEFhvvLZr+xGkdhKYhUloeVHmFGZP","szLicense":"F88291D8-E4AD-45E7-8B79-B081E93BB586","szPath":"/storage/emulated/0"}
  20. 10-10 13:42:36.543 9576-9576/com.smarteye.mpu D/MPUService: onMessageFromNative auth
  21. 10-10 13:42:36.543 9576-9576/com.smarteye.mpu I/BillTool: auth---->{"iAuthStatus": 200, "szAuthType":"auth.type.imei"}
  22. 10-10 13:42:36.548 9576-9576/com.smarteye.mpu I/selectCodec: SelectCodec : OMX.qcom.video.encoder.hevc
  23. 10-10 13:42:36.550 9576-9576/com.smarteye.mpu D/ConnectHandler: login:
  24. 10-10 13:42:36.552 9576-9683/com.smarteye.mpu I/SIP: pMsg->iAction = 0
  25. 10-10 13:42:36.553 9576-9683/com.smarteye.mpu I/SIP: BVCSP_Login success!
  26. 10-10 13:42:36.554 9576-9576/com.smarteye.mpu I/System.out: szServerAddr=139.224.68.157,szDeviceName=SM-N9500,szChannelName=video,iServerPort=9702,iDeviceID=630682178,iMediaDir=13,bGPSEnable=1,iVersionCode=1759,szVersionName=20180118,szDeviceType=PU,szManufacturer=smartvideo
  27.     bOpenCVManager=0,bFaceDetection=0,bFaceRecognition=0,bFaceRecognitionList=0,iFaceSize=80,iFaceDetectRate=4,iFaceMatchThrd=600
  28. 10-10 13:42:36.587 9576-9576/com.smarteye.mpu D/CameraHolder: onPreviewFrame: 1382400
  29. 10-10 13:42:36.624 9576-9576/com.smarteye.mpu D/CameraHolder: onPreviewFrame: 1382400
  30. 10-10 13:42:36.651 9576-9687/com.smarteye.mpu I/SIP: hSession = 1,iEventCode = 1,iResult = 0
  31.     register ok!
  32. 10-10 13:42:36.652 9576-9576/com.smarteye.mpu D/MPUService: onMessageFromNative login
  33. 10-10 13:42:36.655 9576-9683/com.smarteye.mpu I/SIP: pMsg->iAction = 3
  34.     BVCSP_SendCmd result[0]
  35.     send cmd[5632]
  36. 10-10 13:42:36.664 9576-9576/com.smarteye.mpu D/CameraHolder: onPreviewFrame: 1382400
  37. 10-10 13:42:36.709 9576-9576/com.smarteye.mpu D/CameraHolder: onPreviewFrame: 1382400
  38. 10-10 13:42:36.727 9576-9712/com.smarteye.mpu I/WifiIPC: videoHeight = 720, videoWidth = 1280
  39. 10-10 13:42:36.727 9576-9712/com.smarteye.mpu E/WifiIPC: [9712*wifiipc.cpp:146:describeHandler]:0x0
  40.     [9712*wifiipc.cpp:146:describeHandler]:0x0
  41.     [9712*wifiipc.cpp:146:describeHandler]:0x0
  42.     [9712*wifiipc.cpp:146:describeHandler]:0x1
  43.     [9712*wifiipc.cpp:146:describeHandler]:0x67
  44.     [9712*wifiipc.cpp:146:describeHandler]:0x42
  45.     [9712*wifiipc.cpp:146:describeHandler]:0x0
  46.     [9712*wifiipc.cpp:146:describeHandler]:0x1F
  47.     [9712*wifiipc.cpp:146:describeHandler]:0x95
  48.     [9712*wifiipc.cpp:146:describeHandler]:0xA8
  49.     [9712*wifiipc.cpp:146:describeHandler]:0x14
  50.     [9712*wifiipc.cpp:146:describeHandler]:0x1
  51.     [9712*wifiipc.cpp:146:describeHandler]:0x6E
  52.     [9712*wifiipc.cpp:146:describeHandler]:0x40
  53.     [9712*wifiipc.cpp:146:describeHandler]:0x0
  54.     [9712*wifiipc.cpp:146:describeHandler]:0x0
  55.     [9712*wifiipc.cpp:146:describeHandler]:0x0
  56.     [9712*wifiipc.cpp:146:describeHandler]:0x1
  57.     [9712*wifiipc.cpp:146:describeHandler]:0x68
  58.     [9712*wifiipc.cpp:146:describeHandler]:0xCE
  59.     [9712*wifiipc.cpp:146:describeHandler]:0x3C
  60.     [9712*wifiipc.cpp:146:describeHandler]:0x80
  61. 10-10 13:42:36.727 9576-9712/com.smarteye.mpu I/WifiIPC: extraDataLen = 22
  62. 10-10 13:42:36.731 9576-9712/com.smarteye.mpu I/ACodec:  [] Now uninitialized
  63. 10-10 13:42:36.731 9576-9731/com.smarteye.mpu I/ACodec: [] onAllocateComponent
  64. 10-10 13:42:36.733 9576-9731/com.smarteye.mpu I/OMXClient: MuxOMX ctor
  65. 10-10 13:42:36.733 9576-9731/com.smarteye.mpu I/ACodec: Set Google AAC Dec for aacProfile 0
  66. 10-10 13:42:36.745 9576-9576/com.smarteye.mpu D/CameraHolder: onPreviewFrame: 1382400
  67. 10-10 13:42:36.759 9576-9731/com.smarteye.mpu I/ACodec: [OMX.qcom.video.decoder.avc] Now Loaded
  68. 10-10 13:42:36.760 9576-9712/com.smarteye.mpu I/CVideoDecode: AMediaCodec_createDecoderByType success!
  69. 10-10 13:42:36.760 9576-9712/com.smarteye.mpu I/MediaCodec: [9576] init()
  70.     new RemoteDisplayInterface(mReflector)++
  71. 10-10 13:42:36.762 9576-9712/com.smarteye.mpu I/MediaCodec: new RemoteDisplayInterface(mReflector)--
  72. 10-10 13:42:36.763 9576-9731/com.smarteye.mpu I/ACodec: get current pid
  73.     app-pid : 9576
  74. 10-10 13:42:36.763 9576-9731/com.smarteye.mpu I/ExtendedACodec: setupVideoDecoder()
  75.     vpp-enable search is 0 and value is 0
  76. 10-10 13:42:36.778 9576-9731/com.smarteye.mpu I/ExtendedACodec: Decoder will be in frame by frame mode
  77. 10-10 13:42:36.779 9576-9731/com.smarteye.mpu I/ACodec: [OMX.qcom.video.decoder.avc] OMX_QCOM_FramePacking_OnlyOneCompleteFrame is setting
  78. 10-10 13:42:36.785 9576-9576/com.smarteye.mpu D/CameraHolder: onPreviewFrame: 1382400
  79. 10-10 13:42:36.791 9576-9712/com.smarteye.mpu I/CVideoDecode: AMediaCodec_configure success!
  80. 10-10 13:42:36.792 9576-9731/com.smarteye.mpu I/ACodec: [OMX.qcom.video.decoder.avc] Now Loaded->Idle
  81. 10-10 13:42:36.824 9576-9576/com.smarteye.mpu D/CameraHolder: onPreviewFrame: 1382400
  82. 10-10 13:42:36.843 9576-9731/com.smarteye.mpu I/ACodec: [OMX.qcom.video.decoder.avc] Now Idle->Executing
  83. 10-10 13:42:36.843 9576-9712/com.smarteye.mpu I/CVideoDecode: AMediaCodec_start success!
  84. 10-10 13:42:36.843 9576-9712/com.smarteye.mpu I/WifiIPC: init codec success!
  85. 10-10 13:42:36.844 9576-9576/com.smarteye.mpu D/MPUService: onMessageFromNative rtspcam.control.response
  86. 10-10 13:42:36.844 9576-9576/com.smarteye.mpu D/WifiIPC: response = {"szCmd": "DESCRIBE", "iStatus":200,"iWidth":1280,"iHeight":720,"bHasAudio":1}
  87. 10-10 13:42:36.844 9576-9576/com.smarteye.mpu D/RTSPCamControl: {"szCmd": "DESCRIBE", "iStatus":200,"iWidth":1280,"iHeight":720,"bHasAudio":1}
  88. 10-10 13:42:36.845 9576-9576/com.smarteye.mpu I/RTSPCamControl: RTSP_CMD_DESCRIBE success
  89. 10-10 13:42:36.846 9576-9731/com.smarteye.mpu I/ACodec: [OMX.qcom.video.decoder.avc] Now Executing
  90. 10-10 13:42:36.847 9576-9576/com.smarteye.mpu I/selectCodec: SelectCodec : OMX.qcom.video.encoder.hevc
  91. 10-10 13:42:36.849 9576-9576/com.smarteye.mpu D/MPUCameraUtil: tempEffect none
  92. 10-10 13:42:37.019 9576-9576/com.smarteye.mpu D/baidu_location_client: baidu location connected ...
  93. 10-10 13:42:37.020 9576-9711/com.smarteye.mpu I/WifiIPC: {"bHasAudio":0,"iHeight":0,"iStatus":0,"iWidth":0,"szCmd":"PLAY","szUrl":"rtsp://192.168.43.59:554/rtsp_live0"}
  94. 10-10 13:42:37.024 9576-9576/com.smarteye.mpu D/MPU-----: txtNativeRecord   true
  95. 10-10 13:42:37.026 9576-9576/com.smarteye.mpu V/Vibrator: Called vibrate(long[], int) API!
  96.     vibrate(long[], int, AudioAttributes) API - PUID: 10266, PackageName: com.smarteye.mpu, repeat: -1, AudioAttr: null
  97.     Called vibrate(int, String, long[], int, AudioAttributes) API
  98. 10-10 13:42:37.026 9576-9576/com.smarteye.mpu V/Vibrator: semVibrate - PUID: 10266, PackageName: com.smarteye.mpu, token: android.os.Binder@e652c23, pattern, repeat: -1, AudioAttr: null, Mag: TYPE_EXTRA
  99. 10-10 13:42:37.033 9576-9576/com.smarteye.mpu I/com.smarteye.control.RecordControl:  [ACTION] [000000] [000000] 开始录像
  100. 10-10 13:42:37.033 9576-9576/com.smarteye.mpu I/selectCodec: SelectCodec : OMX.qcom.video.encoder.hevc
  101. 10-10 13:42:37.034 9576-9576/com.smarteye.mpu I/selectCodec: SelectCodec : OMX.qcom.video.encoder.hevc
  102.     SelectCodec : OMX.qcom.video.encoder.hevc
  103. 10-10 13:42:37.034 9576-9576/com.smarteye.mpu D/AudioHelper: bCapture = 1
  104. 10-10 13:42:37.037 9576-9760/com.smarteye.mpu I/Storage: StorageThread::run
  105. 10-10 13:42:37.038 9576-9760/com.smarteye.mpu I/codec_omxal: m_encode.iEncoderType = 0, m_out = 0xd17fffc0, m_encode.iColorFormat = 1
  106. 10-10 13:42:37.070 9576-9681/com.smarteye.mpu I/Render: m_rawFmt = 0, m_render.iYUVConvert = 6
  107. 10-10 13:42:37.070 9576-9681/com.smarteye.mpu D/BVDisplay: scale = 0.000000
  108. 10-10 13:42:37.071 9576-9765/com.smarteye.mpu I/codec_omxal: VideoEncode::run tid = 9765 m_yuvDst = 0x0
  109.     AMediaCodec_createEncoderByType szMimeType=video/avc
  110. 10-10 13:42:37.071 9576-9766/com.smarteye.mpu I/MPU_Codec: SAVThread::run.............
  111. 10-10 13:42:37.072 9576-9765/com.smarteye.mpu I/ACodec:  [] Now uninitialized
  112. 10-10 13:42:37.073 9576-9768/com.smarteye.mpu I/ACodec: [] onAllocateComponent
  113. 10-10 13:42:37.074 9576-9768/com.smarteye.mpu I/OMXClient: MuxOMX ctor
  114. 10-10 13:42:37.074 9576-9768/com.smarteye.mpu I/ACodec: Set Google AAC Dec for aacProfile 0
  115. 10-10 13:42:37.093 9576-9768/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now Loaded
  116. 10-10 13:42:37.093 9576-9765/com.smarteye.mpu I/codec_omxal: AMediaCodec_createEncoderByType success
  117. 10-10 13:42:37.094 9576-9768/com.smarteye.mpu W/ACodec: [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010
  118. 10-10 13:42:37.094 9576-9768/com.smarteye.mpu I/ACodec: get current pid
  119.     app-pid : 9576
  120. 10-10 13:42:37.094 9576-9768/com.smarteye.mpu I/ExtendedACodec: setupVideoEncoder()
  121. 10-10 13:42:37.095 9576-9768/com.smarteye.mpu W/ACodec: do not know color format 0x7fa30c06 = 2141391878
  122.     do not know color format 0x7fa30c04 = 2141391876
  123. 10-10 13:42:37.096 9576-9768/com.smarteye.mpu W/ACodec: do not know color format 0x7fa30c08 = 2141391880
  124.     do not know color format 0x7fa30c07 = 2141391879
  125.     do not know color format 0x7f000789 = 2130708361
  126. 10-10 13:42:37.099 9576-9576/com.smarteye.mpu D/MPUService: onMessageFromNative rtspcam.control.response
  127. 10-10 13:42:37.099 9576-9576/com.smarteye.mpu D/WifiIPC: response = {"szCmd": "PLAY", "iStatus":200}
  128. 10-10 13:42:37.099 9576-9576/com.smarteye.mpu D/RTSPCamControl: {"szCmd": "PLAY", "iStatus":200}
  129. 10-10 13:42:37.100 9576-9576/com.smarteye.mpu I/RTSPCamControl: RTSP_CMD_PLAY success
  130. 10-10 13:42:37.106 9576-9768/com.smarteye.mpu I/ACodec: app-name : com.smarteye.mpu
  131.     setupAVCEncoderParameters with [profile: Baseline] [level: Level1]
  132. 10-10 13:42:37.108 9576-9768/com.smarteye.mpu I/ACodec: Success set VideoMinQP(2) VideoMaxQP(51)
  133.     Success set IPB VideoMinQP(2/2/2) VideoMaxQP(51/51/51)
  134. 10-10 13:42:37.110 9576-9768/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] cannot encode HDR static metadata. Ignoring.
  135.     setupVideoEncoder succeeded
  136. 10-10 13:42:37.110 9576-9768/com.smarteye.mpu I/ExtendedACodec: [OMX.qcom.video.encoder.avc] configure, AMessage : AMessage(what = 'conf', target = 5) = {
  137.       string mime = "video/avc"
  138.       int32_t bitrate = 2764800
  139.       int32_t frame-rate = 25
  140.       int32_t color-format = 21
  141.       int32_t width = 1280
  142.       int32_t height = 720
  143.       int32_t max-width = 1280
  144.       int32_t max-height = 720
  145.       int32_t i-frame-interval = 1
  146.       int32_t stride = 1280
  147.       int32_t max-input-size = 1382400
  148.       int32_t encoder = 1
  149.     }
  150. 10-10 13:42:37.116 9576-9765/com.smarteye.mpu I/codec_omxal: AMediaCodec_configure success!
  151. 10-10 13:42:37.116 9576-9768/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now Loaded->Idle
  152. 10-10 13:42:37.127 9576-9768/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now Idle->Executing
  153. 10-10 13:42:37.128 9576-9765/com.smarteye.mpu I/codec_omxal: AMediaCodec_start success!
  154. 10-10 13:42:37.128 9576-9768/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now Executing
  155. 10-10 13:42:37.458 9576-9576/com.smarteye.mpu I/BaiduLocationTools: location.getLocType----->161
  156. 10-10 13:42:37.542 9576-9576/com.smarteye.mpu D/MPUService: onMessageFromNative auth
  157. 10-10 13:42:37.542 9576-9576/com.smarteye.mpu I/BillTool: auth---->{"iAuthStatus": 200, "szAuthType":"auth.type.imei"}
  158. 10-10 13:42:37.543 9576-9576/com.smarteye.mpu D/MPUService: onMessageFromNative auth.update.param
  159. 10-10 13:42:38.473 9576-9576/com.smarteye.mpu I/BaiduLocationTools: location.getLocType----->161
  160. 10-10 13:42:39.468 9576-9576/com.smarteye.mpu I/BaiduLocationTools: location.getLocType----->161
  161. 10-10 13:42:39.699 9576-9576/com.smarteye.mpu D/MPU: onFocus: -------
  162. 10-10 13:42:39.865 9576-9687/com.smarteye.mpu I/SIP: iEventCode = 1,hDialog = 2, channelIndex =65536
  163. 10-10 13:42:39.865 9576-9802/com.smarteye.mpu I/PUDialog: new a dialog,hDialog = 2,channelIdx = 65536
  164.     processInviteGPS+++++++++++++++++++++++
  165. 10-10 13:42:39.867 9576-9576/com.smarteye.mpu D/MPUService: onMessageFromNative invite.gps
  166. 10-10 13:42:40.056 9576-9687/com.smarteye.mpu D/BVP2P: file = jni/BVP2P.cpp,line = 90
  167.     file = jni/Global.cpp,line = 204
  168.     file = jni/Global.cpp,line = 209
  169.     file = jni/MSession.cpp,line = 180
  170.     file = jni/MSession.cpp,line = 204,pjStatus=0
  171.     file = jni/MSession.cpp,line = 231,pjStatus=0
  172. 10-10 13:42:40.057 9576-9687/com.smarteye.mpu D/BVP2P: file = jni/MSession.cpp,line = 261,pjStatus=0
  173.     file = jni/MSession.cpp,line = 272,pjStatus=0
  174. 10-10 13:42:40.180 9576-9687/com.smarteye.mpu I/PUDialog: start transfer data, hDialog = 2, pParam->iResult == 0
  175. 10-10 13:42:40.476 9576-9576/com.smarteye.mpu I/BaiduLocationTools: location.getLocType----->161
  176.     not in avi mode
  177.     not in avi mode
  178. 10-10 13:42:40.804 9576-9731/com.smarteye.mpu E/ExtendedACodec: Failed to getParameter for port 1
  179. 10-10 13:42:40.804 9576-9731/com.smarteye.mpu E/ACodec: [OMX.qcom.video.decoder.avc] Failed to get port format to send format change
  180. 10-10 13:42:40.805 9576-9731/com.smarteye.mpu I/ACodec: [OMX.qcom.video.decoder.avc] Now handling output port settings change
  181. 10-10 13:42:40.891 9576-9731/com.smarteye.mpu I/ACodec: [OMX.qcom.video.decoder.avc] Now Executing
  182. 10-10 13:42:40.973 9576-9731/com.smarteye.mpu I/ACodec: [OMX.qcom.video.decoder.avc] OMX_EventPortSettingsChanged 0x7f000062
  183. 10-10 13:42:41.003 9576-9649/com.smarteye.mpu D/StorageStrategyControl: --------avail storage 229553.0
  184. 10-10 13:42:41.055 9576-9711/com.smarteye.mpu I/CVideoDecode: width = 1920,height = 1088
  185. 10-10 13:42:41.121 9576-9765/com.smarteye.mpu E/NdkMediaCodec: sf error code: -22
  186. 10-10 13:42:41.140 9576-9681/com.smarteye.mpu I/Render: size.iHeight = 1088, size.iWidth = 1920
  187. 10-10 13:42:41.158 9576-9711/com.smarteye.mpu I/codec_omxal: ..........dt enc
copycode

author: 赛腾信息    time: 2018-10-10 13:46
奔溃后就打印这一句

10-10 13:45:44.377 9576-9683/com.smarteye.mpu A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 9683 (om.smarteye.mpu)

author: 赛腾信息    time: 2018-10-10 13:48
奔溃的问题出现不是很频繁
author: xuwei    time: 2018-10-10 14:07
赛腾信息 post on2018-10-10 13:48
奔溃的问题出现不是很频繁

1.连接眼镜的日志没有崩溃日志信息
2.更新今天发给你们的MPU_Lib库了么

author: admin    time: 2018-10-10 14:11
不是在你们那个最古老的music上做的吧?
author: 赛腾信息    time: 2018-10-10 14:19
admin post on2018-10-10 14:11
不是在你们那个最古老的music上做的吧?

是你们的MPU

author: 赛腾信息    time: 2018-10-10 14:20
xuwei post on2018-10-10 14:07
1.连接眼镜的日志没有崩溃日志信息
2.更新今天发给你们的MPU_Lib库了么

连接眼镜的日志 是想问问您是不是哪个参数没有配置 导致 预览为黑白 传输颜色正常  
author: xuwei    time: 2018-10-10 14:31
赛腾信息 post on2018-10-10 14:20
连接眼镜的日志 是想问问您是不是哪个参数没有配置 导致 预览为黑白 传输颜色正常

MPUCameraUtil.java中openWifiIPC方法中render.iYUVConvert = param.renderCovertIndex;这个iYUVConvert 决定显示的颜色是否正确,参考原始demo传参
author: 赛腾信息    time: 2018-10-10 16:14
赛腾信息 post on2018-10-10 14:20
连接眼镜的日志 是想问问您是不是哪个参数没有配置 导致 预览为黑白 传输颜色正常

用的是你们发的最新的库
author: xuwei    time: 2018-10-10 17:53
赛腾信息 post on2018-10-10 16:14
用的是你们发的最新的库

还有什么问题
author: xuwei    time: 2018-10-10 18:00
xuwei post on2018-10-10 17:53
还有什么问题

你把库更新到原始的SDK(未改动过的)代码里面去,卸载重新运行APP,一定要卸载重装,你会发现颜色是正确的。之所以不正确,是因为你们改动代码使得render.iYUVConvert 参数传的不对,导致的画面黑白
author: 赛腾信息    time: 2018-10-11 11:29
xuwei post on2018-10-10 14:07
1.连接眼镜的日志没有崩溃日志信息
2.更新今天发给你们的MPU_Lib库了么

首次登录MPU可以传输视频,然后通过监视器关闭通道然后重新打开通道就会出现这个问题,这里是奔溃的日志,麻烦您看一下谢谢



  1. 10-11 11:25:54.771 18507-18628/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 18628 (om.smarteye.mpu)
  2. 10-11 11:25:54.790 785-19072/? D/SensorListener: Sensor(8) valid data is not coming yet!
  3. 10-11 11:25:54.850 1230-3323/? I/LocSvc_libulp: int ulp_brain_process_gnss_sv_report(const LocGnssSvStatus *), gnss sv report cnt = 3559, gnss pos report cnt = 2690,strong sv cnt = 0
  4. 10-11 11:25:54.851 1230-2502/? E/LocSvc_eng: Calling gnss_sv_status_cb
  5. 10-11 11:25:54.851 1230-2502/? D/GnssLocationProvider_ex: SV Count : 6      (PRN, Constellation, SNR, Elevation, Azimuth, Used)
  6.     (2, GPS, 26.2, 56.0, 337.0, 0) (5, GPS, 13.9, 47.0, 262.0, 0) (23, GLONASS, 24.7, 52.0, 345.0, 0) (7, GLONASS, 15.1, 31.0, 28.0, 0) (12, BEIDOU, 21.7, 48.0, 319.0, 0) (13, BEIDOU, 25.2, 56.0, 333.0, 0)
  7. 10-11 11:25:54.863 19780-19780/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
  8.     Build fingerprint: 'samsung/greatqltezc/greatqltechn:7.1.1/NMF26X/N9500ZCS2BRC2:user/release-keys'
  9.     Revision: '11'
  10.     ABI: 'arm'
  11. 10-11 11:25:54.864 19780-19780/? A/DEBUG: pid: 18507, tid: 18628, name: om.smarteye.mpu  >>> com.smarteye.mpu <<<
  12.     signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
  13.         r0 00000001  r1 cf85f820  r2 cf85f7c4  r3 d00575b4
  14.         r4 f6151008  r5 00000000  r6 ffac84bc  r7 000000c8
  15.         r8 0000000a  r9 d4da93c0  sl d4da93c0  fp 00000002
  16.         ip f5a96c50  sp cf85f7b8  lr cfba89ef  pc 00000000  cpsr 200c0010
  17. 10-11 11:25:54.866 19780-19780/? A/DEBUG: backtrace:
  18.         #00 pc 00000000  <unknown>
  19. 10-11 11:25:54.867 19780-19780/? A/DEBUG:     #01 pc 0004b9ed  /data/app/com.smarteye.mpu-1/lib/arm/libbvpu_mediandk.so (_ZN3SIP11responseCmdEPN9TelEngine7MessageE+288)
  20.         #02 pc 0004ce3b  /data/app/com.smarteye.mpu-1/lib/arm/libbvpu_mediandk.so (_ZN3SIP15handleThreadMsgEi+214)
  21.         #03 pc 0004cf01  /data/app/com.smarteye.mpu-1/lib/arm/libbvpu_mediandk.so (_ZN3SIP3runEv+72)
  22.         #04 pc 000045b5  /data/app/com.smarteye.mpu-1/lib/arm/libframework.so (_ZN12SimpleThread5__runEPv+20)
  23.         #05 pc 00048717  /system/lib/libc.so (_ZL15__pthread_startPv+22)
  24.         #06 pc 0001a455  /system/lib/libc.so (__start_thread+6)
copycode

author: xuwei    time: 2018-10-11 15:42
赛腾信息 post on2018-10-11 11:29
首次登录MPU可以传输视频,然后通过监视器关闭通道然后重新打开通道就会出现这个问题,这里是奔溃的日志 ...

灰色问题解决了?不修改的源码+新的库有这个崩溃问题么
author: 赛腾信息    time: 2018-10-11 15:44
xuwei post on2018-10-11 15:42
灰色问题解决了?不修改的源码+新的库有这个崩溃问题么

灰色解决 ,用的是新的库 代码是二次开发的
author: xuwei    time: 2018-10-11 17:27
赛腾信息 post on2018-10-11 15:44
灰色解决 ,用的是新的库 代码是二次开发的

看看原始代码有没有问题,对比一下,是不是你们改动导致的
author: 赛腾信息    time: 2018-10-11 17:30
xuwei post on2018-10-11 17:27
看看原始代码有没有问题,对比一下,是不是你们改动导致的

我是基于老代码进行二次开发的,,老代码中是没问题。因为WIFI眼镜预览的问题所以替换了新的SDK。替换之后就出现了这个问题




欢迎光临 mobile CCTV,mobile surveillance,police body worn cameras (http://bbs.besovideo.com:8067/) Powered by Discuz! X3.2