Re: [whatwg] VIDEO Timeupdate event frequency.

2010-12-10 Thread Ian Hickson
On Fri, 10 Sep 2010, Biju wrote: Matthew Gregan wrote in https://bugzilla.mozilla.org/show_bug.cgi?id=571822 : Firefox fires the timeupdate event once per frame. Safari 5 and Chrome 6 fire every 250ms. Opera 10.50 fires every 200ms. Now in firefox bug 571822 they are changing Firefox

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-12 Thread Boris Zbarsky
On 9/11/10 8:56 AM, Roger Hågensen wrote: I can't recall any browsers exposing vsync. (does any?) Gecko is working on it. See http://weblogs.mozillazine.org/roc/archives/2010/08/mozrequestanima.html -Boris

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-11 Thread Silvia Pfeiffer
On Sat, Sep 11, 2010 at 2:20 PM, Robert O'Callahan rob...@ocallahan.orgwrote: On Sat, Sep 11, 2010 at 11:03 AM, Tab Atkins Jr. jackalm...@gmail.comwrote: On Fri, Sep 10, 2010 at 4:01 PM, Robert O'Callahan rob...@ocallahan.org wrote: I think an ideal API for video frame processing would

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-11 Thread Roger Hågensen
On 2010-09-11 05:23, Eric Carlson wrote: On Sep 10, 2010, at 8:06 PM, Biju wrote: On Fri, Sep 10, 2010 at 7:05 AM, Silvia Pfeiffer silviapfeiff...@gmail.com wrote: Incidentally: What use case did you have in mind, Biju ? I was thinking about applications like

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-10 Thread Silvia Pfeiffer
On Fri, Sep 10, 2010 at 7:28 PM, Biju bijumaill...@gmail.com wrote: https://bugzilla.mozilla.org/show_bug.cgi?id=571822 Firefox fires the timeupdate event once per frame. Safari 5 and Chrome 6 fire every 250ms. Opera 10.50 fires every 200ms. Now in firefox bug 571822 they are changing

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-10 Thread Tab Atkins Jr.
On Fri, Sep 10, 2010 at 4:05 AM, Silvia Pfeiffer silviapfeiff...@gmail.com wrote: On Fri, Sep 10, 2010 at 7:28 PM, Biju bijumaill...@gmail.com wrote: https://bugzilla.mozilla.org/show_bug.cgi?id=571822 Firefox fires the timeupdate event once per frame. Safari 5 and Chrome 6 fire every

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-10 Thread Davidlee
If I understand correctly... I think we would be using this a lot in transmedia integration for film/tv. On Fri, Sep 10, 2010 at 10:53 AM, Tab Atkins Jr. jackalm...@gmail.comwrote: On Fri, Sep 10, 2010 at 4:05 AM, Silvia Pfeiffer silviapfeiff...@gmail.com wrote: On Fri, Sep 10, 2010 at 7:28

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-10 Thread Boris Zbarsky
On 9/10/10 10:53 AM, Tab Atkins Jr. wrote: I don't know how audio would be returned, though. Mozilla is using a typed array buffer holding 32-bit floats for its audio data API stuff, I believe. -Boris

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-10 Thread Simon Fraser
On Sep 10, 2010, at 7:53 AM, Tab Atkins Jr. wrote: On Fri, Sep 10, 2010 at 4:05 AM, Silvia Pfeiffer silviapfeiff...@gmail.com wrote: On Fri, Sep 10, 2010 at 7:28 PM, Biju bijumaill...@gmail.com wrote: https://bugzilla.mozilla.org/show_bug.cgi?id=571822 Firefox fires the timeupdate event

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-10 Thread Tab Atkins Jr.
On Fri, Sep 10, 2010 at 9:58 AM, Simon Fraser s...@me.com wrote: The problem with a 'newFrame' callback is what to do if the callback takes longer than the duration of a single frame. Does the video engine start dropping frames, or does the video lag? Dropping frames would be the better

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-10 Thread Simon Fraser
On Sep 10, 2010, at 10:07 AM, Tab Atkins Jr. wrote: On Fri, Sep 10, 2010 at 9:58 AM, Simon Fraser s...@me.com wrote: The problem with a 'newFrame' callback is what to do if the callback takes longer than the duration of a single frame. Does the video engine start dropping frames, or does the

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-10 Thread Robert O'Callahan
I think an ideal API for video frame processing would involve handing video frames to a Worker for processing. Rob -- Now the Bereans were of more noble character than the Thessalonians, for they received the message with great eagerness and examined the Scriptures every day to see if what Paul

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-10 Thread Tab Atkins Jr.
On Fri, Sep 10, 2010 at 4:01 PM, Robert O'Callahan rob...@ocallahan.org wrote: I think an ideal API for video frame processing would involve handing video frames to a Worker for processing. Mm, yeah, probably. But then you'd need to be able to do canvas on workers, and hand the data back...

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-10 Thread Silvia Pfeiffer
On Sat, Sep 11, 2010 at 12:53 AM, Tab Atkins Jr. jackalm...@gmail.comwrote: On Fri, Sep 10, 2010 at 4:05 AM, Silvia Pfeiffer silviapfeiff...@gmail.com wrote: On Fri, Sep 10, 2010 at 7:28 PM, Biju bijumaill...@gmail.com wrote: https://bugzilla.mozilla.org/show_bug.cgi?id=571822 Firefox

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-10 Thread Biju
On Fri, Sep 10, 2010 at 7:05 AM, Silvia Pfeiffer silviapfeiff...@gmail.com wrote: Incidentally: What use case did you have in mind, Biju ? I was thinking about applications like https://developer.mozilla.org/samples/video/chroma-key/index.xhtml (

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-10 Thread Eric Carlson
On Sep 10, 2010, at 8:06 PM, Biju wrote: On Fri, Sep 10, 2010 at 7:05 AM, Silvia Pfeiffer silviapfeiff...@gmail.com wrote: Incidentally: What use case did you have in mind, Biju ? I was thinking about applications like https://developer.mozilla.org/samples/video/chroma-key/index.xhtml (

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-10 Thread Robert O'Callahan
On Sat, Sep 11, 2010 at 11:03 AM, Tab Atkins Jr. jackalm...@gmail.comwrote: On Fri, Sep 10, 2010 at 4:01 PM, Robert O'Callahan rob...@ocallahan.org wrote: I think an ideal API for video frame processing would involve handing video frames to a Worker for processing. Mm, yeah, probably.