- From: Tran, Dzung D <dzung.d.tran@intel.com>
- Date: Thu, 1 Apr 2010 21:08:04 -0700
- To: Rik Sagar <org.whatwg@sagar.org>, Frederick Hirsch <frederick.hirsch@nokia.com>
- CC: W3C Device APIs and Policy WG <public-device-apis@w3.org>
- Message-ID: <753F67ADE6F5094C9F1DBA00D1BAA8D32550DBA061@orsmsx501.amr.corp.intel.com>
Hello Rik,
HTML5 <video> tag specifies codecs parameter as RFC4281: http://www.ietf.org/rfc/rfc4281.txt.
So I think we can follow the same method here. As for bitrate, I don't see anything in the HTML5 spec for this. Currently in the Capture API spec, we have:
FormatData captures format information of a media file captured by the device native capture application.
[NoInterfaceObject]
interface FormatData {
attribute DOMString type<http://dev.w3.org/2009/dap/camera/#widl-FormatData-type>;
attribute unsigned long height<http://dev.w3.org/2009/dap/camera/#widl-FormatData-height>;
attribute double duration<http://dev.w3.org/2009/dap/camera/#widl-FormatData-duration>;
attribute unsigned long width<http://dev.w3.org/2009/dap/camera/#widl-FormatData-width>;
};
So the new FormatData would be adding codecs and bitrate as:
[NoInterfaceObject]
interface FormatData {
attribute DOMString type<http://dev.w3.org/2009/dap/camera/#widl-FormatData-type>;
attribute DOMString codecs;
attribute unsigned long height<http://dev.w3.org/2009/dap/camera/#widl-FormatData-height>;
attribute double duration<http://dev.w3.org/2009/dap/camera/#widl-FormatData-duration>;
attribute unsigned long width<http://dev.w3.org/2009/dap/camera/#widl-FormatData-width>;
attribute float bitrate;
};
Thoughts? If this looks fine with everyone, I can go head and update the spec.
Thanks
Dzung Tran
From: public-device-apis-request@w3.org [mailto:public-device-apis-request@w3.org] On Behalf Of Rik Sagar
Sent: Wednesday, March 31, 2010 11:15 AM
To: Frederick Hirsch
Cc: W3C Device APIs and Policy WG
Subject: Re: Draft minutes 2010-03-31
Hi all,
WRT CaptureAPIs,
>Capture API
>
>darobin: AFAICT all the changes suggested in the F2F have been implemented
>... ilkkao also sent a message it has been updated
>...
>darobin: any objections to proceed to FPWD?
Could you give some more attention to the type attribute and the supportedXxxFormats list.
I raised the concern, in my recent message, that mime-type is not meaningful. I propose expanding the format to include audio and video codec information (http://lists.w3.org/Archives/Public/public-device-apis/2010Mar/0230.html).
Thanks for your time.
Regards,
Rik.
Rik Sagar, San Jose, CA 95124
Visit : http://sagar.org/
On Wed, Mar 31, 2010 at 8:05 AM, Frederick Hirsch <frederick.hirsch@nokia.com<mailto:frederick.hirsch@nokia.com>> wrote:
Attached are draft minutes from teleconference on 2010-03-31. HTML follows text.
regards, Frederick
Frederick Hirsch
Nokia
Received on Friday, 2 April 2010 04:08:45 UTC