Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rock/Android dev tips"

(Screenshot)
Line 8: Line 8:
 
  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 bgr32 -s 1920x1080  -i fb.raw -f image2 -vcodec png fb-%d.png
+
  ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -s 1920x1080  -i fb.raw -f image2 -vcodec png fb-%d.png

Revision as of 12:56, 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 rgb32 -s 1920x1080  -i fb.raw -f image2 -vcodec png fb-%d.png