Re: [rtcweb] Tim Panton's choices

Maik Merten <maikmerten@googlemail.com> Mon, 30 December 2013 16:46 UTC

Return-Path: <maikmerten@googlemail.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9378F1AE227 for <rtcweb@ietfa.amsl.com>; Mon, 30 Dec 2013 08:46:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pOFc0bwUfogf for <rtcweb@ietfa.amsl.com>; Mon, 30 Dec 2013 08:46:04 -0800 (PST)
Received: from mail-ea0-x22e.google.com (mail-ea0-x22e.google.com [IPv6:2a00:1450:4013:c01::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 9D5B71AE12A for <rtcweb@ietf.org>; Mon, 30 Dec 2013 08:46:04 -0800 (PST)
Received: by mail-ea0-f174.google.com with SMTP id b10so5167202eae.33 for <rtcweb@ietf.org>; Mon, 30 Dec 2013 08:45:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=2Dykn4lvzXrQmYEx32guV4rqnCYrppD1Kbf1sV6fs14=; b=hBr3PX7DuzS0fjQGoMXSaMi9Q8mSXWKWJkoiWlYHKY2AYL+gFrcUMPZLIIjGwSdtwb zBpLipNBX6UO4w6BSnRSp4p0B4if83OBMJK+8CkJ8ChjkPKwpcF1T9RG41NxxI7iCVcB Hv4l272PN0UQRGxmp2O7XrPGkU1CcbDVR3qbUXWHu5oPgNotIATRJFnTuy1d2a6ML6x3 RhH3HYKsCJrFxtl2tGp9+Y3CvZeURKbEac5jsm3sm6MS0VY9ha35cPvssjjUi2RNcH+l J5VimxWrjvBsOFGE2OIrvO0jmAlYB9N6SVMZ1RxlrfYLXjqxJtya08eSSB04KpjxRlIo d2KQ==
X-Received: by 10.14.202.137 with SMTP id d9mr54777674eeo.23.1388421958127; Mon, 30 Dec 2013 08:45:58 -0800 (PST)
Received: from [192.168.2.109] (port-92-201-68-228.dynamic.qsc.de. [92.201.68.228]) by mx.google.com with ESMTPSA id 4sm110223654eed.14.2013.12.30.08.45.56 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 08:45:57 -0800 (PST)
Message-ID: <52C1A342.3000004@googlemail.com>
Date: Mon, 30 Dec 2013 17:45:54 +0100
From: Maik Merten <maikmerten@googlemail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Tim Panton <tim@phonefromhere.com>, Stephan Wenger <stewe@stewe.org>
References: <CEE6D2AE.3E7E6%stewe@stewe.org> <D6608138-DB4D-42C3-B58D-DF1733B8BC72@phonefromhere.com>
In-Reply-To: <D6608138-DB4D-42C3-B58D-DF1733B8BC72@phonefromhere.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Tim Panton's choices
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
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: Mon, 30 Dec 2013 16:46:06 -0000

I'm not Stephan, but my two cents...

Am 30.12.2013 17:00, schrieb Tim Panton:
> So If I understand that correctly:
> 1) rate control on the older codecs is possible.

Yes.

> 2) rate control is typically separated from the codec itself

Yes.

> 3) rate control is heavily patented

I have no reason to doubt Stephan's expertise there.

> 4) a modern H261 implementation would (mostly) use the same rate control techniques as H264 or VP8

Not necessarily, given how long rate control has been studied and 
implemented.


> which leaves me wondering if selecting H261 wouldn't mean we retain many of the same IPR risks of newer codecs
> but without a licensing authority to go to for fixes/workarounds (or a technical or legal nature). And still
> have a significantly worse visual experience at a given bandwidth than for a modern codec.

 From my POV: The "same IPR risks" is an overestimation. Rate control is 
one aspect of encoder technology that is not essential to the definition 
of the video format itself. VP8 and H.264 bring IPR risks that are 
inherent to the respective formats ("standard-essential patents"). In 
the area of rate control there always should be work-arounds (in worst 
case implement a rate-control scheme from the early 1990ies).


> Seems like the worst of all worlds to me - hopefully I misunderstood.
>
>>> Is there real world experience of how encoders/decoders
>>> respond to halving the available bandwidth (eg when someone walks between
>>> you and the distant wifi ap) during a call?
>>
>> Halving the bandwidth is trivial for H.26x and VPx.  The dynamic range of
>> bandwidth for any of the codecs under discussion (minus MJPEG perhaps) is
>> several orders of magnitude.  Yes, there is such real-world experience and
>> has been since at least 1990 (ISDN MCU implementations, also academic
>> work).
>
> Surely with ISDN the steps were quantized at 64kbps?

If a channel requires fixed increments, the usual way of operation is to 
encode content with a bitrate target slightly below that, and fill out 
the remaining bandwidth ("padding with zeros"). The padding is there to 
deal with the inherent bitrate variability of the video formats. So 
getting those fixed steps actually is additional work.

No codec brought up so far operates in fixed steps as normal mode of 
operation - in fact, the discussed codecs are of variable bitrate in 
nature, due to the nature of their entropy coding backends.