[FFmpeg-user] Fwd: Getting green Images when compressing with ffmpeg for Android 5.0

Manikanta Vasu vasu.manikanta9 at gmail.com
Wed Apr 29 10:15:51 CEST 2015

I am trying to fetch screenshots of android devices using adb screencap command
along with the ffmpeg command. The command works well for devices other
than Android 5.0

ffmpeg -loglevel panic -f rawvideo -pix_fmt bgr0 -r 10 -i - -vf scale=1 -f
image2 -vcodec png -vframes 1 /sdcard/screen.png

The issue is for Android 5.0 devices after every rendering of image ,a
green image is coming.

Manikanta Vasu

More information about the ffmpeg-user mailing list