<div dir="ltr">Hi<div>  I posted a question last week about this for an almost identical use case (no responses).<br><br></div><div>I found that while I am encoding my frames with the appropriate PTS for their absolute offset in time from the beginning of the stream, my player (ffplay) still showed the video at the time_base rate.  My video was MPEG1 and I found references that only certain encodings would support variable frame rate.  I also found an older thread where people were arguing that VFR is or is not supported.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 14, 2014 at 7:38 PM, NITIN GOYAL <span dir="ltr"><<a href="mailto:nitinkumgoyal@gmail.com" target="_blank">nitinkumgoyal@gmail.com</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="gmail_extra"><div class=""><br><div class="gmail_quote">On Wed, May 14, 2014 at 10:30 AM, Ken Bass <span dir="ltr"><<a href="mailto:daytooner@gmail.com" target="_blank">daytooner@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><br></div>Question: can I simply write out each frame as I receive it, with an appropriate PTS? This would most likely skip expected frames. Also, the captured frame most likely wouldn't be written at the specified fps interval.<br>


<br></div></blockquote></div><br></div>I think I am not clear on your question but as per my understanding, For the raw frames, if you will get them in a proper manner of PT, ti will create less issues in encoding process. May be you can buffer some frames and then send it to encode the frames and thus there wont be any skipped frames.</div>

</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><br clear="all"><div><br></div>-- <br>---<br>Empathy is the realization that another creature is self aware
</div>