Re: [libav-api] invalid AVPacket size in av_read_frame usage.

2015-04-25 Thread Luca Barbato
On 23/04/15 15:34, 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 8294400 > > > l

Re: [libav-api] invalid AVPacket size in av_read_frame usage.

2015-04-25 Thread daggs
Greetings Luca, > Sent: Saturday, April 25, 2015 at 12:16 PM > From: "Luca Barbato" > To: libav-api@libav.org > Subject: Re: [libav-api] invalid AVPacket size in av_read_frame usage. > > On 23/04/15 15:34, daggs wrote: > > Greetings, > > > > I'm writing a program that needs to sample the screen

Re: [libav-api] invalid AVPacket size in av_read_frame usage.

2015-04-25 Thread Luca Barbato
On 25/04/15 13:50, daggs wrote: > Greetings Luca, > >> Sent: Saturday, April 25, 2015 at 12:16 PM >> From: "Luca Barbato" >> To: libav-api@libav.org >> Subject: Re: [libav-api] invalid AVPacket size in av_read_frame usage. >> >> On 23/04/15 15:34, daggs wrote: >>> Greetings, >>> >>> I'm writing

Re: [libav-api] invalid AVPacket size in av_read_frame usage.

2015-04-25 Thread daggs
Greetings Luca, > Sent: Saturday, April 25, 2015 at 4:59 PM > From: "Luca Barbato" > To: daggs > Cc: libav-api@libav.org > Subject: Re: [libav-api] invalid AVPacket size in av_read_frame usage. > > On 25/04/15 13:50, daggs wrote: > > Greetings Luca, > > > >> Sent: Saturday, April 25, 2015 at 12

Re: [libav-api] invalid AVPacket size in av_read_frame usage.

2015-04-25 Thread Luca Barbato
On 25/04/15 20:58, daggs wrote: > mmm I think I was mislead, I'm using ffmpeg, after asking the same > question on the ffmpeg list I was suggested to ask this in the libav > ml because I'll have more chance to get help, I know that ffmpeg > pulls changes from libav so I assumed it was a logical su