<div dir="ltr"><div>thanks for the reply. <br><br>I am doing the same by queueing the packet  as described in dranger tutorial <a href="http://dranger.com/ffmpeg/ffmpegtutorial_all.html">http://dranger.com/ffmpeg/ffmpegtutorial_all.html</a>  <br>
<br><br></div><div>The behaviour is somewhat different if i do not queue the packet. Are there any quirk i need to be aware of while pusing/pulling from queue ?<br><br></div><div>Kindly help me.<br></div><div><br><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 27, 2014 at 4:12 PM, cyril poulet <span dir="ltr"><<a href="mailto:cyril.poulet@centraliens.net" target="_blank">cyril.poulet@centraliens.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class=""><div><div>a packet rarely contains an entire frame. You have to feed the decoder packets until a frame is finished.<br>
</div>frameFinished is the flag that tells you that a complete frame has been gathered and decoded, and that you can now work on it<br>
<br></div></div>However, seeing the number of messages you left recently, you might want to find a tutorial instead of posting very simple questions...<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-27 12:34 GMT+02:00 cyril poulet <span dir="ltr"><<a href="mailto:xenosender@gmail.com" target="_blank">xenosender@gmail.com</a>></span>:<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>a packet rarely contains an entire frame. You have to feed the decoder packets until a frame is finished.<br>

</div><div>frameFinished is the flag that tells you that a complete frame has been gathered and decoded, and that you can now work on it<br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-26 10:36 GMT+02:00 sithruk sana <span dir="ltr"><<a href="mailto:get2jils@gmail.com" target="_blank">get2jils@gmail.com</a>></span>:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr"><div><div><div><div><div>Dear all,<br><br></div>I received a packet from rtsp by av_read_frame and decode it through  <br><br> avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet)<br><br>



</div>After decoding i am checking  the value of frameFinished.<br><br>Most of the time i get the value of frameFinished is zero.  May be around<br></div>50% of the packet.<br><br><br></div>Can u hint me what could be the reason ?<br>



<br></div>It is any way related to 'I', 'P', 'B' packet types ?<br><br><div><br><div><div><div><br></div></div></div></div></div>
<br></div></div>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div></div><br></div>
<br>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br></div>