Minicap freeze at jpeg encoder allocation
Hi, i'm using a recent device: Moto G5 Plus, with Android 7.0 sdk 24, but it is freezing at this line:
[...] INFO: Using projection 1080x1920@1080x1920/0 INFO: (external/MY_minicap/src/minicap_24.cpp:240) Creating SurfaceComposerClient INFO: (external/MY_minicap/src/minicap_24.cpp:243) Performing SurfaceComposerClient init check INFO: (external/MY_minicap/src/minicap_24.cpp:250) Creating virtual display INFO: (external/MY_minicap/src/minicap_24.cpp:256) Creating buffer queue INFO: (external/MY_minicap/src/minicap_24.cpp:261) Creating CPU consumer INFO: (external/MY_minicap/src/minicap_24.cpp:265) Creating frame waiter INFO: (external/MY_minicap/src/minicap_24.cpp:269) Publishing virtual display INFO: (jni/minicap/JpgEncoder.cpp:64) Allocating 6268932 bytes for JPG encoder
There is no more progress after that line. I've tried in a Moto G2 and it worked.
Does it work in STF?
I'm checking this out
is the Android phone freezed? i have a similar problem 。while i take screenshot .my phone freezed
when you start minicap , just use the parameter -P , and it will stop in this line . it means you start the minicap , and you can use " top | grep minicap " to check if it can start. lately you can use "adb forward " to map it to PC and parse the data. like the example of the minicap give us . that's my understanding .