---------- Forwarded message ---------- From: Tulika Baranwal <[email protected]> Date: Tue, Apr 28, 2015 at 4:19 PM Subject: Green screen issue for Android 5.0 image compression To: [email protected]
Hi I am trying to fetch continuous android phone`s screenshot and compress it using ffmpeg tool. The command that I use works pretty well with all Android versions except Android lollypop devices(Android 5.0 or higher). For Android 5.0 devices it gives a random green screen in between. The following is the command being used : "shell:screencap | /data/local/tmp/ffmpeg -loglevel panic -f rawvideo -s %s -pix_fmt rgba -r 5 -i - -vf scale=%s -b 5 -f image2pipe -vcodec png -vframes 1 -" I have been stuck in this issue for a while, have tried changing the pix_fmt from rgb to rgba but that doesnt help much. Has any one faced a similar issue, and could help Thanks in advance. -- Regards ............. TULIKA BARANWAL -- Regards ............. TULIKA BARANWAL Software Engineer Aricent Gurgaon
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
