Re: [codec] WG Review: Internet Wideband Audio Codec (codec)

Gregory Maxwell <gmaxwell@juniper.net> Tue, 05 January 2010 18:14 UTC

Return-Path: <gmaxwell@juniper.net>
X-Original-To: codec@core3.amsl.com
Delivered-To: codec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 83A3428C108; Tue, 5 Jan 2010 10:14:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wb7rbd8wnX3H; Tue, 5 Jan 2010 10:14:03 -0800 (PST)
Received: from exprod7og110.obsmtp.com (exprod7og110.obsmtp.com [64.18.2.173]) by core3.amsl.com (Postfix) with SMTP id 8195F28C154; Tue, 5 Jan 2010 10:13:56 -0800 (PST)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob110.postini.com ([64.18.6.12]) with SMTP ID DSNKS0OBX2WyV9xcQqp7kaWxcJFNHrAGFWtW@postini.com; Tue, 05 Jan 2010 10:14:01 PST
Received: from EMBX01-HQ.jnpr.net ([fe80::c821:7c81:f21f:8bc7]) by P-EMHUB03-HQ.jnpr.net ([fe80::a124:1ab1:8e0b:f671%11]) with mapi; Tue, 5 Jan 2010 10:13:01 -0800
From: Gregory Maxwell <gmaxwell@juniper.net>
To: Richard Shockey <richard@shockey.us>, 'Phillip Hallam-Baker' <hallam@gmail.com>, 'Mans Nilsson' <mansaxel@besserwisser.org>
Date: Tue, 05 Jan 2010 10:13:00 -0800
Thread-Topic: [codec] WG Review: Internet Wideband Audio Codec (codec)
Thread-Index: AcqOKRm7b40A3z/uSkGpB/g8eSoFkgABbEmwAACGNJU=
Message-ID: <BCB3F026FAC4C145A4A3330806FEFDA93A55112524@EMBX01-HQ.jnpr.net>
References: <4b33100a.01135e0a.2ab9.ffff8e9b@mx.google.com> <3D3C75174CB95F42AD6BCC56E5555B450204C143@FIESEXC015.nsn-intra.net> <20091223171501.7BAE33A697D@core3.amsl.com> <14093.1261593597@epsilon.noi.kre.to> <14853.1261600779@epsilon.noi.kre.to> <2401.1261648036@epsilon.noi.kre.to> <4b3373d7.02135e0a.241a.fffffb62@mx.google.com> <a123a5d60912241926l6f2255e3kc15d1d21573adeb9@mail.gmail.com> <B67FB114-FDA9-4431-A2E2-6ACF344B2EA7@cisco.com> <20100104214338.GF16373@besserwisser.org> <a123a5d61001041448q7bead803h78ca0573aff452da@mail.gmail.com>, <00e201ca8e2f$24858e20$6d90aa60$@us>
In-Reply-To: <00e201ca8e2f$24858e20$6d90aa60$@us>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "codec@ietf.org" <codec@ietf.org>, 'Patrik Fältström' <paf@cisco.com>, "iesg@ietf.org" <iesg@ietf.org>, "kre@munnari.oz.au" <kre@munnari.oz.au>, "ietf@ietf.org" <ietf@ietf.org>
Subject: Re: [codec] WG Review: Internet Wideband Audio Codec (codec)
X-BeenThere: codec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Should the IETF standardize wideband Internet codec\(s\)? " <codec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/codec>, <mailto:codec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/codec>
List-Post: <mailto:codec@ietf.org>
List-Help: <mailto:codec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/codec>, <mailto:codec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Jan 2010 18:14:04 -0000

Richard Shockey [richard@shockey.us] wrote:
>>  I can see the motivation to pay big bucks for video codecs. Using
>>  Mpeg4 can reduce your bandwidth costs and save real money. I can see
>>  why there was a big incentive to save money on audio codecs in the
>>  1990s.
>>  At this point an audio codec is going to have to save a huge amount ot
>>  bandwidth to be worth the hassle, let alone the cost of using
>>  encumbered technology.
> Its not about the bandwidth. Its about the quality of the voice in
> occasionally lossy networks landline or mobile.

"full quality" mono audio takes around 44.1/16bit linear, you can argue that a little higher or lower is required for full transparency in some conditions or another, but 44.1k/16 is what CDDA provides. It's a good number and commonly available on hardware today.

As uncompressed thats 705kbit/sec before you get into packetization overhead.  Thats per-communication channel, each way. A good perceptual lossy codec can get you down to under 100kbit/sec while preserving transparency for most material, with most listeners, most of the time. 

Networks have improved a lot. It actually is viable to send uncompressed CDDA across many wide-area networks today, at least in small amounts,  but I think we're a long way from when compression doesn't have considerable advantages, even for audio.  I think it would be fair to say that networks have become fast enough other considerations such as error robustness, perceived-transparency,  computational cost, latency, licensing considerations, etc.  are now often more important than the absolute minimization of bandwidth. but savings on the order of 8-12 : 1 are not something which can be ignored. 

8-12:1 is still a material difference in capacity and cost.   Audio is cheaper now relative to the network, but that just means we can do more of it: More quality, more capacity.

Moreover, every bit wasted on uncompressed audio could instead be spent on additional redundancy.   In a bandwidth plentiful model I'd much rather run a 128kbit/sec/ch codec sending each packet three times than a 705kbit/sec lossless stream.