[Cellar] Colour Format proposal
Frank Galligan <frankgalligan@gmail.com> Tue, 05 January 2016 21:12 UTC
Return-Path: <frankgalligan@gmail.com>
X-Original-To: cellar@ietfa.amsl.com
Delivered-To: cellar@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C35BF1A9163 for <cellar@ietfa.amsl.com>; Tue, 5 Jan 2016 13:12:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.701
X-Spam-Level:
X-Spam-Status: No, score=0.701 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 aoSBJY4iU1gZ for <cellar@ietfa.amsl.com>; Tue, 5 Jan 2016 13:12:24 -0800 (PST)
Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (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 ABB851A9125 for <cellar@ietf.org>; Tue, 5 Jan 2016 13:12:24 -0800 (PST)
Received: by mail-oi0-x22f.google.com with SMTP id o62so276627207oif.3 for <cellar@ietf.org>; Tue, 05 Jan 2016 13:12:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=3zs/yLzV4wVqnqpQFmTgYKnNsbZX8ePKVwqIviJi//g=; b=rFj1mtFqHNz+6Fvdpfl+vD7dKSig5qJtb5exdCRhcKN4qmsEFbErtYxswAXtUISedV 1y5J9jGsgAfb2Z0z8AxbaV0kwRvoXzessqTJrIN43fHU+j0e/zFvdiHFgN8cycMLkq8u jtaiUVXIvdpODcIEwsivP2swAnsJe7USVXDv1acWsqa4UzC16k88qHyK/cG1S6R68uBB 6YVhV+93gPyB03m+6SjVa9EEqfOJZxOy1JXnuhQmyn1iDEVDlETKIX8ziyiloUBQ1SV6 djuO17QGyfjO2cVLUcIqkN2/VFOCqU/n8V9/Wl+fJT5NabREB7i7FTo8KJVaePgpvuu4 eH+Q==
MIME-Version: 1.0
X-Received: by 10.202.85.7 with SMTP id j7mr64705483oib.11.1452028344057; Tue, 05 Jan 2016 13:12:24 -0800 (PST)
Received: by 10.202.211.65 with HTTP; Tue, 5 Jan 2016 13:12:24 -0800 (PST)
Date: Tue, 05 Jan 2016 13:12:24 -0800
Message-ID: <CAJGH+UuSn8O04HR1=L+b1=ouwgPd=n+xYFQZmTXqs8buZ-Wdrg@mail.gmail.com>
From: Frank Galligan <frankgalligan@gmail.com>
To: cellar@ietf.org
Content-Type: multipart/alternative; boundary="001a113cc1a2a6c58305289cb15e"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cellar/sZyfPTM-QY69P-0omfOIiTN622o>
Cc: Discussion about the current and future development of Matroska <matroska-devel@lists.matroska.org>
Subject: [Cellar] Colour Format proposal
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.15
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: Tue, 05 Jan 2016 21:13:20 -0000
Hello all, I would like to bring up the discussion again about better representing the color format of video. It looks like the discussion was started here [1] on matroska-devel list. I think we need to add some Colour elements so Matroska files can (potentially) more faithfully represent the video source on many devices. Here is a proposal I created to start from: Element Name: Colour Level: 4 ID: [55][A0] Mandatory: - Multiple: - Default: - Type: m Description: Settings describing the colour format. Element Name: ColourMatrix Level: 5 ID: [55][A1] Mandatory: ma Multiple: - Default: 2 Type: u Description: ColourMatrix of the video. (0: IEC 61966-2-1 (sRGB), 1: BT709, 2: Unspecified, 3: Reserved, 4: FCC, 5: BT470BG, 6: SMPTE 170M, 7: SMPTE 240M, 8: YCOCG, 9: BT2020 Non-constant Luminance, 10: BT2020 Constant Luminance) Element Name: BitsPerChannel Level: 5 ID: [55][A2] Mandatory: ma Multiple: - Default: 8 Type: u Description: Number of bits per channel. This number may be less for specific channels depending on the ColourFormat and ChromaSubsampling. Element Name: ChromaSubsampling Level: 5 ID: [55][A3] Mandatory: ma Multiple: - Default: 0 Type: u Description: (0: 4:2:0, 2: 4:2:2, 4: 4:4:4) Element Name: ColourRange Level: 5 ID: [55][A4] Mandatory: ma Multiple: - Default: 1 Type: u Description: (0: Unspecified, 1: Defined by ColourMatrix/TransferFunction, 2: Full range) Element Name: TransferFunction Level: 5 ID: [55][A6] Mandatory: ma Multiple: - Default: 2 Type: u Description: Transfer Function. (0: Reserved, 1: ITU-R BT.709, 2: Unspecified, 4: Gamma 2.2 curve, 5: Gamma 2.8 curve, 6: SMPTE 170M, 7: SMPTE 240M, 8: Linear, 9: Log, 10: Log Sqrt, 11: IEC 61966-2-4, 12: ITU-R BT.1361 Extended Colour Gamut, 13: IEC 61966-2-1, 14: ITU-R BT.2020 10 bit, 15: ITU-R BT.2020 12 bit, 16: SMPTE ST 2084, 17: SMPTE ST 428-1 18: ARIB STD-B67 (HLG)) Element Name: Primaries Level: 5 Mandatory: - Multiple: - ID: [55][A7] Default: 2 Description: (0: Reserved, 1: ITU-R BT.709, 2: Unspecified, 4: ITU-R BT.470M, 5: ITU-R BT.470BG, 6: SMPTE 170M, 7: SMPTE 240M, 8: FILM, 9: ITU-R BT.2020, 10: SMPTE ST 428-1) Element Name: MaxCLL Level: 5 ID: [55][A8] Mandatory: - Multiple: - Default: - Type: u Description: Maximum brightness of a single pixel in candelas per square meter (cd/m²). Element Name: MaxFALL Level: 5 ID: [55][A9] Mandatory: - Multiple: - Default: - Type: u Description: Maximum brightness of a single full frame in candelas per square meter (cd/m²). Element Name: MasteringMetadata Level: 5 ID: [55][B0] Mandatory: - Multiple: - Default: - Type: m Description: SMPTE 2086 mastering data. Element Name: PrimaryRChromaticityX Level: 6 ID: [55][B1] Mandatory: - Multiple: - Default: - Type: f Description: Valid value is in the range 0 <= f <= 1. Element Name: PrimaryRChromaticityY Level: 6 ID: [55][B2] Mandatory: - Multiple: - Default: - Type: f Description: Valid value is in the range 0 <= f <= 1. Element Name: PrimaryGChromaticityX Level: 6 ID: [55][B3] Mandatory: - Multiple: - Default: - f Description: Valid value is in the range 0 <= f <= 1. Element Name: PrimaryGChromaticityY Level: 6 ID: [55][B4] Mandatory: - Multiple: - Default: - Type: f Description: Valid value is in the range 0 <= f <= 1. Element Name: PrimaryBChromaticityX Level: 6 ID: [55][B5] Mandatory: - Multiple: - Default: - f Description: Valid value is in the range 0 <= f <= 1. Element Name: PrimaryBChromaticityY Level: 6 ID: [55][B6] Mandatory: - Multiple: - Default: - Type: f Description: Valid value is in the range 0 <= f <= 1. Element Name: WhitePointChromaticityX Level: 6 ID: [55][B7] Mandatory: - Multiple: - Default: - Type: f Description: Valid value is in the range 0 <= f <= 1. Element Name: WhitePointChromaticityY Level: 6 ID: [55][B8] Mandatory: - Multiple: - Default: - Type: f Description: Valid value is in the range 0 <= f <= 1. Element Name: LuminanceMax Level: 6 ID: [55][B9] Mandatory: - Multiple: - Default: - Type: f Description: Maximum luminance. Shall be represented in candelas per square meter (cd/m²). Valid value is in the range 0 <= f <= 9999.99 Element Name: LuminanceMin Level: 6 ID: [55][BA] Mandatory: - Multiple: - Default: - Type: f Description: Minimum luminance. Shall be represented in candelas per square meter (cd/m²). Valid value is in the range 0 <= f <= 999.9999 I can post a link to a formatted document if that would be easier. For Matrix, Range, and Primaries, I'm pretty much using values that map directly to values defined in FFmpeg. Thanks, Frank [1] http://lists.matroska.org/pipermail/matroska-devel/2015-September/004778.html
- [Cellar] Colour Format proposal Frank Galligan
- Re: [Cellar] Colour Format proposal Timothy B. Terriberry
- Re: [Cellar] [Matroska-devel] Colour Format propo… Michael Bradshaw
- Re: [Cellar] Colour Format proposal Dave Rice
- Re: [Cellar] Colour Format proposal Jerome Martinez
- Re: [Cellar] [Matroska-devel] Colour Format propo… Jerome Martinez
- Re: [Cellar] Colour Format proposal Michael Niedermayer
- Re: [Cellar] Colour Format proposal Frank Galligan
- Re: [Cellar] [Matroska-devel] Colour Format propo… Frank Galligan
- Re: [Cellar] Colour Format proposal Frank Galligan
- Re: [Cellar] Colour Format proposal Frank Galligan
- Re: [Cellar] Colour Format proposal Jerome Martinez
- Re: [Cellar] Colour Format proposal Peter B.
- Re: [Cellar] Colour Format proposal Jerome Martinez
- Re: [Cellar] Colour Format proposal Dave Rice
- Re: [Cellar] Colour Format proposal Steve Lhomme
- Re: [Cellar] Colour Format proposal Frank Galligan
- Re: [Cellar] [Matroska-devel] Colour Format propo… Dave Rice
- Re: [Cellar] [Matroska-devel] Colour Format propo… Steve Lhomme
- Re: [Cellar] [Matroska-devel] Colour Format propo… Frank Galligan
- Re: [Cellar] [Matroska-devel] Colour Format propo… Frank Galligan
- Re: [Cellar] Colour Format proposal Jerome Martinez
- Re: [Cellar] Colour Format proposal Frank Galligan
- Re: [Cellar] Colour Format proposal Frank Galligan
- Re: [Cellar] [Matroska-devel] Colour Format propo… Dave Rice
- Re: [Cellar] [Matroska-devel] Colour Format propo… Jerome Martinez
- Re: [Cellar] [Matroska-devel] Colour Format propo… Steve Lhomme
- Re: [Cellar] Colour Format proposal Peter B.
- Re: [Cellar] [Matroska-devel] Colour Format propo… Frank Galligan
- Re: [Cellar] [Matroska-devel] Colour Format propo… Dave Rice
- Re: [Cellar] [Matroska-devel] Colour Format propo… Frank Galligan
- Re: [Cellar] [Matroska-devel] Colour Format propo… Frank Galligan
- Re: [Cellar] Colour Format proposal Reto Kromer
- Re: [Cellar] [Matroska-devel] Colour Format propo… Frank Galligan
- Re: [Cellar] [Matroska-devel] Colour Format propo… Frank Galligan
- Re: [Cellar] [Matroska-devel] Colour Format propo… Dave Rice
- Re: [Cellar] [Matroska-devel] Colour Format propo… Michael Niedermayer
- Re: [Cellar] [Matroska-devel] Colour Format propo… Frank Galligan
- Re: [Cellar] [Matroska-devel] Colour Format propo… Steve Lhomme
- Re: [Cellar] [Matroska-devel] Colour Format propo… Frank Galligan
- Re: [Cellar] [Matroska-devel] Colour Format propo… Reto Kromer
- Re: [Cellar] [Matroska-devel] Colour Format propo… Steve Lhomme
- Re: [Cellar] [Matroska-devel] Colour Format propo… Dave Rice
- Re: [Cellar] [Matroska-devel] Colour Format propo… Steve Lhomme
- Re: [Cellar] Colour Format proposal Kieran O Leary
- Re: [Cellar] Colour Format proposal Kieran O Leary
- Re: [Cellar] Colour Format proposal Dave Rice
- Re: [Cellar] Colour Format proposal Dave Rice