<div dir="ltr">Hello, <br>&nbsp;&nbsp;&nbsp; I&#39;m trying to stream&nbsp; MPEG Video Elementary Stream encoded with ffmpeg using live.&nbsp; I&#39;ve written a subclass of FramedSource based on the directions given in DeviceSource. I&#39;m showing video sequence and streaming it at the same time. I encode data into sequence of buffers and then pass this buffers into my subclass.&nbsp;&nbsp; Everything works relatively fine. I&#39;m only confused with the fact that when I&#39;m passing buffers with the frame rate&nbsp; greater or equal than the frame rate of the encoded mpeg, everything works fine, but when the rate of passing buffers is lower that the frame rate of encoded mpeg, VLC plays several frames and than freezes. Why might this happen?&nbsp; (In my subclass I use&nbsp; gettimeofday(&amp;fPresentationTime, NULL) to set&nbsp; presentation time).<br>
<br>Best regards, <br>Boris Kazakov.<br><br></div>