minicap icon indicating copy to clipboard operation
minicap copied to clipboard

Minicap freeze at jpeg encoder allocation

Open irineu opened this issue 8 years ago • 4 comments

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.

irineu avatar Nov 08 '17 14:11 irineu

Does it work in STF?

sorccu avatar Nov 08 '17 14:11 sorccu

I'm checking this out

irineu avatar Nov 08 '17 14:11 irineu

is the Android phone freezed? i have a similar problem 。while i take screenshot .my phone freezed

yangxinQA avatar Dec 07 '17 13:12 yangxinQA

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 .

nancy12Ru avatar Jan 25 '18 12:01 nancy12Ru