From 843be0e933424aadaa2cdb06e248e153a070800d Mon Sep 17 00:00:00 2001 From: Felicia Lim Date: Mon, 17 Jun 2024 16:26:18 -0700 Subject: [PATCH] Specify CENC (#827) * Specify CENC Fix 820 * Apply suggestions from code review Co-authored-by: sunghee-hwang <97494915+sunghee-hwang@users.noreply.github.com> * Clarify full sample encryption shall be used * Reduce protection schemes to cenc and cbcs * Update index.bs --------- Co-authored-by: sunghee-hwang <97494915+sunghee-hwang@users.noreply.github.com> --- index.bs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/index.bs b/index.bs index e425b0a3..7a2e55bd 100644 --- a/index.bs +++ b/index.bs @@ -118,6 +118,9 @@ url: https://www.iso.org/standard/77752.html#; spec: MP4-PCM; type: dfn; text: format_flags text: PCM_sample_size +url: https://www.iso.org/standard/84637.html#; spec: CENC; type: dfn; + text: cenc + text: cbcs
@@ -253,6 +256,12 @@ url: https://www.iso.org/standard/77752.html#; spec: MP4-PCM; type: dfn;
 		"status": "Standard",
 		"publisher": "IETF",
 		"href": "https://tools.ietf.org/html/rfc8486"
+	},
+	"CENC": {
+		"title": "Information technology — MPEG systems technologies - Part 7: Common encryption in ISO base media file format files",
+		"status" : "Standard",
+		"publisher" : "ISO/IEC",
+		"href" : "https://www.iso.org/standard/68042.html"
 	}
 }
 
@@ -1979,7 +1988,7 @@ NOTE: In a typical case, the OBUs in the first [=Descriptors=] of an [=IA Sequen A file conformant to this specification satisfies the following: - It SHALL conform to the normative requirements of [[!ISO-BMFF]]. - It SHALL have the iamf brand among the compatible brands array of the FileTypeBox. -- It SHALL contain at least one track using an [=IASampleEntry=]. +- It SHALL contain at least one track using an [=IASampleEntry=], possibly transformed by encryption as specified in [[#commonencryption]]. - It SHOULD indicate a structural ISOBMFF brand among the compatible brands' array of the FileTypeBox, such as 'iso6'. - It MAY indicate other brands not specified in this specification provided that the associated requirements do not conflict with those given in this specification. @@ -2099,6 +2108,12 @@ NOTE: Per the restriction of the profiles carried in an [=IA Track=], all [=Audi NOTE: In typical cases, when a track contains a single [=IA Sequence=], trimming can only happen at the beginning or the end of the [=IA Sequence=]. Therefore, the edit list can describe the start and end trimming with a single edit entry. A track storing consecutive [=IA Sequence=]s may need multiple edits in the edit list. +## Common Encryption ## {#commonencryption} + +[=IA Track=]s MAY be protected. If protected, they SHALL conform to [[!CENC]] and SHALL be protected using the [=cenc=] or [=cbcs=] protection schemes. + +When the protection scheme [=cenc=] is used, an [=IA Track=] SHALL be protected using full sample encryption. When the protection scheme [=cbcs=] is used, an [=IA Track=] SHALL be protected using whole-block full sample encryption. + ## Codecs Parameter String ## {#codecsparameter} DASH and other applications require defined values for the 'codecs' parameter specified in [[!RFC-6381]] for ISO Media tracks. The codecs parameter string for [=codec_id=] SHALL be: