mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 5441|reply: 4
打印 prevThread nextThread

录像无文件

[copyURL]

4

主题

19

帖子

52

积分

member

Rank: 2

积分
52
jumpTo
owner
poston 2018-10-22 17:36 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
点击录像然后关闭录像 会出现录像无文件的情况
  1. 10-22 17:33:58.794 29086-29086/com.smarteye.mpu I/com.smarteye.control.RecordControl:  [ACTION] [000000] [000000] 开始录像
  2. 10-22 17:33:58.795 29086-29086/com.smarteye.mpu I/selectCodec: SelectCodec : OMX.qcom.video.encoder.hevc
  3.     SelectCodec : OMX.qcom.video.encoder.hevc
  4.     SelectCodec : OMX.qcom.video.encoder.hevc
  5. 10-22 17:33:58.795 29086-29086/com.smarteye.mpu D/AudioHelper: bCapture = 1
  6. 10-22 17:33:58.800 29086-1757/com.smarteye.mpu I/Storage: StorageThread::run
  7. 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
  8. 10-22 17:33:58.836 29086-1761/com.smarteye.mpu I/codec_omxal: VideoEncode::run tid = 1761 m_yuvDst = 0x0
  9. 10-22 17:33:58.836 29086-1762/com.smarteye.mpu I/MPU_Codec: SAVThread::run.............
  10. 10-22 17:33:58.836 29086-1761/com.smarteye.mpu I/codec_omxal: AMediaCodec_createEncoderByType szMimeType=video/avc
  11. 10-22 17:33:58.837 29086-1761/com.smarteye.mpu I/ACodec:  [] Now uninitialized
  12. 10-22 17:33:58.838 29086-1764/com.smarteye.mpu I/ACodec: [] onAllocateComponent
  13. 10-22 17:33:58.839 29086-1764/com.smarteye.mpu I/OMXClient: MuxOMX ctor
  14. 10-22 17:33:58.839 29086-1764/com.smarteye.mpu I/ACodec: Set Google AAC Dec for aacProfile 0
  15. 10-22 17:33:58.862 29086-1764/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now Loaded
  16. 10-22 17:33:58.863 29086-1761/com.smarteye.mpu I/codec_omxal: AMediaCodec_createEncoderByType success
  17. 10-22 17:33:58.866 29086-1764/com.smarteye.mpu W/ACodec: [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010
  18. 10-22 17:33:58.866 29086-1764/com.smarteye.mpu I/ACodec: get current pid
  19.     app-pid : 29086
  20. 10-22 17:33:58.866 29086-1764/com.smarteye.mpu I/ExtendedACodec: setupVideoEncoder()
  21. 10-22 17:33:58.870 29086-1764/com.smarteye.mpu W/ACodec: do not know color format 0x7fa30c06 = 2141391878
  22.     do not know color format 0x7fa30c04 = 2141391876
  23. 10-22 17:33:58.871 29086-1764/com.smarteye.mpu W/ACodec: do not know color format 0x7fa30c08 = 2141391880
  24.     do not know color format 0x7fa30c07 = 2141391879
  25. 10-22 17:33:58.872 29086-1764/com.smarteye.mpu W/ACodec: do not know color format 0x7f000789 = 2130708361
  26. 10-22 17:33:58.885 29086-1764/com.smarteye.mpu I/ACodec: app-name : com.smarteye.mpu
  27.     setupAVCEncoderParameters with [profile: Baseline] [level: Level1]
  28. 10-22 17:33:58.886 29086-1764/com.smarteye.mpu I/ACodec: Success set VideoMinQP(2) VideoMaxQP(51)
  29. 10-22 17:33:58.887 29086-1764/com.smarteye.mpu I/ACodec: Success set IPB VideoMinQP(2/2/2) VideoMaxQP(51/51/51)
  30. 10-22 17:33:58.892 29086-1764/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] cannot encode HDR static metadata. Ignoring.
  31.     setupVideoEncoder succeeded
  32. 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) = {
  33.       string mime = "video/avc"
  34.       int32_t bitrate = 2764800
  35.       int32_t frame-rate = 25
  36.       int32_t color-format = 21
  37.       int32_t width = 1280
  38.       int32_t height = 720
  39.       int32_t max-width = 1280
  40.       int32_t max-height = 720
  41.       int32_t i-frame-interval = 1
  42.       int32_t stride = 1280
  43.       int32_t max-input-size = 1382400
  44.       int32_t encoder = 1
  45.     }
  46. 10-22 17:33:58.908 29086-1761/com.smarteye.mpu I/codec_omxal: AMediaCodec_configure success!
  47. 10-22 17:33:58.909 29086-1764/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now Loaded->Idle
  48. 10-22 17:33:58.922 29086-1764/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now Idle->Executing
  49. 10-22 17:33:58.924 29086-1761/com.smarteye.mpu I/codec_omxal: AMediaCodec_start success!
  50. 10-22 17:33:58.924 29086-1764/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now Executing
  51. 10-22 17:33:59.005 29086-29967/com.smarteye.mpu I/SIP: pMsg->iAction = 6
  52. 10-22 17:33:59.015 29086-1757/com.smarteye.mpu I/Storage: get sps_pps success!
  53. 10-22 17:34:03.837 29086-29086/com.smarteye.mpu D/ViewRootImpl@131561f[]: ViewPostImeInputStage processKey 0
  54. 10-22 17:34:03.838 29086-29086/com.smarteye.mpu D/ViewRootImpl@131561f[]: ViewPostImeInputStage processKey 1
  55. 10-22 17:34:04.358 29086-29086/com.smarteye.mpu V/Vibrator: Called vibrate(long[], int) API!
  56.     vibrate(long[], int, AudioAttributes) API - PUID: 10275, PackageName: com.smarteye.mpu, repeat: -1, AudioAttr: null
  57.     Called vibrate(int, String, long[], int, AudioAttributes) API
  58.     semVibrate - PUID: 10275, PackageName: com.smarteye.mpu, token: android.os.Binder@79ce493, pattern, repeat: -1, AudioAttr: null, Mag: TYPE_EXTRA
  59. 10-22 17:34:04.365 29086-29086/com.smarteye.mpu D/MPU-----: txtNativeRecord   false
  60. 10-22 17:34:04.393 29086-29086/com.smarteye.mpu I/com.smarteye.control.RecordControl:  [ACTION] [000000] [000000] 结束录像
  61. 10-22 17:34:04.393 29086-29086/com.smarteye.mpu D/AudioHelper: bCapture = 0
  62. 10-22 17:34:04.406 29086-1757/com.smarteye.mpu I/codec_omxal: VideoEncode::exit() pUnit=0xbf441ed8
  63.     VideoEncode::exit() 0xbb8d74e0
  64. 10-22 17:34:04.407 29086-1764/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now Executing->Idle
  65. 10-22 17:34:04.427 29086-1764/com.smarteye.mpu I/ACodec: [OMX.qcom.video.encoder.avc] Now Idle->Loaded
  66.     [OMX.qcom.video.encoder.avc] Now Loaded
  67.      [OMX.qcom.video.encoder.avc] Now kWhatShutdownCompleted event : 8968
  68. 10-22 17:34:04.427 29086-1763/com.smarteye.mpu I/MediaCodec: Codec shutdown complete
  69. 10-22 17:34:04.429 29086-1761/com.smarteye.mpu I/codec_omxal: AMediaCodec_stop success
  70. 10-22 17:34:04.438 29086-1764/com.smarteye.mpu I/ACodec:  [OMX.qcom.video.encoder.avc] Now uninitialized
  71. 10-22 17:34:04.439 29086-1764/com.smarteye.mpu I/ACodec:  [] Now kWhatShutdownCompleted event : 8968
  72. 10-22 17:34:04.440 29086-1763/com.smarteye.mpu I/MediaCodec: Codec shutdown complete
  73. 10-22 17:34:04.443 29086-1761/com.smarteye.mpu I/codec_omxal: AMediaCodec_delete success
  74. 10-22 17:34:04.444 29086-1761/com.smarteye.mpu I/Framework: SimpleThread count=7
  75. 10-22 17:34:04.444 29086-1757/com.smarteye.mpu I/Storage: m_videoEncode->exit() end!
  76. 10-22 17:34:04.446 29086-1757/com.smarteye.mpu I/MPU_Codec: m_exit = true;
  77. 10-22 17:34:04.446 29086-1762/com.smarteye.mpu I/MPU_Codec: SAVThread wait...
  78. 10-22 17:34:04.446 29086-1757/com.smarteye.mpu I/MPU_Codec: m_cond.signal();
  79. 10-22 17:34:04.446 29086-1757/com.smarteye.mpu I/Storage: m_audioThread->exit() end!
  80.     SAVContainer_Close result=0
  81. 10-22 17:34:04.448 29086-1757/com.smarteye.mpu I/Storage: there will delete thread!
  82. 10-22 17:34:04.448 29086-1757/com.smarteye.mpu I/Framework: SimpleThread count=6
  83. 10-22 17:34:04.448 29086-29086/com.smarteye.mpu D/MPUService: onMessageFromNative storage.file.info
  84. 10-22 17:34:04.449 29086-29086/com.smarteye.mpu D/----: GetFiles: .license
  85.     GetFiles: 20181022_173300.rar
  86.     GetFiles: 20181022_173331.rar
  87. 10-22 17:34:04.450 29086-29086/com.smarteye.mpu D/StorageFile: ---storage.file.info result {
  88.             "bFileMark":        false,
  89.             "bFileSecrecy":        false,
  90.             "szPUID":        "",
  91.             "szPUNAME":        "",
  92.             "szFilePath":        "/storage/emulated/0/MPU",
  93.             "szFileName":        "",
  94.             "szTriggerID":        "",
  95.             "iChannelIndex":        0,
  96.             "iFileDuration":        600,
  97.             "iFileType":        1,
  98.             "iFileStatus":        0,
  99.             "iRecordType":        1,
  100.             "szEndTime":        "20181022_173404"
  101.     }
copycode


大概率出现无文件情况


reply

使用道具 report

4

主题

19

帖子

52

积分

member

Rank: 2

积分
52
recommend
 Owner| poston 2018-10-22 17:47 | authorOnly
admin post on2018-10-22 17:45
你这没头没尾的,是啥设备?在哪一侧录像?设备?平台?客户端?

通过MPU的 SDK录像 手机是三星Note8   
reply agree 1 Against 0

使用道具 report

10

主题

531

帖子

2491

积分

admin

Rank: 9Rank: 9Rank: 9

积分
2491
sofa
poston 2018-10-22 17:45 | authorOnly
你这没头没尾的,是啥设备?在哪一侧录像?设备?平台?客户端?
reply agree Against

使用道具 report

2

主题

414

帖子

1188

积分

vipMem

Rank: 6Rank: 6

积分
1188
ground
poston 2018-10-23 10:33 | authorOnly
赛腾信息 post on2018-10-22 17:47
通过MPU的 SDK录像 手机是三星Note8   

文件路径,编码等参数的设置参考RecordControl.java中实现的,在完全清楚demo实现流程后,再改动代码,这样出错几率就会小很多。另外录像时间太短,会导致缓冲区数据不够,导致文件未生成。
reply agree Against

使用道具 report

4

主题

19

帖子

52

积分

member

Rank: 2

积分
52
5#
 Owner| poston 2018-10-23 16:16 | authorOnly
xuwei post on2018-10-23 10:33
文件路径,编码等参数的设置参考RecordControl.java中实现的,在完全清楚demo实现流程后,再改动代码,这 ...

是录像时间的问题,我们在测试的时候发现录像的时长必须大于7s才可以生成文件,,已经解决了 谢谢!
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-12-22 21:20 , Processed in 0.054690 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList