Re: [Cellar] CodecIDs for non-standard and unregistered data formats
Steve Lhomme <slhomme@matroska.org> Wed, 26 April 2017 08:58 UTC
Return-Path: <slhomme@matroska.org>
X-Original-To: cellar@ietfa.amsl.com
Delivered-To: cellar@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0528C131A32 for <cellar@ietfa.amsl.com>; Wed, 26 Apr 2017 01:58:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=matroska-org.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F9TqRdrpEgtD for <cellar@ietfa.amsl.com>; Wed, 26 Apr 2017 01:58:49 -0700 (PDT)
Received: from mail-yb0-x234.google.com (mail-yb0-x234.google.com [IPv6:2607:f8b0:4002:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6EF5E131A12 for <cellar@ietf.org>; Wed, 26 Apr 2017 01:58:49 -0700 (PDT)
Received: by mail-yb0-x234.google.com with SMTP id 8so7682307ybw.1 for <cellar@ietf.org>; Wed, 26 Apr 2017 01:58:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=matroska-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=5hWQwLhUQD5rTPiXfiul9yytVMXr7W1N0dOIKDo9y7g=; b=iQxwCyjvoKUBujj7XTsdFCMRRkkVc8Scts9eIGvcvuMBQyBGNAeZz8W/63cK966hjP bZUuA57/DUsmrei++iTcLIPlR3uQTyc7Vi7UK7eCXDDlbI5kHbEjSwspLPAeMLzmmz+R jxaEj8apt5jT9G8sKdD3aBgpsrvJ5SqmyNnOs0s7BU1UF2e7XiGf/ub4WI/ESBxw/3yv M1UI712EZsZv7M+fzjsdYKXsqjONZlBw7dBDisOvNk+rTL85Ig38Dw5YMgULbp6sA01g 2HZiZUfkZ0xerEurdgMbOgtJjpFebbM0NeAdj8AFX36hVHMKD3m7F3XafH+rswsOvsq2 YE/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=5hWQwLhUQD5rTPiXfiul9yytVMXr7W1N0dOIKDo9y7g=; b=H3z7PHxOjkPOwW71YbdW+/DJRUtp+jJya1dn8f5sBnP7lrdMonjqL98foqYeA8wd/Y 5tFNeAX1OpxQihSC5uwi3nEt1iEB1uU1jrUxhm0BZGb4biuM4ga+2hE5v6eGWYkFVo0d ls3WmjWMpVbLChVGN3bk6AKBDtd53DngAFwNPsB9t5pWziUQJPvW0RhVSHD/q5TOBkrg cARqZjgTooD1gDLcKp7HHh4BgZNYUEd8G0GY+2kyJBbSxyWNp7jR5kbDQoJMf+2LwMwS HRV/l4u2KUI1rCtON9J/YfJPBqlMS1khW9UPPM+oD04zv7vQbKxYiDpRWxpLCj8RQtZK tH+w==
X-Gm-Message-State: AN3rC/5Wc2M9SspOWhMs16W+KcaaswX3WGIB34WDnTXTRgZFB5ObqEU6 octPOm4zioPYKlUGXG9Q2WraOLKm3w==
X-Received: by 10.37.173.131 with SMTP id z3mr12963173ybi.64.1493197128241; Wed, 26 Apr 2017 01:58:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.83.4.215 with HTTP; Wed, 26 Apr 2017 01:58:47 -0700 (PDT)
In-Reply-To: <31b2ba89-917f-d614-5688-d86b348a10e9@mediaarea.net>
References: <CAJKCwWj2rZu0OWksLiTvT9E4jjiN6XOHzYGSuUaRbtiXxnbCDQ@mail.gmail.com> <CAOXsMFK4sB=-HN7wWP9ModsHf3czNMq7yHB0izUQehm2A2_7tA@mail.gmail.com> <31b2ba89-917f-d614-5688-d86b348a10e9@mediaarea.net>
From: Steve Lhomme <slhomme@matroska.org>
Date: Wed, 26 Apr 2017 10:58:47 +0200
Message-ID: <CAOXsMFJwcWMF8TZdif_aqUK7VDQQi9oWss5t_995zQSh-RjhBg@mail.gmail.com>
To: Codec Encoding for LossLess Archiving and Realtime transmission <cellar@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/n4yjLnW8pDdSNUtQIWNETUtnUIU>
Subject: Re: [Cellar] CodecIDs for non-standard and unregistered data formats
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Codec Encoding for LossLess Archiving and Realtime transmission <cellar.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cellar>, <mailto:cellar-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cellar/>
List-Post: <mailto:cellar@ietf.org>
List-Help: <mailto:cellar-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cellar>, <mailto:cellar-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Apr 2017 08:58:51 -0000
2017-02-26 17:59 GMT+01:00 Jerome Martinez <jerome@mediaarea.net>: > Le 26/02/2017 à 17:29, Steve Lhomme a écrit : >> >> 2017-02-14 7:46 GMT+01:00 Matt Gruenke <matt.gruenke@gmail.com>: >>> >>> Related to my recent query about TrackTypes for non-standard data >>> formats, >>> I'd like to discuss CodecIDs. I had previously raised this issue, on the >>> matroska-devel list, and was advised to take it up, here. In the >>> interim, >>> my thinking on the matter has evolved. >>> >>> I wonder why not allow IANA Media Types (aka MIME types), as a sub-class >>> of >>> CodecIDs? Of course, the official Matroska CodecID would be preferred, >>> for >>> all formats for which one has been designated. However, this would >>> enable >>> broader use of Matroska files, including for private, >>> application-specific >>> data stream formats. >> >> The main goal of Matroska is multimedia interleaved/timestamped data. >> It's possible to have "complex" track and put in it whatever you want. >> If a timestamp is required. If it's not, using attachment is what you >> want and it already has a MIME type. >> >>> Perhaps a prefix like 'X_MEDIATYPE/' could simply be prepended to media >>> type >>> names conforming with RFC 6838. The value of TrackType would still >>> determine whether video, audio, or any other type-specific elements can >>> be >>> used in such tracks. >> >> Although tempting I think it's better to avoid interleaving all kinds >> of stuff with audio/video. You could want to embed a "video/quicktime" >> but it would not be interleaved, or you'd need to parse/mux the data >> and then it's not a clean "video/quicktime" you get anymore. > > > I don't think this is the point. > Let's imagine we don't have any AVI compatibility layer (for whatever > reason, e.g. lawyers convinced a country that BITMAPINFOHEADER / > WAVEFORMATEX structure are patented), we have no other way for having e.g. > AMR, G719, G729 and so on because it is not defined in native Matroska codec > identifiers, but IANA media types have them (so a muxer could use > "X_MEDIATYPE/audio/G729"). > Consider Matt suggestion as similar to the AVI compatibility layer: this is > just another way to define a codec identifier, also for > interleaved/timestamped video and audio content. > > Right now, I am thinking to TTML fragments (subtitles), instead of defining > any TTML stuff in Matroska specs, "X_MEDIATYPE/application/ttml+xml" could > be used and we rely on > https://www.iana.org/assignments/media-types/application/ttml+xml . > For crazy ideas but we should not forbid crazy ideas :), someone may want to > use PDF as a video format with one PDF page per video frame (similar to > MJPEG), and instead of defining and requesting a "V_PDF" codec identifier, > one would use "X_MEDIATYPE/application/pdf". But if the goal is to be played as a video, it should use the video track type. And so it should probably use a V_SOMETHING name. I don't think there's anything in the specs that forbid using your own V_SOMETHING name. Adding V_MIME/your-mime/here may be a good idea though. > At long term, a potential decision would be to delegate codec identifiers > management to IANA as they already do the job (for RTP and so on) in order > to not duplicate efforts, and use Matroska list only when IANA does not fit > Matroska needs, i.e. why should we care of having a spec about > "V_MPEG4/ISO/AVC" (note: it is not on the codec spec page but a lot used) if > we could rely on "video/H264" registration? (this is theoretical, > "V_MPEG4/ISO/AVC" is already used. but we could do that for upcoming AV1 > defined by IETF). > > Jérôme -- Steve Lhomme Matroska association Chairman
- Re: [Cellar] CodecIDs for non-standard and unregi… Steve Lhomme
- Re: [Cellar] CodecIDs for non-standard and unregi… Steve Lhomme
- [Cellar] CodecIDs for non-standard and unregister… Matt Gruenke
- Re: [Cellar] CodecIDs for non-standard and unregi… Steve Lhomme
- Re: [Cellar] CodecIDs for non-standard and unregi… Jerome Martinez
- Re: [Cellar] CodecIDs for non-standard and unregi… Matt Gruenke
- Re: [Cellar] CodecIDs for non-standard and unregi… Matt Gruenke