Re: [codec] Format for the codec specification

Stephan Wenger <stewe@stewe.org> Sat, 25 September 2010 00:52 UTC

Return-Path: <stewe@stewe.org>
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 A0D263A682C for <codec@core3.amsl.com>; Fri, 24 Sep 2010 17:52:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.426
X-Spam-Level:
X-Spam-Status: No, score=-0.426 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, FF_IHOPE_YOU_SINK=2.166]
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 D7EPBbXru4c4 for <codec@core3.amsl.com>; Fri, 24 Sep 2010 17:52:17 -0700 (PDT)
Received: from stewe.org (stewe.org [85.214.122.234]) by core3.amsl.com (Postfix) with ESMTP id 526803A67FA for <codec@ietf.org>; Fri, 24 Sep 2010 17:52:14 -0700 (PDT)
Received: from [192.168.1.105] (unverified [24.5.132.232]) by stewe.org (SurgeMail 3.9e) with ESMTP id 795170-1743317 for multiple; Sat, 25 Sep 2010 02:52:46 +0200
User-Agent: Microsoft-Entourage/12.26.0.100708
Date: Fri, 24 Sep 2010 17:52:38 -0700
From: Stephan Wenger <stewe@stewe.org>
To: Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Message-ID: <C8C295E6.24A78%stewe@stewe.org>
Thread-Topic: [codec] Format for the codec specification
Thread-Index: ActcS/MJ/4uK7ME+ykmPSpGmQ5UbgA==
In-Reply-To: <4C9D0C24.5080302@usherbrooke.ca>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-Originating-IP: 24.5.132.232
X-Authenticated-User: stewe@stewe.org
X-ORBS-Stamp: Your IP (24.5.132.232) was found in the spamhaus database. http://www.spamhaus.net
Cc: codec@ietf.org
Subject: Re: [codec] Format for the codec specification
X-BeenThere: codec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Codec WG <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: Sat, 25 Sep 2010 00:52:19 -0000

I forgot that you are currently working under the BSD license.  Keep it that
way, and I have no concerns on the licensing front, as IETF code components
are under essentially the same license.
Stephan



On 9.24.2010 13:37 , "Jean-Marc Valin" <jean-marc.valin@usherbrooke.ca>
wrote:

> On 10-09-24 03:33 PM, Stephan Wenger wrote:
>> I also think we should make the code normative, as the speech codec people
>> commonly do for their bit-exact encoder/decoder specs.  However, someone
>> will have to explain to me how this can be done without requiring
>> bit-exactness.
> 
> There is no need to mandate bit-exactness. Many codecs are actually
> specified in floating-point. For example, if I'm not mistaken, the
> following codecs have a floating-point reference: MP3, EVRC-A/B, G.719
> (probably others). As far as I know, the spec says how much you can
> deviate from the float reference (not to mention that it's impossible to
> always be bit-exact with a float reference in the first place).
> 
>> If we were deciding to use code as the normative description, then I would
>> prefer to have that code ONLY in a single document.  It may be worthwhile to
>> consider zipping the source code directory, coding it in BASE64, and then
>> copy-pasting it into the RFC.  This way we could overcome many of the
>> shortcomings of putting a large software project into a printout format.  We
>> should check with the AD and the RFC editor first, how they view such a
>> submission.
> 
> I'm not against base64 encoding if the IETF will allow it. We could even
> have a C version of the base64 decoder to make sure that the RFC is
> "self-contained".
> 
>> Finally, it should be clear that the code RFC (as all RFCs) falls under the
>> IETF's copyright and patent policies.  As for the copyright part, people
>> should be aware that the IETF does not allow any other copyright notices but
>> its own in such an RFC.  In other words, if the code maintainers want to
>> make the code available also under a non-IETF license (one of the open
>> source licenses, for example), they a) have to make sure that this license
>> allows for such dual licensing (GPL, for example, does IMO not),
> 
> The BSD license is compatible with the GPL, which means that it is OK,
> to take BSD code, modify it, and then slap a GPL license on top of the
> modified version (without removing the existing BSD license). In
> general, there are many cases of dual licensing involving the GPL. Also,
> note that the code we're talking about has been available under the BSD
> (and not the GPL) right from the start.
> 
> Jean-Marc
> 
>> and b)
>> remove the statements of this license from the code provided to the IETF,
>> and c) (depending on that license) remove the IETF license text from the
>> code provided to the open source repository.  Tedious, but doable, I think.
>> 
>> Stephan
>> 
>> 
>> 
>> 
>> 
>> 
>> On 9.24.2010 12:09 , "Jonathan Rosenberg"<jdrosen@jdrosen.net>  wrote:
>> 
>>> One of the open issues we need to close on - and document in the
>>> guidelines specification - is what the format of our codec specification
>>> deliverable will be.
>>> 
>>> Firstly - one thing is clear - whatever the format is (code or textual
>>> descriptions) - it needs to be in an RFC. Including source code into an
>>> RFC is not ideal, but for purposes of IETF process that is the only
>>> thing we can officially produce. Participants can of course place that
>>> code in any repository they like, and we can even include a link to it
>>> in the RFC. However, the formal normative specification of the codec
>>> must be within a standards track RFC.
>>> 
>>> In terms of whether the specification is code, text, or both - we need
>>> to gain consensus on this. It is my understanding that source code is
>>> ultimately the most exact way to specify the codec. A detailed
>>> description is also included, and in case of conflict, the code would
>>> win. In IETF terms this means that the code is actually the normative
>>> specification.
>>> 
>>> iLBC includes the code itself in an appendix. As such, it would seem to
>>> make sense to follow this precedent. Thus, our deliverable would be a
>>> single document, containing a reasonably detailed codec description,
>>> along with an appendix containing the actual code.
>>> 
>>> Comments?
>>> 
>>> -Jonathan R.
>> 
>> 
>> _______________________________________________
>> codec mailing list
>> codec@ietf.org
>> https://www.ietf.org/mailman/listinfo/codec
>> 
>>