On 5/6/2013 5:29 PM, Ralph Giles wrote:
On 13-05-06 1:01 PM, Randell Jesup wrote:

framerate is not a constant. ;-)
I was imaging they wanted to find a particular frame to cut-and-paste,
e.g. sprites. Or only run an expensive calculation when the frame data
changes.

In theory (just guessing now), they might want to do a 'cut' on a specific frame, though one would expect that could be converted to a time. However, it depends on where they got the cut-point from. And not all video is high-frame-rate; sometime it's effectively stop-motion - think a security cam that only sends frames when something "interesting" is happening. Though again you may be able to key off the current time - if it doesn't advance on audio, which it may. But as I say, I'm guessing.


Applications (especially realtime) will want to show the "current"
framerate (for some definition of current - last second, etc).  They may
want to take actions based on it as well.
Aha. It should be possible to try that with the statistics extensions
Paul mentioned. These are already available in Firefox:

   video.mozParsedFrames
   video.mozDecodedFrames
   video.mozPaintedFrames
   video.mozPresentedFrames

Ok, cool.  I wonder how many of those apply to mediastream sources.

--
Randell Jesup, Mozilla
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to