Re: [codec] Conformance with unusual sample rates

John Ridges <jridges@masque.com> Fri, 18 November 2011 16:20 UTC

Return-Path: <jridges@masque.com>
X-Original-To: codec@ietfa.amsl.com
Delivered-To: codec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 46D9321F8A67 for <codec@ietfa.amsl.com>; Fri, 18 Nov 2011 08:20:51 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21u+ma0vfjoG for <codec@ietfa.amsl.com>; Fri, 18 Nov 2011 08:20:50 -0800 (PST)
Received: from mail.masque.com (mail.masque.com [173.8.226.74]) by ietfa.amsl.com (Postfix) with ESMTP id BF1DB21F88AB for <codec@ietf.org>; Fri, 18 Nov 2011 08:20:50 -0800 (PST)
Received: from [127.0.0.1] (unknown [192.168.1.241]) by mail.masque.com (Postfix) with ESMTP id 4352C1602A6; Fri, 18 Nov 2011 09:20:50 -0700 (MST)
Message-ID: <4EC685E1.3070000@masque.com>
Date: Fri, 18 Nov 2011 09:20:49 -0700
From: John Ridges <jridges@masque.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-Version: 1.0
To: bens@alum.mit.edu
References: <4EC66BAE.9000600@masque.com> <4EC68024.8010308@fas.harvard.edu>
In-Reply-To: <4EC68024.8010308@fas.harvard.edu>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: codec@ietf.org
Subject: Re: [codec] Conformance with unusual sample rates
X-BeenThere: codec@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Codec WG <codec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Fri, 18 Nov 2011 16:20:51 -0000

Thank-you for clarifying that. I also have another application where I 
need to use 16 ms frames and it looks like Opus-custom would allow me to 
do that.

John Ridges

On 11/18/2011 8:56 AM, Benjamin M. Schwartz wrote:
> On 11/18/2011 09:29 AM, John Ridges wrote:
>> Is it possible to create a conforming (and
>> thus unencumbered) Opus codec from the reference implementation that can
>> use a sample rate of, say, 44100 Hz?
> It depends what you mean.
>
> One answer is "no".  Opus always operates at a fixed nominal samplerate of
> 48000 Hz.
>
> Another answer is "yes", because you are of course always free to resample
> your inputs before encoding, and to resample the outputs after decoding.
> If you figure out a way to use less CPU by integrating your resampler into
> the decoder then that's just a trivial implementation detail.
>
> Another answer is "yes, in Opus-custom".  Opus-custom is a
> non-interoperable Opus-derived codec development system, defined as part
> of the Opus standard [1].  Opus-custom can be driven at different
> samplerates, including 44100 Hz.
>
> --Ben
>
> P.S. I do agree that clarifying our text on this point might be helpful.
>
> [1] http://tools.ietf.org/html/draft-ietf-codec-opus-10#section-6.2
>