[Libav-user] Converting YUV Data to AVFrame

2015-04-28 Thread Gaurav Pathak
Hello all, I am working on encoding a raw yuv stream coming directly from webcam, using v4l2. The issue that I am facing is that even after using *avpicture_fill *and assigning every buffer separately as *frame->data[0] = buffers[buf.index].start;frame->data[1] = (buffers[buf.index].start)+1;fr

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

2015-04-28 Thread Tulika Baranwal
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 follow

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

2015-04-28 Thread Carl Eugen Hoyos
Tulika Baranwal writes: > "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 -" Remove loglevel panic and provide the complete, uncut console output. What is "-b 5" support to do? Car

Re: [Libav-user] invalid AVPacket size in av_read_frame usage.

2015-04-28 Thread daggs
Greetings Nicolas, > Sent: Monday, April 27, 2015 at 2:22 PM > From: "Nicolas George" > To: "This list is about using libavcodec, libavformat, libavutil, libavdevice > and libavfilter." > Subject: Re: [Libav-user] invalid AVPacket size in av_read_frame usage. > > L'octidi 8 floréal, an CCXXIII,

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

2015-04-28 Thread Tulika Baranwal
-- Forwarded message -- From: Tulika Baranwal Date: Tue, Apr 28, 2015 at 4:19 PM Subject: Green screen issue for Android 5.0 image compression To: libav-user@ffmpeg.org Hi I am trying to fetch continuous android phone`s screenshot and compress it using ffmpeg tool. The command t