[whatwg] HTML5 video <source> dimensions and bitrate

Eric Carlson eric.carlson at apple.com
Fri Aug 13 19:26:30 PDT 2010

Hi Chris -

On Aug 13, 2010, at 6:48 PM, Chris Double wrote:

> On Sat, Aug 14, 2010 at 4:05 AM, Zachary Ozer <zach at longtailvideo.com> wrote:
>> It would still be nice if the <video> made dropped frame information
>> available, but that's probably not in the cards.
> I have a work in progress bug with patch that adds this to the <video>
> implementation in Firefox:
> https://bugzilla.mozilla.org/show_bug.cgi?id=580531
> It adds a 'mozDroppedFrames' as well as a couple of other stats people
> have queried about here (download rate, framerate, etc). I'd be keen
> to see something like this get discussed/added.
  I see the following additions:

interface HTMLMediaElement
    readonly attribute float mozDownloadRate;
    readonly attribute float mozPlaybackRate;

interface HTMLVideoElement
    readonly attribute unsigned long mozFrameCount;
    readonly attribute unsigned long mozDroppedFrames;

  A few questions:

  mozDownloadRate - What are the units, bit per second?
  mozPlaybackRate - Is this the movie's data rate (total bytes / duration)?
  mozFrameCount - What do you propose a UA report for a partually downloaded VBR movie, or for a movie in a container that doesn't have a header (ie. one where you don't know the fame count until you have examined every byte in the file)?


More information about the whatwg mailing list