W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] HTML5 video <source> dimensions and bitrate

From: Eric Carlson <eric.carlson@apple.com>
Date: Fri, 13 Aug 2010 19:26:30 -0700
Message-ID: <F9469F15-C4A7-4720-BD09-298F22251DFA@apple.com>
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)?

eric
Received on Friday, 13 August 2010 19:26:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:00 UTC