[Libav-user] Fwd: Green screen issue for Android 5.0 image compression

Tulika Baranwal me.tulika at gmail.com
Tue Apr 28 13:09:25 CEST 2015


---------- Forwarded message ----------
From: Tulika Baranwal <me.tulika at gmail.com>
Date: Tue, Apr 28, 2015 at 4:19 PM
Subject: Green screen issue for Android 5.0 image compression
To: libav-user at ffmpeg.org


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20150428/1b3c97e6/attachment.html>


More information about the Libav-user mailing list