Re: [rtcweb] Video resolution SHOULDs (Re: resolutions in draft-cbran-rtcweb-codec-01)

"Roni Even" <ron.even.tlv@gmail.com> Thu, 17 November 2011 11:14 UTC

Return-Path: <ron.even.tlv@gmail.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 E921021F99A8 for <rtcweb@ietfa.amsl.com>; Thu, 17 Nov 2011 03:14:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.573
X-Spam-Level:
X-Spam-Status: No, score=-3.573 tagged_above=-999 required=5 tests=[AWL=0.025, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RcK0OGucUou1 for <rtcweb@ietfa.amsl.com>; Thu, 17 Nov 2011 03:14:12 -0800 (PST)
Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by ietfa.amsl.com (Postfix) with ESMTP id ED0AE21F9B06 for <rtcweb@ietf.org>; Thu, 17 Nov 2011 03:14:11 -0800 (PST)
Received: by ywt34 with SMTP id 34so1049818ywt.31 for <rtcweb@ietf.org>; Thu, 17 Nov 2011 03:14:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:x-mailer:thread-index:content-language; bh=A0S/6vfcXCSeE13pwsdpdM5trVbLbwQE3+4h1wVgAwg=; b=uZE9CwPhG8g7SwweFTjiRWdGQW1M1dCwa0ot1mxe8QcyzeNJVhonEoKkpSX8X8juzW JNuSwPUBRMRMfaqMXOUYOIkeQgtzM+hOwMIX7cjywNBLsGETG+BPxvXg67QGmY01asSD xS0u049iqHxrEvNIPwrWz/3gDgKBCEtIojyNI=
Received: by 10.236.78.72 with SMTP id f48mr8382422yhe.121.1321528451533; Thu, 17 Nov 2011 03:14:11 -0800 (PST)
Received: from windows8d787f9 (dhcp-17b3.meeting.ietf.org. [130.129.23.179]) by mx.google.com with ESMTPS id 36sm7396480anz.2.2011.11.17.03.14.07 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 Nov 2011 03:14:11 -0800 (PST)
From: Roni Even <ron.even.tlv@gmail.com>
To: 'Stephan Wenger' <stewe@stewe.org>, 'Harald Alvestrand' <harald@alvestrand.no>, rtcweb@ietf.org
References: <4EC4CAEE.702@alvestrand.no> <CAEAF771.33E5D%stewe@stewe.org>
In-Reply-To: <CAEAF771.33E5D%stewe@stewe.org>
Date: Thu, 17 Nov 2011 13:11:27 +0200
Message-ID: <4ec4ec83.241a640a.36aa.ffffe226@mx.google.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0066_01CCA52A.6DC331A0"
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: AcylDvCAL637P3RdRMiJRAC4N2vD8wACdswA
Content-Language: en-us
Subject: Re: [rtcweb] Video resolution SHOULDs (Re: resolutions in draft-cbran-rtcweb-codec-01)
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: Thu, 17 Nov 2011 11:14:17 -0000

Stephan,

I think that your point make sense, and I am not sure why to list
resolutions at all (having one that MUST be supported may not be the same
for all devices). Requirement for the max macroblocks per second number can
provide information about what is the maximum resolution that the codec can
support and I think that the other requirement should be that the receiver
must be able to ask for a specific resolution and aspect ratio which is
covered in current SDP.

 

Roni

 

From: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] On Behalf Of
Stephan Wenger
Sent: Thursday, November 17, 2011 11:54 AM
To: Harald Alvestrand; rtcweb@ietf.org
Subject: Re: [rtcweb] Video resolution SHOULDs (Re: resolutions in
draft-cbran-rtcweb-codec-01)

 

The highlighted part of Harald's suggestion below

 

   SHOULD support resolutions of 1920x1080, 1280x720, 720x480, 1024x768,

      800x600, 640x480, 640 x 360 , 320x240 *if these resolutions can be
displayed on the target device*

 

seems sensible.  However, I have another issue.  I don't believe that naming
specific resolutions is advisable.  In a system where the rendering side has
almost undefined picture properties because they are typically rendered in
"windows", it IMO does not make much sense to limit yourself to certain
aspect ratios, picture sizes etc., even if those correspond to today's
preferred sensor resolutions (or integer fractions thereof).  Resampling an
input signal is cheap nowadays (at least compared to the encoding itself),
and cropping is even cheaper.

I would instead recommend naming one single MUST resolution (as the draft
does) to ensure minimum interoperability, and otherwise negotiate a
processing rate in macro blocks per second (or equivalent), with fixed
constraints around the aspect ratio.  Just as what H.264 does in its level
specification.  In fact, if H>264 turns out to be our mandatory codec, then
I would adopt the level spec wholesale.

As for said mandatory resolution, I believe that 320x240 is sooo yesterday.
Even on something like an iPhone, you can do better today.  Who uses 4:3
ratio nowadays?  My vote would go towards something like WQVGA or even WVGA.

Stephan

From: Harald Alvestrand <harald@alvestrand.no>
Date: Thu, 17 Nov 2011 16:50:54 +0800
To: <rtcweb@ietf.org>
Subject: [rtcweb] Video resolution SHOULDs (Re: resolutions in
draft-cbran-rtcweb-codec-01)

 

On 11/17/2011 11:19 AM, Roni Even wrote: 

Hi,

The text in the draft on video codec is

 

o  MUST support a minimum resolution of 320X240

 

o  SHOULD support resolutions of 1280x720, 720x480, 1024x768,

      800x600, 640x480, 640 x 360 , 320x240

 

I propose adding 1920 x 1080 to the SHOULD.  This resolution are used by
video conferencing systems


I think I want to object to making this a SHOULD, but it's possible we just
don't understand the requirement the same way....

The RFC 2119 SHOULD definition says:

3. SHOULD   This word, or the adjective "RECOMMENDED", mean that there
   may exist valid reasons in particular circumstances to ignore a
   particular item, but the full implications must be understood and
   carefully weighed before choosing a different course.

When designing an RTCWEB implementation for my mobile phone, with its
(comparatively) microscopic screen and anemic processor and battery, it
takes approximately zero seconds to decide that I won't waste energy
(literally) on decoding HD; I'll make sure I negotiate down to something
more sane for me if someone's unkind enough to suggest it to me.

I would be happy to write the requirement as

   SHOULD support resolutions of 1920x1080, 1280x720, 720x480, 1024x768, 

      800x600, 640x480, 640 x 360 , 320x240 if these resolutions can be
displayed on the target device





but I would not be happy to just extend the requirement as it is proposed
today.


(Yes, I know, this means that I've turned down-negotiation of video
resolution into a MUST. I think it already is, but I think we haven't talked
explicitly about it.)


 

 

I also assume that there will be a way to negotiate the video parameters (no
issue if we use offer/ answer RFC 3264)

 

Roni Even

 

 

 

 
_______________________________________________
rtcweb mailing list
rtcweb@ietf.orghttps://www.ietf.org/mailman/listinfo/rtcweb

 

_______________________________________________ rtcweb mailing list
rtcweb@ietf.org https://www.ietf.org/mailman/listinfo/rtcweb