xue5455 / VideoAudioDemo

Video Audio practice demo
258 stars 74 forks source link

录制完成下一步后,无法预览播放视频 #1

Open tusalin opened 5 years ago

tusalin commented 5 years ago

进入AfterEffectActivity后无法播放并导致ANR

drivedreams commented 5 years ago

我的也是这个情况:红米3s Android 6.0.1 MIUI 9 错误堆栈:

11-08 15:56:33.364 682-9327/? E/mm-camera: <STATS_Q3A ><ERROR> 219: q3a_port_send_event_downstream: AEC event handler returned failure! 11-08 15:56:33.370 682-9333/? E/mm-camera: <STATS_AEC ><ERROR> 1555: aec_biz_stats_map: stats buffer error: q3a_bg_stats: 0xe9cdf008, q3a_bhist_stats: 0x0 11-08 15:56:33.370 682-9333/? E/mm-camera: <STATS_AEC ><ERROR> 1634: aec_biz_process: aec stats mapping failed 11-08 15:56:33.370 682-9333/? E/mm-camera: <STATS_AEC ><ERROR> 1432: aec_port_callback: AEC_UPDATE_DBG: PORT_CB: WARNING: threading issue: SOF_ID:428 OutputFrameId:0 output_index=0 -> Debug 11-08 15:56:33.507 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 2.979152 - 3.468000] = 0.154242 11-08 15:56:33.507 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 2.979152 - 3.468000] = 0.154242 11-08 15:56:33.539 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 2.979152 - 3.468000] = 0.154242 11-08 15:56:33.539 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 2.979152 - 3.468000] = 0.154242 11-08 15:56:33.573 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.162425 - 3.468000] = 0.471323 11-08 15:56:33.574 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.162425 - 3.468000] = 0.471323 11-08 15:56:33.607 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.162425 - 3.468000] = 0.471323 11-08 15:56:33.607 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.162425 - 3.468000] = 0.471323 11-08 15:56:33.640 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.256011 - 3.468000] = 0.633236 11-08 15:56:33.640 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.256011 - 3.468000] = 0.633236 11-08 15:56:33.674 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.256011 - 3.468000] = 0.633236 11-08 15:56:33.674 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.256011 - 3.468000] = 0.633236 11-08 15:56:33.708 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.353496 - 3.468000] = 0.801896 11-08 15:56:33.708 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.353496 - 3.468000] = 0.801896 11-08 15:56:33.747 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.353496 - 3.468000] = 0.801896 11-08 15:56:33.747 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.353496 - 3.468000] = 0.801896 11-08 15:56:33.809 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.454881 - 3.468000] = 0.977302 11-08 15:56:33.809 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.454881 - 3.468000] = 0.977302 11-08 15:56:33.844 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.454881 - 3.468000] = 0.977302 11-08 15:56:33.845 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.454881 - 3.468000] = 0.977302 11-08 15:56:33.877 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.454881 - 3.468000] = 0.977302 11-08 15:56:33.877 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.454881 - 3.468000] = 0.977302 11-08 15:56:33.911 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.454881 - 3.468000] = 0.977302 11-08 15:56:33.911 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.454881 - 3.468000] = 0.977302 11-08 15:56:33.941 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.454881 - 3.468000] = 0.977302 11-08 15:56:33.942 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.454881 - 3.468000] = 0.977302 11-08 15:56:33.976 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.454881 - 3.468000] = 0.977302 11-08 15:56:33.976 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.454881 - 3.468000] = 0.977302 11-08 15:56:34.012 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.454881 - 3.468000] = 0.977302 11-08 15:56:34.013 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.454881 - 3.468000] = 0.977302 11-08 15:56:34.075 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.454881 - 3.468000] = 0.977302 11-08 15:56:34.076 682-9325/? E/mm-camera: <ISP ><ERROR> 741: abf40_aec_update: abf40_aec_update [2.890000 - 3.454881 - 3.468000] = 0.977302 11-08 15:56:34.341 9183-9183/com.xue.douyin.douyin E/TestFile: 写入成功:/storage/emulated/0/DYDemo/ffmpeg_concat.txt 11-08 15:56:34.407 9183-9422/com.xue.douyin.douyin E/FFmpeg_EpMedia: Input buffer exhausted before END element found 11-08 15:56:34.447 9183-9422/com.xue.douyin.douyin E/FFmpeg_EpMedia: Input buffer exhausted before END element found 11-08 15:56:34.574 3801-3808/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only 11-08 15:56:34.604 649-1729/? E/QCamera: <HAL><ERROR> void qcamera::QCameraPerfLock::powerHint(power_hint_t, bool): 505: Request to remove the previous power hint: 6 instead ofcurrently active power hint: 6 11-08 15:56:34.609 682-9320/? E/mm-camera: <ERROR> 367: cpp_hardware_set_clock: :cpp_hardware_set_clock:367 Set clock 133333333 BW abg 0 BW inst 0 11-08 15:56:34.609 682-9329/? E/mm-camera: <ISP ><ERROR> 888: isp_handler_control_streamoff: stream_off 2 2 ide 20004 11-08 15:56:34.610 682-9320/? E/mm-camera: <ERROR> 367: cpp_hardware_set_clock: :cpp_hardware_set_clock:367 Set clock 133333333 BW abg 0 BW inst 0 11-08 15:56:34.610 682-9327/? E/mm-camera: <ISP ><ERROR> 495: isp_parser_thread_func: failed: isp_parser_process 11-08 15:56:34.645 9183-9194/com.xue.douyin.douyin E/BufferQueueProducer: [SurfaceTexture-1-9183-1] cancelBuffer: BufferQueue has been abandoned 11-08 15:56:34.645 9183-9204/com.xue.douyin.douyin E/BufferQueueProducer: [SurfaceTexture-1-9183-1] cancelBuffer: BufferQueue has been abandoned 11-08 15:56:34.645 9183-9195/com.xue.douyin.douyin E/BufferQueueProducer: [SurfaceTexture-1-9183-1] cancelBuffer: BufferQueue has been abandoned 11-08 15:56:34.646 9183-9194/com.xue.douyin.douyin E/BufferQueueProducer: [SurfaceTexture-1-9183-1] cancelBuffer: BufferQueue has been abandoned 11-08 15:56:34.646 9183-9204/com.xue.douyin.douyin E/BufferQueueProducer: [SurfaceTexture-1-9183-1] cancelBuffer: BufferQueue has been abandoned 11-08 15:56:34.907 9183-9183/com.xue.douyin.douyin E/MM_OSAL: FileSource::FileSource 11-08 15:56:34.907 9183-9183/com.xue.douyin.douyin E/MM_OSAL: FileSource::FileSource m_bEveryThingOK 1 11-08 15:56:34.907 9183-9183/com.xue.douyin.douyin E/MM_OSAL: MM_File_Create failed .Efs Error No -1 , File Name /data/mmosal_logmask.cfg , Mode 0 11-08 15:56:34.907 9183-9183/com.xue.douyin.douyin E/MM_OSAL: Open or read fail on /data/mmosal_logmask.cfg. Possible permission denied issue. Looking for /data/misc/media/mmosal_logmask.cfg 11-08 15:56:34.907 9183-9183/com.xue.douyin.douyin E/MM_OSAL: MM_File_Create failed .Efs Error No -1 , File Name /data/misc/media/mmosal_logmask.cfg , Mode 0 11-08 15:56:34.954 1914-1972/? E/WtProcessController: Error pid or pid not exist 11-08 15:56:35.060 649-649/? E/OMX-VDEC-1080P: Extension: OMX.google.android.index.storeANWBufferInMetadata not implemented 11-08 15:56:35.067 649-649/? E/OMX-VDEC-1080P: Insufficient object size(0) v/s expected(24) for type OMX_QCOM_PARAM_PORTDEFINITIONTYPE 11-08 15:56:35.067 649-649/? E/OMXNodeInstance: setParameter(31:qcom.decoder.avc, ??(0x7f000002)) ERROR: BadParameter(0x80001005)