Re: [media-and-entertainment] Frame accurate seeking of HTML5 MediaElement

> One of the main use cases for me would be the ability to synchronize content changes outside video to frame changes in the video. As a simple example, the test case in the frame-accurate-ish repo shows this with the background color change. In my case the main thing would be the ability to accurate synchronize custom subtitle rendering with frame changes. Being even one or two screen refreshes off becomes a notable issue when you want to ensure subtitles appearing/disappearing with scene changes - even a frame or two of subtitles hanging on the screen after a scene change happens is very much notable and ugly to look at during playback.

This highlights the importance of being clear what currentTime means as hardware-based implementations or devices outputting via HDMI may have several frames difference between the media time of the frame being output from the display and the frame being composited with graphics.

-- 
GitHub Notification of comment by jpiesing
Please view or discuss this issue at https://github.com/w3c/media-and-entertainment/issues/4#issuecomment-396831028 using your GitHub account

Received on Wednesday, 13 June 2018 06:42:38 UTC