Re: [codec] Conformance with unusual sample rates

John Ridges <jridges@masque.com> Fri, 18 November 2011 22:45 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 DE1D221F8B1E for <codec@ietfa.amsl.com>; Fri, 18 Nov 2011 14:45:00 -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=[AWL=0.000, 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 5Uik0rMTgyQp for <codec@ietfa.amsl.com>; Fri, 18 Nov 2011 14:45:00 -0800 (PST)
Received: from mail.masque.com (mail.masque.com [173.8.226.74]) by ietfa.amsl.com (Postfix) with ESMTP id 0939B21F8B16 for <codec@ietf.org>; Fri, 18 Nov 2011 14:45:00 -0800 (PST)
Received: from [127.0.0.1] (unknown [192.168.1.241]) by mail.masque.com (Postfix) with ESMTP id 207011602A6; Fri, 18 Nov 2011 15:44:57 -0700 (MST)
Message-ID: <4EC6DFE6.3080006@masque.com>
Date: Fri, 18 Nov 2011 15:44:54 -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: Stephan Wenger <stewe@stewe.org>
References: <CAECFA53.34065%stewe@stewe.org>
In-Reply-To: <CAECFA53.34065%stewe@stewe.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: bens@alum.mit.edu, 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 22:45:01 -0000

Well, I'm not a lawyer, but it doesn't seem right that a standard should 
invite you to use the reference implementation in a way that would 
violate its own IPR declarations. It makes me wonder if there are ways 
of inadvertently misusing the codec's API that would do so as well.

John Ridges


On 11/18/2011 3:26 PM, Stephan Wenger wrote:
> Uh.  Scary discussion.
> I believe we may well be unchartered territory here.  Remember the "green
> light / red light" discussion we had here in Taipei?  I'm fairly certain
> that both 16 ms frames and 44.1 kHz sample rate would fail the colored
> lights test, with the text vectors considered today, even if we were
> defining conformance very loosely.  In such a case, I don't think that you
> can necessarily rely with any certainty on the IPR declarations provided.
> Stephan
>
> On 11.19.2011 00:20 , "John Ridges"<jridges@masque.com>  wrote:
>
>> 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
>>>
>> _______________________________________________
>> codec mailing list
>> codec@ietf.org
>> https://www.ietf.org/mailman/listinfo/codec
>
>