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

daggs daggs at gmx.com
Sat Apr 25 20:58:35 CEST 2015


Greetings Luca,

> Sent: Saturday, April 25, 2015 at 4:59 PM
> From: "Luca Barbato" <lu_zero at gentoo.org>
> To: daggs <daggs at gmx.com>
> Cc: libav-api at 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:16 PM
> >> From: "Luca Barbato" <lu_zero at gentoo.org>
> >> To: libav-api at 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 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	
> >>>  
> 
> Actually I cannot find any message like this in the Libav sources, are
> you sure are you using libav and a recent version of it?
> 
> lu
> 

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 suggestion.

guess my logic was wrong... :(


More information about the libav-api mailing list