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

[whatwg] HTML5 video <source> dimensions and bitrate

From: Zachary Ozer <zach@longtailvideo.com>
Date: Mon, 9 Aug 2010 19:00:18 -0400
Message-ID: <AANLkTin+W9MHe+JundiCDKsu2bruzWh8f3tTwN4YbfjF@mail.gmail.com>
Hello!

I'm working on some bandwidth switching logic for the JW Player for
HTML5. The way that we've implemented our bandwidth switching logic
relies on knowing both the dimensions of the video as well as it's
bitrate (for more info on the logic, see our dynamic streaming
documentation [1]).

MRSS supports this quite nicely, as their media content elements allow
for width, height, and bitrate, per our example [2].

As a result, I was wondering if there's some way to attach metadata
like the dimensions and bitrate to <source> elements of
HTMLMediaElements in the DOM. I realize that we could wait for
metadata to arrive for each source, but it would be nice if it was
possible to make an intelligent choice before attempting to play all
of them.

Best,

Zach

  [1] : http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v4/12208/video-delivery-rtmp-streaming#dynamicstreaming
  [2] : http://developer.longtailvideo.com/player/testing/files/bitrates.xml

--
Zachary Ozer
Developer, LongTail Video

w: longtailvideo.com ? e: zach at longtailvideo.com ? p: 212.244.0140 ?
f: 212.656.1335
JW Player? |? Bits on the Run? |? AdSolution
Received on Monday, 9 August 2010 16:00:18 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:26 UTC