[Libav-user] Best way to create a fractional ms timer?

Thomas Sharpless tksharpless at gmail.com
Mon Apr 1 15:24:52 CEST 2013


On Mon, Apr 1, 2013 at 6:18 AM, Mike Versteeg <mike at mikeversteeg.com> wrote:

> @Rene: not that I know, and 1 ms will be very unreliable.
>
> @Nicolas: Yes, and this is often said. However these days using a timer
> you get very reliable and stable periods with hardly any jitter. Unless
> your period needs to be (on average) 33.33 ms, then timers won't do.
>
> It's really odd Windows does not provide in this, nor (apparently) libav*.
> But at least now I know it is what it is and we'll have to do with
> loops/sleep. Thanks everyone.
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
> Really odd indeed.  So, bottom line, how do commercial movie/video players
generate correct frame rates?  Or don't they?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130401/370bb78e/attachment.html>


More information about the Libav-user mailing list