Created
October 22, 2012 20:18
-
-
Save abiank/3933850 to your computer and use it in GitHub Desktop.
adb screenshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
../android-sdk-linux/platform-tools/adb pull /dev/graphics/fb0 fb0 | |
dd bs=1920 count=800 if=fb0 of=fb0b | |
ffmpeg -vframes 1 -vcodec rawvideo -f rawvideo -pix_fmt rgb565 -s 480x800 -i fb0 -f image2 -vcodec png image.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment