1、查看minicap用法:
运行: LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -h
Usage: /data/local/tmp/minicap [-h] [-n <name>]
-d <id>: Display ID. (0)
-n <name>: Change the name of the abtract unix domain socket. (minicap)
-P <value>: Display projection (<w>x<h>@<w>x<h>/{0|90|180|270}).
{RealWidth}x{RealHeight}@{VirtualWidth}x{VirtualHeight}/{Orientation}
0 | 90 | 180 | 270 ---手机的旋转角度
-Q <value>: JPEG quality (0-100).
-s: Take a screenshot and output it to stdout. Needs -P.
-S: Skip frames when they cannot be consumed quickly enough.
-t: Attempt to get the capture method running, then exit.
-i: Get display information in JSON format. May segfault.
-h: Show help.