W3C home > Mailing lists > Public > public-media-capture@w3.org > October 2017

[mediacapture-main] Undefined how video dimension constraints are met

From: stefan hakansson via GitHub <sysbot+gh@w3.org>
Date: Fri, 20 Oct 2017 17:28:50 +0000
To: public-media-capture@w3.org
Message-ID: <issues.opened-267247321-1508520529-sysbot+gh@w3.org>
stefhak has just created a new issue for https://github.com/w3c/mediacapture-main:

== Undefined how video dimension constraints are met ==
As far as I read the spec, it is not defined _how_ constraints on (video track) width, height and aspectRatio are met. Will the video be scaled down, cropped, a combination? Will it be letterboxed/pillarboxed?

A concrete use case that has been discussed is one where square 100x100 thumbnails are to be shown (at a remote end point). Say the camera  produces a 16:9 high resolution video feed, applying constraints ```width:100, height:100``` should ideally scale down to height 100 and then crop the width to 100 in this use case.

We should discuss this at TPAC.

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/495 using your GitHub account
Received on Friday, 20 October 2017 17:28:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:40 UTC