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

guest271314 <guest271314@gmail.com> Sun, 27 December 2020 16:47 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 82F5D3A0C2F for <cellar@ietfa.amsl.com>; Sun, 27 Dec 2020 08:47:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.847
X-Spam-Level:
X-Spam-Status: No, score=-1.847 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 h01Z9UwylOYD for <cellar@ietfa.amsl.com>; Sun, 27 Dec 2020 08:47:28 -0800 (PST)
Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (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 B5BBE3A0C2E for <cellar@ietf.org>; Sun, 27 Dec 2020 08:47:28 -0800 (PST)
Received: by mail-qk1-x730.google.com with SMTP id h4so7254262qkk.4 for <cellar@ietf.org>; Sun, 27 Dec 2020 08:47:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=lnmQQA2+NbSJiniyBV4LSSMcbOin3azopIqRe0UISWY=; b=s5oo2XyE3M6ljMas7Yj/L1kJLDKlVvc0hKQ2PoFmZ5SHf5UNEE4KcQWjDwVii/vyt1 WSLoG2tcXpv5xHKs/43YOSlja2GKm3dMLNwuPtEpJoV+G0aIKQoXlWxjm81DDeDTp57G 5hksk2tr0zg1IYWIWqFcWziBEI3X3FBGCqzYZS7H0l8TTMXNQltUkbN2Liiyt1c/j/X3 ngJXkLQbAZiavK7BxKHEKJZwTTWee0LX2LF628Ux0NWDI5bampX2orBX3q6Ey0JwvVwV iONJX/u6/C+iEq4mfBdsdoFy00iu3cqLbLCeNOf7CgVYtqRw7uFXxH8/wABhC1Z8MZRH o1hQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=lnmQQA2+NbSJiniyBV4LSSMcbOin3azopIqRe0UISWY=; b=SmaH40ILpzklGlHkHeybI/5aGbtbh8t8pWCGwtSsB0ekrZDSySZGf/vaSDhpFIePY8 VZtWb7szQ6EZF0Y8vIsY8+WvVe/R68y1Thd/vXHzugzonPv4xAQ6kE2nfUGpVcu5wKuV jJIYtD1ZjssqS39Y1W84e+VrVB/X/nAIIDN+RIPAn/xf0hcGcbz6/2u59Owee4rxGF/7 8wUPHGKqHk6NC9Vmcba9ucH10+BDCygJr5929tTK4LiCs4FUr7Sqwuncz09f5v2Pknqh wFrT+gDhO1ABSxzDwVtBWmj1O75u6yf+haLJthuTzq3qYxHZVnodRFlK9yCX/n34/7Ps ZUtw==
X-Gm-Message-State: AOAM531ryjfzw6EtFIfVHHq0btTWpcSsrBFHRGhwxW91un2rVvgK+Y1w mEpGESfDm5nIdGocbpAkUkx9Lxc5Z+kDgRHk1eLbitJNAhk=
X-Google-Smtp-Source: ABdhPJyIbth8ld2LdIXrIc1vZkFxYcQ4X3gqD1e8F3Vk9EXKI0R3dLZVVe+NhLPW4L3nvX4DUcrJse2qYdJbbRhNwoo=
X-Received: by 2002:a37:9b8d:: with SMTP id d135mr39859503qke.338.1609087647580; Sun, 27 Dec 2020 08:47:27 -0800 (PST)
MIME-Version: 1.0
References: <CA+syWAOjj2gZQr9NHPk0DvLL3M+4h2BeR_t5+tUmkid_myOZ2Q@mail.gmail.com> <0baf7cee-e8f1-7b3f-7312-5ef45342c07e@mediaarea.net> <CA+syWAOmMavHfnCTp2BySqKJaBN=RbcHG365rcQWKuZCT8165Q@mail.gmail.com>
In-Reply-To: <CA+syWAOmMavHfnCTp2BySqKJaBN=RbcHG365rcQWKuZCT8165Q@mail.gmail.com>
From: guest271314 <guest271314@gmail.com>
Date: Sun, 27 Dec 2020 08:47:16 -0800
Message-ID: <CA+syWAODuWExTvXAiJs-v9eA+WbQUN3wFQRpWpR55TxQ-42KdA@mail.gmail.com>
To: cellar@ietf.org
Content-Type: multipart/alternative; boundary="000000000000a586db05b774e947"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/A9u44Mmykd85FH3h4oP2-3nsBR0>
Subject: [Cellar] Fwd: 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 16:47:31 -0000

---------- Forwarded message ---------
From: guest271314 <guest271314@gmail.com>
Date: Sun, Dec 27, 2020 at 8:31 AM
Subject: Re: [Cellar] Update specification language: CodecPrivate element
MUST be set for H264 in Matroska
To: Jerome Martinez <jerome@mediaarea.net>


Do you mean that we should be even more clear in 2 places?
> - in CodecPrivate definition, something like CodecPrivate is mandatory
> if specified as such ("MUST") in the corresponding codec mapping
> specification.
> - in H.264 codec mapping definition, something like The CodecPrivate
> block MUST contain a AVCDecoderConfigurationRecord structure [...]


Yes. That is what the request for updating the standard/specification
states. Evidently that information (wording; language) was not clear enough
for Chrome authors when they implemented H264 encoding in Matroska
container for MediaRecorder.

Since your organization is the authority in this matter it would be helpful
to inform the Chrome authors of their omission of the CodecPrivate element
- otherwise nothing will change and users in the field will still not be
able to extract H264 tracks from the resulting Matroska file that Chrome
MediaRecorder implementation produces when mimeType is set to
'video/x-matroska;codecs=h264' or 'video/x-matroska;codecs=avc1'.

On Sun, Dec 27, 2020 at 8:15 AM Jerome Martinez <jerome@mediaarea.net>
wrote:

> On 27/12/2020 16:33, guest271314 wrote:
> > Cure that by conspicuously and unambiguously including wording in the
> > standard/specification that " CodecPrivate element MUST be set for
> > H264 in Matroska".
>
> CodecPrivate in Matroska general specification is not mandatory, as this
> status depends on the coding format (mandatory for H.264, not mandatory
> for MPEG-2 etc).
>
> From
>
> https://github.com/ietf-wg-cellar/matroska-specification/blob/master/codec_specs.md#v_mpeg4isoavc
> "The Private Data contains a AVCDecoderConfigurationRecord structure,
> [...]"
> This is not the IETF "MUST" but seems clear (affirmative sentence) that
> CodecPrivate is mandatory in the case of the H.264 mapping.
>
> Do you mean that we should be even more clear in 2 places?
> - in CodecPrivate definition, something like CodecPrivate is mandatory
> if specified as such ("MUST") in the corresponding codec mapping
> specification.
> - in H.264 codec mapping definition, something like The CodecPrivate
> block MUST contain a AVCDecoderConfigurationRecord structure [...]
>
> Jérôme
>
>