W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2009

[whatwg] Frame advance feature for a paused VIDEO

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 10 Jun 2009 21:36:55 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0906102123010.1648@hixie.dreamhostps.com>
On Thu, 21 May 2009, Biju wrote:
>
> I dont see a way to do frame advance feature for a paused VIDEO.
> 
> Is there a way to achieve that ?
> As well as frame backward also.

There is no way to do this today, but I imagine we'll add an API for this 
in due course. It's the first thing on the list of features for the next 
version, in fact.


On Mon, 25 May 2009, Philip J?genstedt wrote:
> 
> If you pause the video and set currentPosition it should advance to that 
> frame. As long as you know the frame rate you're good to go. All in 
> theory of course, implementations may not be all the way there yet.

On Tue, 26 May 2009, Robert O'Callahan wrote:
>
> I don't think there is a standard way to expose the frame rate. We might 
> even want something more general than the frame rate, since conceivably 
> you could have a video format where the interval between frames is 
> variable.

On Tue, 26 May 2009, Robert O'Callahan wrote:
> 
> It's more than conceivable, actually --- chained Oggs can have the frame 
> rate varying between segments. So if you're at the last frame of one 
> segment the time till the next frame can be different from the time 
> since the previous frame.

On Tue, 26 May 2009, Philip J?genstedt wrote:
> 
> Indeed, I don't suggest adding an API for exposing the frame rate, I'm 
> just saying that if you know the frame rate by some external means then 
> you can just set currentTime.

On Tue, 26 May 2009, Robert O'Callahan wrote:
> 
> OK, sure. Since there are lots of situations where you don't know the 
> frame rate via external means, it seems new API is needed here.

On Mon, 25 May 2009, Jonas Sicking wrote:
> 
> There doesn't seem to be a way to do so. Definitely something I think we 
> should consider for the next version of the API.

I agree with the above comments.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 10 June 2009 14:36:55 UTC

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