You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how to filter frame binary data?I know how to parser blow command via app.js,but don't know -s. adb shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -P 1440x2560@1440x2560/0
Activity
sorccu commentedon Aug 20, 2015
The binary format is described in the README. The code we use is here: https://github.com/openstf/stf/tree/master/lib/units/device/plugins/screen/util.
DoctorQ commentedon Aug 21, 2015
param is "-s",output:
how to filter frame binary data?I know how to parser blow command via app.js,but don't know
-s.adb shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -P 1440x2560@1440x2560/0sorccu commentedon Aug 21, 2015
With
-sit just gives you a screenshot in JPG format. You just need to redirect stdout to a file, like this:adb shell 'LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -P 1440x2560@1440x2560/0 -s >/data/local/tmp/screenshot.jpg' adb pull /data/local/tmp/screenshot.jpg(Note the quotes around the command to ensure the redirection happens inside the device)
DoctorQ commentedon Aug 21, 2015
thanks!
Merge pull request openstf#3 from ledinhphuong/master