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

2015-05-08 Thread daggs
Greetings Nicolas, Sent: Tuesday, April 28, 2015 at 3:15 PM From: daggs da...@gmx.com To: Nicolas George geo...@nsup.org Cc: libav-user@ffmpeg.org Subject: Re: [Libav-user] invalid AVPacket size in av_read_frame usage. Greetings Nicolas, Sent: Monday, April 27, 2015 at 2:22 PM From

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 geo...@nsup.org To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter. libav-user@ffmpeg.org Subject: Re: [Libav-user] invalid AVPacket size in av_read_frame usage

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

2015-04-27 Thread daggs
Greetings, Sent: Monday, April 27, 2015 at 11:20 AM From: Carl Eugen Hoyos ceho...@ag.or.at To: libav-user@ffmpeg.org Subject: Re: [Libav-user] invalid AVPacket size in av_read_frame usage. daggs daggs@... writes: I'm writing a program that needs to sample the screen in bgra

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

2015-04-27 Thread Carl Eugen Hoyos
daggs daggs@... writes: I'm writing a program that needs to sample the screen in bgra format. the problem is what I try to read an av frame, I get this error: [rawvideo at 0x1403aa0] Invalid buffer size, packet size 1228800 expected frame_size 8294400 Where does the

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

2015-04-27 Thread daggs
Greetings, Sent: Monday, April 27, 2015 at 12:10 AM From: Carl Eugen Hoyos ceho...@ag.or.at To: libav-user@ffmpeg.org Subject: Re: [Libav-user] invalid AVPacket size in av_read_frame usage. daggs daggs@... writes: I'm writing a program that needs to sample the screen in bgra format

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

2015-04-27 Thread Nicolas George
L'octidi 8 floréal, an CCXXIII, daggs a écrit : I'm using the x11grab module set to my desktop and grab the packets using av_read_frame call. 1228800 = 640 × 480 × 4, 640×480 is the default resolution for x11grab. You are not configuring your demuxers and decoders in a consistent way.

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

2015-04-26 Thread daggs
Greetings, I'm writing a program that needs to sample the screen in bgra format. the problem is what I try to read an av frame, I get this error: [rawvideo @ 0x1403aa0] Invalid buffer size, packet size 1228800 expected frame_size 8294400 looking at the code I see that unless stated else,

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

2015-04-26 Thread Carl Eugen Hoyos
daggs daggs@... writes: I'm writing a program that needs to sample the screen in bgra format. the problem is what I try to read an av frame, I get this error: [rawvideo at 0x1403aa0] Invalid buffer size, packet size 1228800 expected frame_size 8294400 Where does the packet come from