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

Oleg mybrokenbeat at gmail.com
Mon Apr 1 15:41:13 CEST 2013


Your eye and ear will not see\hear difference if audio or video stream will be late on +\- 10ms. So video players don't need to render exact framerate.

01.04.2013, в 16:24, Thomas Sharpless написал(а):

> 
> 
> 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?
> 
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130401/d0971f84/attachment.html>


More information about the Libav-user mailing list