Re: [whatwg] Frame advance feature for a paused VIDEO
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. `._.-(,_..'--(,_..'`-.;.'
Re: [whatwg] Frame advance feature for a paused VIDEO
On Tue, 26 May 2009 01:26:38 +0200, Robert O'Callahan rob...@ocallahan.org wrote: On Tue, May 26, 2009 at 11:25 AM, Robert O'Callahan rob...@ocallahan.orgwrote: 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. 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. Rob 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. -- Philip Jägenstedt Core Developer Opera Software
Re: [whatwg] Frame advance feature for a paused VIDEO
On Thu, 21 May 2009 06:35:39 +0200, Biju bijumaill...@gmail.com 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. Thanks Biju 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. -- Philip Jägenstedt Core Developer Opera Software
Re: [whatwg] Frame advance feature for a paused VIDEO
On Mon, May 25, 2009 at 7:18 PM, Philip Jägenstedt phil...@opera.comwrote: On Thu, 21 May 2009 06:35:39 +0200, Biju bijumaill...@gmail.com 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. Thanks Biju 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. 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. Rob -- He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all. [Isaiah 53:5-6]
Re: [whatwg] Frame advance feature for a paused VIDEO
On Wed, May 20, 2009 at 9:35 PM, Biju bijumaill...@gmail.com 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 doesn't seem to be a way to do so. Definitely something I think we should consider for the next version of the API. / Jonas