Re: [AVT] Re: Comments on draft-freed-media-types-reg-01.txt

Colin Perkins <csp@csperkins.org> Fri, 24 September 2004 08:42 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 EAA20698 for <avt-archive@ietf.org>; Fri, 24 Sep 2004 04:42:46 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CAlmB-0005Ed-68 for avt-archive@ietf.org; Fri, 24 Sep 2004 04:49:59 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CAlc7-00076e-As; Fri, 24 Sep 2004 04:39:35 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CAlbS-0006xu-Tm 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 EAA20268 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-00058k-Ly 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 1CAlar-0005jg-Kb; Fri, 24 Sep 2004 09:38:17 +0100
In-Reply-To: <01LEQL2HYS4000005R@mauve.mrochek.com>
References: <413DC83F.7070807@ericsson.com> <01LEKW44X2UM00005R@mauve.mrochek.com> <413F03BF.5040407@ericsson.com> <01LEM6VYBBDE00005R@mauve.mrochek.com> <4CDCE53A-03DE-11D9-A048-000A957FC5F2@csperkins.org> <01LEQL2HYS4000005R@mauve.mrochek.com>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Message-Id: <A422E2AC-0D37-11D9-A100-000A957FC5F2@csperkins.org>
Content-Transfer-Encoding: 7bit
From: Colin Perkins <csp@csperkins.org>
Subject: Re: [AVT] Re: Comments on draft-freed-media-types-reg-01.txt
Date: Thu, 23 Sep 2004 10:07:41 +0200
To: ned.freed@mrochek.com
X-Mailer: Apple Mail (2.619)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: a7d2e37451f7f22841e3b6f40c67db0f
Content-Transfer-Encoding: 7bit
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, IETF MIME Types Review List <ietf-types@iana.org>, John C Klensin <klensin@jck.com>, IETF AVT WG <avt@ietf.org>
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: 5ebbf074524e58e662bc8209a6235027
Content-Transfer-Encoding: 7bit

Ned,

On 11 Sep 2004, at 19:21, ned.freed@mrochek.com wrote:
>> On 8 Sep 2004, at 14:59, ned.freed@mrochek.com wrote:
>> >> >> ME3: Section 4.3: Parameters only applicable to a specific 
>> domain
>> >> of
>> >> >> usage? Certain types will be (are) registered for several 
>> domain of
>> >> >> usage, however the different domain may require that different
>> >> >> parameters are used. I can give you an example in RFC 3267 that 
>> has
>> >> >> quite many parameters for RTP usage, but none for the file 
>> format.
>> >> How
>> >> >> is it supposed to be indicated that this is the case?
>> >> >
>> >> >
>> >> > IMO if the parameter space is different the types are different. 
>> I
>> >> don't
>> >> > think it is appropriate to have domain-specific parameters, only
>> >> > type-specific ones.
>> >
>> >> Okay, so registering the RTP payload format and a dedicated file
>> >> format
>> >> for the same codec needs to use two different media types, due to 
>> that
>> >> that they partially needs to have different parameters?
>> >
>> > They most certainly do.
>
>> I'm a little concerned about the strength of this rule. I agree when
>> the parameter space is separate, but I can certainly envisage cases
>> when the parameter space and data format for two different domains 
>> have
>> a very high degree of overlap, and where it makes sense for them to 
>> use
>> the same media type.
>
> Data formats are either the same or they aren't. If they are the same 
> only one
> media type is required. If they aren't then different types are 
> required
> regardless of the disjointness of domains of applicability, the use of 
> the same
> underlying set of codecs, and so on.
>
> Leakage between domains is just too common to relax this rule.

Data formats can be the same, although they have different framing. 
There are several existing examples where we have the same data, using 
the same MIME type, but with different framing for RTP and for the file 
format. I would argue that this is entirely legitimate, and indeed 
required if we're to allow registrations for different domains of 
applicability.

> OTOH, parameters can be optional. I don't much care for it, but I 
> suppose
> there's nothing to prevent you from having a parameter that's optional 
> in some
> contexts and mandatory in others. (This could simply be spelled out in 
> the
> parameter specification language.) However, I would not want to  see 
> language
> prohibiting a particular parameter in some context; IMO this goes too 
> far.
> Having a single parameter with different domain-specific meanings is 
> also
> unacceptable.

Sure.

>> For example, there are several audio codecs where the RTP payload
>> format can be summarised as "put frames into RTP packets in order" and
>> the file format is "put frames into the file in order, following an
>> initial magic number". In both cases there are common parameters:
>> sampling rate, frame duration, and number of channels. However the RTP
>> payload format needs an additional parameter: maximum frame duration
>> (RTP packets have a size limit due to the path MTU, but the file 
>> format
>> supports any frame size). I'm not sure it makes sense to require these
>> to use different media types, since they're clearly the same format
>> applied to different domains, yet the above rule would seem to require
>> it.
>
> And interop problems are likely if files are produced without the 
> magic number
> and software that checks the magic numbers is used. Similarly, 
> treating the
> magic number as audio data could, depending on the codec involved have 
> some
> interesting effects.

Of course, but so what? One clearly needs software that understands the 
format, and if you produce files without the magic number they're not 
conforming.

> Now, nothing says you cannot use a naming convention of some sort to 
> link the
> two types in some way. But IMO they really need to be two different 
> types.

In which case we have two different and separate namespaces, trying to 
share the same registry. This, IMHO, doesn't make sense.

Colin


_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt