W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2011

[whatwg] HTML5 video: frame accuracy / SMPTE

From: Dirk-Willem van Gulik <Dirk-Willem.van.Gulik@BBC.co.uk>
Date: Wed, 12 Jan 2011 00:58:28 +0000
Message-ID: <F531E874-DFFA-4882-9DF1-DB8E3CA3893C@BBC.co.uk>
On 12 Jan 2011, at 00:48, Dirk-Willem van Gulik wrote:

> the clock relative to shutter/gating to the end user - as this is what you need to avoid flicker, interlace issues, half the frame showing > the next scene, etc.

Apologies - got some private mail asking for examples. So the simplest example I can think of is a second of black video followed by a second of white. At the moment of transition - the creative person designing this wanted it to perfectly 'flash' from back to white.

If somehow you updated the display halfway a refresh cycle (and lets assume your update process happens from top to bottom) then for 'one refresh cycle' you'd show a black (old) top half and a white bottom half. You can get similar fun and games with objects moving faster (or around) the speed of your shown-as-size/update cycle. And it gets more complex when your 'screen' does not update in a simple way - but uses interlacing[1].

Now in practice we generally avoid this by having double buffer, slaving our frame refresh to the video card or in the video card to something else, etc. But it is easy to get wrong.

Thanks,

Dw

1: http://en.wikipedia.org/wiki/Interlaced_video - try not to get a headache !
Received on Tuesday, 11 January 2011 16:58:28 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:29 UTC