Notice: Radxa Wiki is no longer maintained and content is for reference only. Please visit the latest Radxa Documentation site:
docs.radxa.com
Difference between revisions of "Rock/Android dev tips"
< Rock
(Created page with "{{Languages|rock/Android dev tips}} __TOC__ Some tips for radxa rock android development.") |
|||
| Line 3: | Line 3: | ||
Some tips for radxa rock android development. | 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 bgr32 -s 1920x1080 -i fb.raw -f image2 -vcodec png fb-%d.png | ||
Revision as of 12:19, 15 April 2014
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 bgr32 -s 1920x1080 -i fb.raw -f image2 -vcodec png fb-%d.png
