Re: [rtcweb] Changing video size (Re: use case:)

Justin Uberti <juberti@google.com> Wed, 22 June 2011 03:59 UTC

Return-Path: <juberti@google.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 973B311E80FA for <rtcweb@ietfa.amsl.com>; Tue, 21 Jun 2011 20:59:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.143
X-Spam-Level:
X-Spam-Status: No, score=-105.143 tagged_above=-999 required=5 tests=[AWL=0.833, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ciX6nh-9uKvj for <rtcweb@ietfa.amsl.com>; Tue, 21 Jun 2011 20:59:41 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by ietfa.amsl.com (Postfix) with ESMTP id B6EAF11E80DA for <rtcweb@ietf.org>; Tue, 21 Jun 2011 20:59:41 -0700 (PDT)
Received: from kpbe14.cbf.corp.google.com (kpbe14.cbf.corp.google.com [172.25.105.78]) by smtp-out.google.com with ESMTP id p5M3xe5G018267 for <rtcweb@ietf.org>; Tue, 21 Jun 2011 20:59:40 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1308715180; bh=08T7r2H2f1tGHVEpgny/dtnVKn0=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Sh1eqKId0uOWd2MFEefnuo99KVXZtX2QHhi8Yn9yBH4jxbLt2mefxPNLcp+GpslSc iBokWGLc13fITbcMMziIw==
Received: from iyi20 (iyi20.prod.google.com [10.241.51.20]) by kpbe14.cbf.corp.google.com with ESMTP id p5M3xder001045 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <rtcweb@ietf.org>; Tue, 21 Jun 2011 20:59:39 -0700
Received: by iyi20 with SMTP id 20so424641iyi.7 for <rtcweb@ietf.org>; Tue, 21 Jun 2011 20:59:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=o/eOPdukRQRsgRRy/m8m52wAqJZYuOGWQIzjdFuPhJk=; b=TJqYD8jEbNADWRITmW9ReBAjNf66rfhA5aN8qbCtPpYaCbqFuHmGclhWk5czV1VFZC cRupB9GUJDdj+YNt8b6Q==
DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=VkJhvBzfIPtdYiiEWMNldVWYLV3WmCcZST+1y6weSra+tccp0TEyCANzqEX/uo0Gwl 8E00JskYoYAinWRK4DfA==
Received: by 10.231.68.202 with SMTP id w10mr207360ibi.63.1308715179129; Tue, 21 Jun 2011 20:59:39 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.231.34.6 with HTTP; Tue, 21 Jun 2011 20:59:19 -0700 (PDT)
In-Reply-To: <46A1DF3F04371240B504290A071B4DB601301A2E@SZXEML501-MBS.china.huawei.com>
References: <5DA67EA1-77DC-4F55-850C-E76E0F133A81@cisco.com> <BANLkTi=g13whA3PCXKPW5Q7a2PzEDY3ESg@mail.gmail.com> <4DFF052A.8020202@alvestrand.no> <01A17A75-0700-416E-A4D4-C6EB97265F8B@cisco.com> <46A1DF3F04371240B504290A071B4DB601301A2E@SZXEML501-MBS.china.huawei.com>
From: Justin Uberti <juberti@google.com>
Date: Tue, 21 Jun 2011 20:59:19 -0700
Message-ID: <BANLkTik=N6qtPRUesk3mi62rV1Lvixu54w@mail.gmail.com>
To: Bert Greevenbosch <Bert.Greevenbosch@huawei.com>
Content-Type: multipart/alternative; boundary="0015177407d05d3b9404a644ff1f"
X-System-Of-Record: true
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Changing video size (Re: use case:)
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Jun 2011 03:59:42 -0000

Given the fact that this request for a video size change is an optimization
(either of resources or user experience), I think that SHOULD is probably
the strongest label we can put on it. Consider the case of a middlebox; if
it has no capacity to scale the stream, due to compute or codec
restrictions, there's not much it can do with this request.


> However, whether we can cater for this also depends on the actual technical
> solution for negotiation and which codec to use. If adding video size
> negotiation will not increase complexity too much, I see no reason not to do
> it. However, if it adds much complexity to the solution, we might need to
> consider whether it is worth it. Therefore, maybe it should not be a
> requirement, but something weaker; i.e. it could be phrased as a SHOULD
> rather than a MUST.
>
> Best regards,
> Bert
>
>
> -----Original Message-----
> From: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] On Behalf
> Of Cullen Jennings
> Sent: 22 June 2011 00:11
> To: Aron Rosenberg
> Cc: rtcweb@ietf.org
> Subject: Re: [rtcweb] Changing video size (Re: use case:)
>
>
> On Jun 20, 2011, at 1:30 , Harald Alvestrand wrote:
>
> > On 06/17/11 21:38, Aron Rosenberg wrote:
> >> On Fri, Jun 17, 2011 at 11:09 AM, Cullen Jennings <fluffy@cisco.com>
> wrote:
> >>
> >> Video Size Change.
> >>
> >> Alice and Bob are in a video call in their browsers and have negotiate a
> high resolution video. Bob decides to change the size of the windows his
> browser is displaying video to a small size.  Bob's browser should be able
> to regenerate the video codec parameters with Alice's browser to change the
> resolution of video Alice sends to match the smaller size.
> >>
> >>
> >> Changing compression due to a user change in window size is usually not
> done since it has a bad long term effect on video quality. In almost all the
> major video calling systems, video resolution is a function of current
> bandwidth (which changes as the rate control system detects differences)
> and/or constrained by the physical device, but not a function of a user
> dragging the window size. At an equivalent bitrate, it is better to compress
> a larger resolution and display it smaller (higher PSNR), then compress a
> smaller resolution if you are within the codec's effective bitrate for that
> larger resolution.
>
> Consider two different video flows using the same codec ...
>
> Stream A is 640 x 480 at 1mbps which is this scaled to 320x240 and
> displayed
>
> Stream B is 320 x 240 at 1mbps which is displayed at 320x240.
>
> My experience has been with modern video codecs that stream B will look
> better than stream A. As well as looking better, it will typically also have
> a better PSNR. There's a bunch of reasons why which are probably not worth
> going into here but give it a try and you will see what I mean. The key
> point is both streams where 1mbps. If stream B was sent at 256 kbps, then A
> would look better.
>
>
>
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>