Re: [codec] Format for the codec specification

Jonas Svedberg <jonas.svedberg@ericsson.com> Tue, 28 September 2010 13:00 UTC

Return-Path: <jonas.svedberg@ericsson.com>
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 1C65C3A6AED for <codec@core3.amsl.com>; Tue, 28 Sep 2010 06:00:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.309
X-Spam-Level:
X-Spam-Status: No, score=-2.309 tagged_above=-999 required=5 tests=[AWL=-0.290, BAYES_40=-0.185, FF_IHOPE_YOU_SINK=2.166, RCVD_IN_DNSWL_MED=-4]
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 utRnZgbrhdoU for <codec@core3.amsl.com>; Tue, 28 Sep 2010 06:00:09 -0700 (PDT)
Received: from mailgw9.se.ericsson.net (mailgw9.se.ericsson.net [193.180.251.57]) by core3.amsl.com (Postfix) with ESMTP id 6CA803A6ABA for <codec@ietf.org>; Tue, 28 Sep 2010 06:00:09 -0700 (PDT)
X-AuditID: c1b4fb39-b7c6dae000006ad7-20-4ca1e701b6db
Received: from esessmw0256.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw9.se.ericsson.net (Symantec Mail Security) with SMTP id 49.6A.27351.107E1AC4; Tue, 28 Sep 2010 15:00:49 +0200 (CEST)
Received: from ESESSCMS0356.eemea.ericsson.se ([169.254.1.175]) by esessmw0256.eemea.ericsson.se ([10.2.3.125]) with mapi; Tue, 28 Sep 2010 15:00:48 +0200
From: Jonas Svedberg <jonas.svedberg@ericsson.com>
To: Marshall Eubanks <tme@americafree.tv>
Date: Tue, 28 Sep 2010 15:00:47 +0200
Thread-Topic: [codec] Format for the codec specification
Thread-Index: Actc7DVUUhzGdk9mQRiXIg3YnlSqbwCDgf4g
Message-ID: <DEAE495523C8F140A875D22C7C59D31902BE95DE@ESESSCMS0356.eemea.ericsson.se>
References: <C8C24B29.24A5A%stewe@stewe.org> <4C9D0C24.5080302@usherbrooke.ca> <D97F32B4-9F12-45DE-A390-EF85C90FF36D@americafree.tv>
In-Reply-To: <D97F32B4-9F12-45DE-A390-EF85C90FF36D@americafree.tv>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: "codec@ietf.org" <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: Tue, 28 Sep 2010 13:00:11 -0000

Hi all

 If I understand Marshall's point correctly, the Trust Legal Provisions indicates something regarding publishing,   which is not completely clear in the current guidelines draft.

 
In the proposed guidelines <http://www.ietf.org/id/draft-valin-codec-guidelines-06.txt> page 10, it is now stated:

"  5.  In accordance with BCP 78 [TRUST], the source code for the
       reference implementation must be made available under a BSD-style
       license (or whatever license is defined as acceptable by the IETF
       Trust when the Internet-Draft defining the reference
       implementation is published)."

To me it seems as the final point Marshall made:
   "the code on published RFCs has to have the BSD license."

,is a clearer and stricter wording than what is present in the current proposed guidelines, which uses the looser term "BSD-style", and further leaves other options open (in the parenthesis), and therefore makes the publishing directions in the guidelines quite unclear, to the developers. 
 
With this observation in mind it seems as the Guidelines publishing related section should be updated. 

--
 
With regard to  formats and publishing in general, 
  is there any precedence in IETF of having, the WG output split into several entities/specs ? 
   (e.g sending side/receiving side or impl.A-fix/impl.B-Float)  

   e.g. One could imagine having the receiving side definitions specified in one RFC, and the sending side definitions as another RFC, 
   or even leave the sending side unspecified within IETF(e.g. as  a separate open source project, which would then mainly take care of sending side code maintenance, assuming that maintenance issues on the sending side are much more frequent than on the receiving side).  



//BR Jonas


-----Original Message-----
From: codec-bounces@ietf.org [mailto:codec-bounces@ietf.org] On Behalf Of Marshall Eubanks
Sent: den 25 september 2010 21:52
To: Jean-Marc Valin
Cc: codec@ietf.org
Subject: Re: [codec] Format for the codec specification


On Sep 24, 2010, at 4:37 PM, Jean-Marc Valin 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.

Correct.

>>  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.

Correct

>>  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.

You are certainly free to do that on your own, but under the current Trust Legal Provisions

http://trustee.ietf.org/docs/IETF-Trust-License-Policy.pdf

the code on published RFCs has to have the BSD license.

Regards
Marshall


> 
> 	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
>> 
>> 
> _______________________________________________
> codec mailing list
> codec@ietf.org
> https://www.ietf.org/mailman/listinfo/codec
> 

_______________________________________________
codec mailing list
codec@ietf.org
https://www.ietf.org/mailman/listinfo/codec