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

2015-04-22 Thread Lou
On Wed, 22 Apr 2015 08:37:24 +0200 daggs wrote: > 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 829

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

2015-04-21 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, 1