yellowcath / SVideoRecorder

Android Recorder with MediaCodec(Fast and CPU occupancy is extremely low)
Apache License 2.0
154 stars 31 forks source link

关于分段录制连续点击报错ANR问题。请指教。测试机 一加 。报错内容如下。请指教下感谢 ! #8

Open victoryGithup opened 4 years ago

victoryGithup commented 4 years ago

E/ActivityManager: ANR in us.pinguo.svideo (us.pinguo.svideo/us.pinguo.svideoDemo.SegYuvRecordActivity) PID: 11993 Reason: Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 28. Wait queue head age: 5537.1ms.) Load: 0.89 / 0.77 / 0.93 CPU usage from 2862ms to -4031ms ago (2020-05-29 21:20:40.269 to 2020-05-29 21:20:47.161): 48% 734/android.hardware.camera.provider@2.4-service: 40% user + 7.5% kernel / faults: 9507 minor 18% 11177/com.gaga.live: 11% user + 7.4% kernel / faults: 5368 minor 4 major 17% 1371/system_server: 10% user + 7.5% kernel / faults: 6971 minor 14% 11564/adbd: 1.5% user + 12% kernel / faults: 122332 minor 8.4% 804/surfaceflinger: 3.3% user + 5% kernel / faults: 473 minor 3.4% 742/android.hardware.graphics.composer@2.1-service: 1.8% user + 1.5% kernel 3.3% 600/logd: 1% user + 2.3% kernel / faults: 7 minor 1.5% 4118/com.baidu.input_yijia: 1.3% user + 0.1% kernel / faults: 2160 minor 2.1% 5915/mdss_fb0: 0% user + 2.1% kernel 1% 2858/com.android.phone: 0.6% user + 0.3% kernel / faults: 950 minor 1.7% 919/media.extractor: 1% user + 0.7% kernel / faults: 3357 minor 1.5% 2455/com.android.systemui: 1.4% user + 0.1% kernel / faults: 1815 minor 1.5% 14449/kworker/u16:17: 0% user + 1.5% kernel 1.4% 12397/logcat: 0.5% user + 0.8% kernel / faults: 2 minor 1.3% 907/cameraserver: 0.7% user + 0.5% kernel / faults: 74 minor 1.3% 930/media.codec: 0.8% user + 0.4% kernel / faults: 3147 minor 0.4% 3622/com.android.nfc: 0.1% user + 0.2% kernel / faults: 1206 minor 1.3% 15979/kworker/0:4: 0% user + 1.3% kernel 1.1% 2879/kworker/u16:12: 0% user + 1.1% kernel 1.1% 11993/us.pinguo.svideo: 0.5% user + 0.5% kernel / faults: 2051 minor 0.3% 3606/com.oneplus.permissionutil: 0.1% user + 0.1% kernel / faults: 710 minor 0.3% 3665/com.o

JesseWo commented 4 years ago

小米9 同上