[Cellar] Update specification language: CodecPrivate element MUST be set for H264 in Matroska

guest271314 <guest271314@gmail.com> Sun, 27 December 2020 15:33 UTC

Return-Path: <guest271314@gmail.com>
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 A2BF83A07E8 for <cellar@ietfa.amsl.com>; Sun, 27 Dec 2020 07:33:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.853
X-Spam-Level:
X-Spam-Status: No, score=0.853 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 MhyfLAOJ0HqN for <cellar@ietfa.amsl.com>; Sun, 27 Dec 2020 07:33:49 -0800 (PST)
Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (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 EFB6B3A07C8 for <cellar@ietf.org>; Sun, 27 Dec 2020 07:33:48 -0800 (PST)
Received: by mail-qt1-x831.google.com with SMTP id j26so5507111qtq.8 for <cellar@ietf.org>; Sun, 27 Dec 2020 07:33:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=5nsn2LOi4W2RR9qBJCL5l+JVkpJkHIFagzX1jeVnht0=; b=QovpHmVrj1IxFoRd0+0NrTcY/EKHZdDh7tRQcWa71A8zdL2RE8CjLBnnM+XEHBV4Mw mhYWV7kaFqxe7uaZ3nqXxRuhGr+3vkKVd5ULDWEvrxSWvqd0NPzl8pgwBamPzvEylaOg Ui9spiNd/mlJow3blCNby0BterLNmc/MH629HHZiLGreMkhNpywQ3Dxjq+97o8JBL7lH ol/qv0Mf7R6WpFNTsNVUsrV9O4ouFZ4aXfBbnPZhUK1KL+dVSHbK6sm0idBKiRR3J/6X mGtjm9ZFD6WOy2XaXFyMEGvbxbcWJJUefMDmpH3UWvXVNqexEBgYnhPZ35UxXHs8w2sv tZrg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5nsn2LOi4W2RR9qBJCL5l+JVkpJkHIFagzX1jeVnht0=; b=cGWAt6UN5kKDWGubBNR54cL5IOG3X1eLOp3GudxupnfEve56jkKBjsxU4fecSv+gIa /Hg+isVPf4k3/l2Nz8wOdlQ5A65zZ8FN8GYEoEshyWOT6qV7kZ1UYQeS9BZ8K9qd/ZhU FTZkO1gAafkC1EmGspuASBh4Mf3EdRa+j+JoT69UsD/7zZYIEmRwhEnjVUwEuoppHs4m mI14CFkpJy0O5j1agmztKSkk/Yu6+JiZBIW/PVtW0wT0MdVSVkBafazn83lK3TWHvHdK k1Hx025NJhRFrb1elzm/YmvPLifA/Tf3XfXXS6iRH79+g7JoPwrVtlCYl8SGTeVsPxRt F1GA==
X-Gm-Message-State: AOAM531q8VLJmnnHNpxk+Oyw2YW3NbLUB/9URqkJBU8uFL65ocC1zy/b e1hACdQ/PiqTQsUnc9h4GZqfvDdMrlhKX275Si3iEsXi9NyOeA==
X-Google-Smtp-Source: ABdhPJzknfVipYujmoRrD4a06TQPIXXgvau3xsdg17bgU0sCBN7tMN+Ye64R+vkRvN690oeiwWPV+sliqbw9D9CqczM=
X-Received: by 2002:ac8:7c8e:: with SMTP id y14mr38727327qtv.161.1609083227831; Sun, 27 Dec 2020 07:33:47 -0800 (PST)
MIME-Version: 1.0
From: guest271314 <guest271314@gmail.com>
Date: Sun, 27 Dec 2020 07:33:36 -0800
Message-ID: <CA+syWAOjj2gZQr9NHPk0DvLL3M+4h2BeR_t5+tUmkid_myOZ2Q@mail.gmail.com>
To: cellar@ietf.org
Content-Type: multipart/alternative; boundary="0000000000003581bc05b773e2c6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/8vUqFFDT-Dqu1kc2ZwE_qOBvH8M>
Subject: [Cellar] Update specification language: CodecPrivate element MUST be set for H264 in Matroska
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 27 Dec 2020 15:37:33 -0000

Evidently CodecPrivate element being required/mandatory for H264 in
Matroska container is not clear nor conspicuous enough in the
standard/specification.

Cure that by conspicuously and unambiguously including wording in the
standard/specification that " CodecPrivate element MUST be set for H264 in
Matroska".

References:

https://gitlab.com/mbunkus/mkvtoolnix/-/issues/2986#note_474111881

> Yes, both require & expect it to be present as there's important data
stored there. One could go and assume certain defaults, and that might
actually work for certain files, but not in general. This isn't a bug, nor
a missing feature.

https://gitlab.com/mbunkus/mkvtoolnix/-/issues/2986#note_474135850

> Whether or not certain header elements (not just CodecPrivate) must be
set depends on the video codec. VP8 & VP9 don't require one, for example,
whereas AVC/h.264 & HEVC/h.265 do.

https://gitlab.com/mbunkus/mkvtoolnix/-/issues/2986#note_474137735

> We don't use RFC-style verbiage everywhere yet. The terms "CodecPrivate
contains…" pretty much states that the element is required for decoding.

Issue 1161944: CodecPrivate element is required for H264 in Matroska -
Chrome MediaRecorder does not set the element
https://bugs.chromium.org/p/chromium/issues/detail?id=1161944