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: "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.
> >
> > 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

I went on and read your mail again, then I've reviewed the code and found my 
issue, it was just like you said, I've inited the options after allocating the 
format ctx, moving it before fixed the issue.

thanks for the help
_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to