[Android]How to use FFmpeg to decode Android f...

1.Android framebuffer raw data to getshell

adb shell cat /dev/graphics/fb0 >myfilefb.rawide

  1. Guide:

$ IMAGE_RES=320x480ui

$ RAW_IMAGE=myfilefb.rawcode

$ OUT_IMAGE=frame-%d.pngget

$ ./ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb565 -s $IMAGE_RES -i $RAW_IMAGE -f image2 -vcodec png $OUT_IMAGEffmpeg

相關文章
相關標籤/搜索