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

Re: Proposal: align video scaling with JSEP

From: Cullen Jennings (fluffy) <fluffy@cisco.com>
Date: Mon, 2 Oct 2017 16:29:27 +0000
To: Stefan Håkansson <stefan.lk.hakansson@ericsson.com>
CC: WebRTC WG <public-webrtc@w3.org>
Message-ID: <1506DE8D-1F19-461A-8EC3-761301A91C6D@cisco.com>

On Sep 26, 2017, at 5:56 AM, Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com<mailto:stefan.lk.hakansson@ericsson.com>> wrote:

Therefore I propose we remove the current text on 'centering, scaling,
cropping', and instead reference JSEP section 3.6.2.

That is what we originally had and Martin and others complained that more advice was needed. I don't think we can change the current advice but it still seems we need to say something to have consistent behaviour between browsers. I do think consistent behaviour is important because removing this going to result in letter boxing and when one thing does it one way and something else does it another, you can end up with the situation with a black border all the way around the outside of image. Apps will need to know what the browser are going to do so that the application can compensate to achieve the desired outcome for the application.

I think EKR and Justin have argued for one of the principals being don't loose information by cropping as this is really bad in cases like screen share. They are also arguing for don't change aspect ration (other than minor bit caused by rounding error in scaling ).  So I think that means this needs to say something along the lines of black border is added to image to get to correct aspect ratio, then it is scaled to get to correct size.
Received on Monday, 2 October 2017 16:29:51 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:52 UTC