|
点击录像然后关闭录像 会出现录像无文件的情况
- 10-22 17:33:58.794 29086-29086/com.smarteye.mpu I/com.smarteye.control.RecordControl: [ACTION] [000000] [000000] 开始录像
- 10-22 17:33:58.795 29086-29086/com.smarteye.mpu I/selectCodec: SelectCodec : OMX.qcom.video.encoder.hevc
- SelectCodec : OMX.qcom.video.encoder.hevc
- SelectCodec : OMX.qcom.video.encoder.hevc
- 10-22 17:33:58.795 29086-29086/com.smarteye.mpu D/AudioHelper: bCapture = 1
- 10-22 17:33:58.800 29086-1757/com.smarteye.mpu I/Storage: StorageThread::run
- 10-22 17:33:58.800 29086-1757/com.smarteye.mpu I/codec_omxal: m_encode.iEncoderType = 0, m_out = 0xbb77f180, m_encode.iColorFormat = 1
- 10-22 17:33:58.836 29086-1761/com.smarteye.mpu I/codec_omxal: VideoEncode::run tid = 1761 m_yuvDst = 0x0
- 10-22 17:33:58.836 29086-1762/com.smarteye.mpu I/MPU_Codec: SAVThread::run.............
- 10-22 17:33:58.836 29086-1761/com.smarteye.mpu I/codec_omxal: AMediaCodec_createEncoderByType szMimeType=video/avc
- 10-22 17:33:58.837 29086-1761/com.smarteye.mpu I/ACodec: [] Now uninitialized
- 10-22 17:33:58.838 29086-1764/com.smarteye.mpu I/ACodec: [] onAllocateComponent
- 10-22 17:33:58.839 29086-1764/com.smarteye.mpu I/OMXClient: MuxOMX ctor
- 10-22 17:33:58.839 29086-1764/com.smarteye.mpu I/ACodec: Set Google AAC Dec for aacProfile 0
- 10-22 17:33:58.862 29086-1764/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now Loaded
- 10-22 17:33:58.863 29086-1761/com.smarteye.mpu I/codec_omxal: AMediaCodec_createEncoderByType success
- 10-22 17:33:58.866 29086-1764/com.smarteye.mpu W/ACodec: [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010
- 10-22 17:33:58.866 29086-1764/com.smarteye.mpu I/ACodec: get current pid
- app-pid : 29086
- 10-22 17:33:58.866 29086-1764/com.smarteye.mpu I/ExtendedACodec: setupVideoEncoder()
- 10-22 17:33:58.870 29086-1764/com.smarteye.mpu W/ACodec: do not know color format 0x7fa30c06 = 2141391878
- do not know color format 0x7fa30c04 = 2141391876
- 10-22 17:33:58.871 29086-1764/com.smarteye.mpu W/ACodec: do not know color format 0x7fa30c08 = 2141391880
- do not know color format 0x7fa30c07 = 2141391879
- 10-22 17:33:58.872 29086-1764/com.smarteye.mpu W/ACodec: do not know color format 0x7f000789 = 2130708361
- 10-22 17:33:58.885 29086-1764/com.smarteye.mpu I/ACodec: app-name : com.smarteye.mpu
- setupAVCEncoderParameters with [profile: Baseline] [level: Level1]
- 10-22 17:33:58.886 29086-1764/com.smarteye.mpu I/ACodec: Success set VideoMinQP(2) VideoMaxQP(51)
- 10-22 17:33:58.887 29086-1764/com.smarteye.mpu I/ACodec: Success set IPB VideoMinQP(2/2/2) VideoMaxQP(51/51/51)
- 10-22 17:33:58.892 29086-1764/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] cannot encode HDR static metadata. Ignoring.
- setupVideoEncoder succeeded
- 10-22 17:33:58.892 29086-1764/com.smarteye.mpu I/ExtendedACodec: [OMX.qcom.video.encoder.avc] configure, AMessage : AMessage(what = 'conf', target = 13) = {
- string mime = "video/avc"
- int32_t bitrate = 2764800
- int32_t frame-rate = 25
- int32_t color-format = 21
- int32_t width = 1280
- int32_t height = 720
- int32_t max-width = 1280
- int32_t max-height = 720
- int32_t i-frame-interval = 1
- int32_t stride = 1280
- int32_t max-input-size = 1382400
- int32_t encoder = 1
- }
- 10-22 17:33:58.908 29086-1761/com.smarteye.mpu I/codec_omxal: AMediaCodec_configure success!
- 10-22 17:33:58.909 29086-1764/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now Loaded->Idle
- 10-22 17:33:58.922 29086-1764/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now Idle->Executing
- 10-22 17:33:58.924 29086-1761/com.smarteye.mpu I/codec_omxal: AMediaCodec_start success!
- 10-22 17:33:58.924 29086-1764/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now Executing
- 10-22 17:33:59.005 29086-29967/com.smarteye.mpu I/SIP: pMsg->iAction = 6
- 10-22 17:33:59.015 29086-1757/com.smarteye.mpu I/Storage: get sps_pps success!
- 10-22 17:34:03.837 29086-29086/com.smarteye.mpu D/ViewRootImpl@131561f[]: ViewPostImeInputStage processKey 0
- 10-22 17:34:03.838 29086-29086/com.smarteye.mpu D/ViewRootImpl@131561f[]: ViewPostImeInputStage processKey 1
- 10-22 17:34:04.358 29086-29086/com.smarteye.mpu V/Vibrator: Called vibrate(long[], int) API!
- vibrate(long[], int, AudioAttributes) API - PUID: 10275, PackageName: com.smarteye.mpu, repeat: -1, AudioAttr: null
- Called vibrate(int, String, long[], int, AudioAttributes) API
- semVibrate - PUID: 10275, PackageName: com.smarteye.mpu, token: android.os.Binder@79ce493, pattern, repeat: -1, AudioAttr: null, Mag: TYPE_EXTRA
- 10-22 17:34:04.365 29086-29086/com.smarteye.mpu D/MPU-----: txtNativeRecord false
- 10-22 17:34:04.393 29086-29086/com.smarteye.mpu I/com.smarteye.control.RecordControl: [ACTION] [000000] [000000] 结束录像
- 10-22 17:34:04.393 29086-29086/com.smarteye.mpu D/AudioHelper: bCapture = 0
- 10-22 17:34:04.406 29086-1757/com.smarteye.mpu I/codec_omxal: VideoEncode::exit() pUnit=0xbf441ed8
- VideoEncode::exit() 0xbb8d74e0
- 10-22 17:34:04.407 29086-1764/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now Executing->Idle
- 10-22 17:34:04.427 29086-1764/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now Idle->Loaded
- [OMX.qcom.video.encoder.avc] Now Loaded
- [OMX.qcom.video.encoder.avc] Now kWhatShutdownCompleted event : 8968
- 10-22 17:34:04.427 29086-1763/com.smarteye.mpu I/MediaCodec: Codec shutdown complete
- 10-22 17:34:04.429 29086-1761/com.smarteye.mpu I/codec_omxal: AMediaCodec_stop success
- 10-22 17:34:04.438 29086-1764/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now uninitialized
- 10-22 17:34:04.439 29086-1764/com.smarteye.mpu I/ACodec: [] Now kWhatShutdownCompleted event : 8968
- 10-22 17:34:04.440 29086-1763/com.smarteye.mpu I/MediaCodec: Codec shutdown complete
- 10-22 17:34:04.443 29086-1761/com.smarteye.mpu I/codec_omxal: AMediaCodec_delete success
- 10-22 17:34:04.444 29086-1761/com.smarteye.mpu I/Framework: SimpleThread count=7
- 10-22 17:34:04.444 29086-1757/com.smarteye.mpu I/Storage: m_videoEncode->exit() end!
- 10-22 17:34:04.446 29086-1757/com.smarteye.mpu I/MPU_Codec: m_exit = true;
- 10-22 17:34:04.446 29086-1762/com.smarteye.mpu I/MPU_Codec: SAVThread wait...
- 10-22 17:34:04.446 29086-1757/com.smarteye.mpu I/MPU_Codec: m_cond.signal();
- 10-22 17:34:04.446 29086-1757/com.smarteye.mpu I/Storage: m_audioThread->exit() end!
- SAVContainer_Close result=0
- 10-22 17:34:04.448 29086-1757/com.smarteye.mpu I/Storage: there will delete thread!
- 10-22 17:34:04.448 29086-1757/com.smarteye.mpu I/Framework: SimpleThread count=6
- 10-22 17:34:04.448 29086-29086/com.smarteye.mpu D/MPUService: onMessageFromNative storage.file.info
- 10-22 17:34:04.449 29086-29086/com.smarteye.mpu D/----: GetFiles: .license
- GetFiles: 20181022_173300.rar
- GetFiles: 20181022_173331.rar
- 10-22 17:34:04.450 29086-29086/com.smarteye.mpu D/StorageFile: ---storage.file.info result {
- "bFileMark": false,
- "bFileSecrecy": false,
- "szPUID": "",
- "szPUNAME": "",
- "szFilePath": "/storage/emulated/0/MPU",
- "szFileName": "",
- "szTriggerID": "",
- "iChannelIndex": 0,
- "iFileDuration": 600,
- "iFileType": 1,
- "iFileStatus": 0,
- "iRecordType": 1,
- "szEndTime": "20181022_173404"
- }
copycode
大概率出现无文件情况
|
|