[whatwg] HTML5 video <source> dimensions and bitrate

On Sat, Aug 14, 2010 at 11:48 AM, Chris Double <chris.double at double.co.nz>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.
>
> Chris.
> --
> http://www.bluishcoder.co.nz
>


I've checked your code and apparently you have the following extra IDL
attributes for video:

readonly attribute unsigned long mozDroppedFrames;
readonly attribute float mozPlaybackRate;
readonly attribute float mozDownloadRate;
readonly attribute unsigned mozFrameCount;

These are very useful indeed and I would like to see them added to the spec
- at least then an implementation of HTTP adaptive streaming in JavaScript
can be done and other functionalities such as making analysis graphs in
JavaScript about video performance are possible.

Cheers,
Silvia.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100814/3dddf0ed/attachment.htm>

Received on Friday, 13 August 2010 19:22:03 UTC