W3C home > Mailing lists > Public > public-web-and-tv@w3.org > June 2018

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

From: Daiz via GitHub <sysbot+gh@w3.org>
Date: Thu, 14 Jun 2018 21:51:11 +0000
To: public-web-and-tv@w3.org
Message-ID: <issue_comment.created-397449551-1529013070-sysbot+gh@w3.org>
@mfoltzgoogle That depends - what exactly do you mean by a frame counter? As in, a value that would tell me the absolute frame number of the currently displayed frame, like if I have a 40000 frame long video with a constant frame rate of 23.976 FPS, and when currentTime is about 00:12:34.567, this hypothetical frame counter would have a value of 18091? This would most certainly work be useful for me.

To reiterate, for me the most important use case for frame accuracy right now would be to accurately snap subtitle cue changes to frame changes. A frame counter like described above would definitely work for this. Though since I personally work on premium VOD content where I'm in full control of the content pipeline, accurate currentTime (assuming that it means that with a constant frame rate / full frame rate information I would be able to reliably calculate the currently displayed frame number) would also work. But I think the kind of frame counter described above would be a better fit as more general purpose functionality.

-- 
GitHub Notification of comment by Daiz
Please view or discuss this issue at https://github.com/w3c/media-and-entertainment/issues/4#issuecomment-397449551 using your GitHub account
Received on Thursday, 14 June 2018 21:51:20 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 14 June 2018 21:51:21 UTC