[Libav-user] avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet) why most of the time frameFinished is zero ?

sithruk sana get2jils at gmail.com
Mon May 26 10:36:07 CEST 2014


Dear all,

I received a packet from rtsp by av_read_frame and decode it through

 avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet)

After decoding i am checking  the value of frameFinished.

Most of the time i get the value of frameFinished is zero.  May be around
50% of the packet.


Can u hint me what could be the reason ?

It is any way related to 'I', 'P', 'B' packet types ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140526/30e6ea45/attachment.html>


More information about the Libav-user mailing list