Difference between revisions of "Rock/Android dev tips"
< Rock
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{rock_header}} | ||
{{Languages|rock/Android dev tips}} | {{Languages|rock/Android dev tips}} | ||
__TOC__ | __TOC__ | ||
Line 8: | Line 9: | ||
adb shell "cat /dev/graphics/fb0 > /sdcard/fb.raw" | adb shell "cat /dev/graphics/fb0 > /sdcard/fb.raw" | ||
adb pull /sdcard/fb.raw | adb pull /sdcard/fb.raw | ||
− | ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt | + | ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -s 1920x1080 -i fb.raw -f image2 -vcodec png fb-%d.png |
Latest revision as of 05:36, 6 January 2015
Contents
Some tips for radxa rock android development.
Screenshot
On your host pc, debugg via adb
adb shell "cat /dev/graphics/fb0 > /sdcard/fb.raw" adb pull /sdcard/fb.raw ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -s 1920x1080 -i fb.raw -f image2 -vcodec png fb-%d.png