Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>: sampling rate
Colin Perkins <csp@csperkins.org> Fri, 24 September 2004 08:47 UTC
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA21176 for <avt-archive@ietf.org>; Fri, 24 Sep 2004 04:47:41 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CAlqw-0005Lp-Vs for avt-archive@ietf.org; Fri, 24 Sep 2004 04:54:55 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CAlc8-000770-LK; Fri, 24 Sep 2004 04:39:36 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CAlbT-0006yA-2p for avt@megatron.ietf.org; Fri, 24 Sep 2004 04:38:55 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA20265 for <avt@ietf.org>; Fri, 24 Sep 2004 04:38:53 -0400 (EDT)
Received: from mr1.dcs.gla.ac.uk ([130.209.249.184]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CAliP-00058m-Lu for avt@ietf.org; Fri, 24 Sep 2004 04:46:06 -0400
Received: from vpn18.dcs.gla.ac.uk ([130.209.254.18]:54839) by mr1.dcs.gla.ac.uk with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.42) id 1CAlas-0005jg-M6; Fri, 24 Sep 2004 09:38:18 +0100
In-Reply-To: <ybur7p8ynaq.fsf@jesup.eng.tvol.net.jesup.eng.tvol.net>
References: <0B08EA1BF5F6304992CDC985EE02209E02342B61@sdebe002.americas.nokia.com> <751B9B52-03EA-11D9-A048-000A957FC5F2@csperkins.org> <ybur7p8ynaq.fsf@jesup.eng.tvol.net.jesup.eng.tvol.net>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Message-Id: <366D9364-0D38-11D9-A100-000A957FC5F2@csperkins.org>
Content-Transfer-Encoding: 7bit
From: Colin Perkins <csp@csperkins.org>
Subject: Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>: sampling rate
Date: Thu, 23 Sep 2004 10:11:46 +0200
To: Randell Jesup <rjesup@wgate.com>
X-Mailer: Apple Mail (2.619)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d8ae4fd88fcaf47c1a71c804d04f413d
Content-Transfer-Encoding: 7bit
Cc: magnus.westerlund@ericsson.com, sassan.ahmadi@nokia.com, avt@ietf.org, Qiaobing.Xie@motorola.com
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group <avt.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
Sender: avt-bounces@ietf.org
Errors-To: avt-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: bdc523f9a54890b8a30dd6fd53d5d024
Content-Transfer-Encoding: 7bit
On 12 Sep 2004, at 09:11, Randell Jesup wrote: > Colin Perkins <csp@csperkins.org> writes: >>> The fact that VMR-WB is capable of processing narrowband (8 kHz) or >>> wideband (16 kHz) media does not have anything to do with its >>> internal >>> sampling frequency. >> >> Exactly. This is why the RTP timestamp rate should be either 8kHz or >> 16kHz, >> depending on the input source. > > Well, this (having the RTP timestamp rate be the sampling > frequency) isn't the case for a number of non-audio RTP streams (such > as > video streams, which typically use 90000 regardless of pixel, line, or > frame rate), so there's precedent for a "fixed" timestamp rate. Video has different timestamp rules, so that doesn't apply. MPEG audio uses a fixed rate, for compatibility with other MPEG content. It's problematic when building a multi-format media tool, since unlike other codecs it doesn't use the sampling rate. > There's no reason all the audio codecs couldn't have used > any value (even 90000); it's convention that it be the sampling rate. > It avoids a multiply/divide to convert a timestamp into a sample-time, > and there's no error involved (which there would be if sample and > timestamps didn't convert cleanly), but that's about it. > > Having timestamp rate be sampling rate can allow implicit > determination of the packetization-interval, but that should be > provided > separately anyways. This implicit packetization-interval only adds > something if the packetization-interval is non-static within a session > (and > most if not all audio codecs disallow that excluding > silence-supression). > > > Not that such things exist currently, but playing devil's > advocate, > one could create a codec that takes a variable-sampling-rate input > depending on current conditions. (Similar to video codecs that vary > the > frame rate, resolution, and/or bitrate within a stream.) Sure, one could. I don't think it would be a good idea though: the convention that the sampling rate equals the timestamp rate is very helpful when building multi-format systems. > The important thing about timestamps is that they provide > *enough* resolution to accurately know when to play the date contained > within. For example, for professional audio work, one might have a > real > need for an N-times multiple of the sample rate. The reason is that > sample rate defines the bandwidth of the signal, but the timing of the > signal required might be tighter, such as if it needs to be mixed with > other streams (especially other higher-bandwidth streams). Back in the > Amiga video days we had a ~1400x480i video mode, even though NTSC > monitors were lucky to show anything approaching 640. The reason was > that fine control of where a signal started (such as the curve of a > 'C') produced better, smoother diagonals and curves. (anti-aliasing of > a sort, if you like.) > > > While I don't see a _need_ for a multi-rate audio codec to use > a fixed timestamp rate, I also don't see a _need_ for the timestamp > rate > to be the sample rate for audio, other than tradition. Perhaps I'm > missing something. It's a very useful convention, not a requirement. I don't see anything in this codec that justifies breaking that convention. Colin _______________________________________________ Audio/Video Transport Working Group avt@ietf.org https://www1.ietf.org/mailman/listinfo/avt
- RE: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… sassan.ahmadi
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Qiaobing Xie
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Magnus Westerlund
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Qiaobing Xie
- RE: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… sassan.ahmadi
- RE: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… sassan.ahmadi
- RE: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… sassan.ahmadi
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Magnus Westerlund
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Qiaobing Xie
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Qiaobing Xie
- RE: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Harinath Garudadri
- RE: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… sassan.ahmadi
- RE: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… sassan.ahmadi
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Colin Perkins
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Colin Perkins
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Colin Perkins
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Colin Perkins
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Colin Perkins
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Colin Perkins
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Colin Perkins
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Colin Perkins
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Qiaobing Xie
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Randell Jesup
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Magnus Westerlund
- [AVT] Open Speech Repository Alan Clark
- RE: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Scribano Gino-QA1087
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Colin Perkins
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Colin Perkins
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Colin Perkins
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Qiaobing Xie
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Magnus Westerlund
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Qiaobing Xie
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Randell Jesup
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Randell Jesup
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Colin Perkins
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Colin Perkins
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Colin Perkins
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Qiaobing Xie
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Qiaobing Xie
- Re: [AVT] RE: <draft-ietf-avt-rtp-vmr-wb-03.txt>:… Randell Jesup