[Libav-user] avcodec_decode_video2 got_picture parameter returns zero sometimes

NITIN GOYAL nitinkumgoyal at gmail.com
Fri May 25 07:57:42 CEST 2012

wht do you mean by sometimes?

if its not consistent then i wonder the data frame you are sending are not

if its consistent and always results zero then either the NAL formation
have some issue or you are missing some important configuration.

On Fri, May 25, 2012 at 10:21 AM, <krishnaks at iwavesystems.com> wrote:

> Here sometimes got_picture_ptr returns zero  which means frames could not
> be decompressed.
> What may be the reason? I am getting the H264 frame without any loss.
> ANy configuration option I am missing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120525/f527d6f2/attachment.html>

More information about the Libav-user mailing list