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

daggs daggs at gmx.com
Tue Apr 28 14:15:00 CEST 2015


Greetings Nicolas,

> Sent: Monday, April 27, 2015 at 2:22 PM
> From: "Nicolas George" <george at nsup.org>
> To: "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." <libav-user at ffmpeg.org>
> Subject: Re: [Libav-user] invalid AVPacket size in av_read_frame usage.
>
> 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.
> 
> Regards,
> 

I've tried to set it using the AVDirectory but it still doesn't work, my guess is that I'm not entering the options as should, is there a way to enable some debugging without recompiling ffmpeg? or even have a list of formats that are expected by ffmpeg?

Dagg


More information about the Libav-user mailing list