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

Jerome Martinez <jerome@mediaarea.net> Sun, 27 December 2020 16:15 UTC

Return-Path: <jerome@mediaarea.net>
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 91CAB3A0BF7 for <cellar@ietfa.amsl.com>; Sun, 27 Dec 2020 08:15:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 kGU9_tflOB6t for <cellar@ietfa.amsl.com>; Sun, 27 Dec 2020 08:15:49 -0800 (PST)
Received: from 1.mo68.mail-out.ovh.net (1.mo68.mail-out.ovh.net [46.105.41.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 57BA33A0BF6 for <cellar@ietf.org>; Sun, 27 Dec 2020 08:15:49 -0800 (PST)
Received: from player728.ha.ovh.net (unknown [10.108.54.230]) by mo68.mail-out.ovh.net (Postfix) with ESMTP id 66DA118265B for <cellar@ietf.org>; Sun, 27 Dec 2020 17:15:47 +0100 (CET)
Received: from mediaarea.net (p548f9a4c.dip0.t-ipconnect.de [84.143.154.76]) (Authenticated sender: jerome@mediaarea.net) by player728.ha.ovh.net (Postfix) with ESMTPSA id B352B196F3D15; Sun, 27 Dec 2020 16:15:44 +0000 (UTC)
Authentication-Results: garm.ovh; auth=pass (GARM-95G0012a085e33-2c0a-4149-95c3-9247e2eaf299, BBADD9AAB17F2EC7E8DDA773C58BBF48E3EE42CD) smtp.auth=jerome@mediaarea.net
X-OVh-ClientIp: 84.143.154.76
To: cellar@ietf.org, guest271314 <guest271314@gmail.com>
References: <CA+syWAOjj2gZQr9NHPk0DvLL3M+4h2BeR_t5+tUmkid_myOZ2Q@mail.gmail.com>
From: Jerome Martinez <jerome@mediaarea.net>
Message-ID: <0baf7cee-e8f1-7b3f-7312-5ef45342c07e@mediaarea.net>
Date: Sun, 27 Dec 2020 17:15:44 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <CA+syWAOjj2gZQr9NHPk0DvLL3M+4h2BeR_t5+tUmkid_myOZ2Q@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Ovh-Tracer-Id: 12912664560437694513
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedujedrvddujedgkeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeflvghrohhmvgcuofgrrhhtihhnvgiiuceojhgvrhhomhgvsehmvgguihgrrghrvggrrdhnvghtqeenucggtffrrghtthgvrhhnpeekhfdvgfeuhffggefhfffhtdehfffhudeuveejtdfgjefgleelueejheetfffgjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppedtrddtrddtrddtpdekgedrudegfedrudehgedrjeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepphhlrgihvghrjedvkedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehjvghrohhmvgesmhgvughirggrrhgvrgdrnhgvthdprhgtphhtthhopegtvghllhgrrhesihgvthhfrdhorhhg
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/MltMCkV8IrEfdAOCY9r-vfwwEQg>
Subject: Re: [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 16:15:52 -0000

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