Date: Mon, 9 Jul 2012 12:14:44 +0200
From: [email protected]
To: [email protected]
Subject: Re: [Libav-user] missing frames while decoding

Le duodi 22 messidor, an CCXX, Murthy avsn a écrit :
> Hi a l ,thanks for you support.I have problem with decoding frames. I am
> trying to save frames in a h264 stream to .PPM file.I am trying to decode
\eoStream)        {            // Decode video frame            
avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet);

> That is unreadable. You should consider getting a more code-friendly 
> mail>client if you intend to post on this kind of mailing list.
 >Regarding your problem, it seems you are not flushing the decoder. After the
>input is finished, you have to feed empty packets to the decoder so that it
>returns the frames that were delayed by previous B-frames.
 
Sorry for not being clear in my previous mail.Here is the 
code.http://pastebin.com/3qsGrrCUCan you please link me to any example 
regarding flushing the decoder.Thank you for your support.





                                          
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to