From 268293667ab1bdaffcd30752a407d687c354e2ff Mon Sep 17 00:00:00 2001 From: Dimitri Podborski Date: Mon, 11 May 2026 17:06:03 -0700 Subject: [PATCH] implement aux info types registration --- data/aux-info-types.csv | 8 ++++++++ scripts/PRsanitycheck.py | 4 ++-- .../registered-types/aux-info-types/page.mdx | 15 +++++++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 data/aux-info-types.csv create mode 100644 src/app/(rest)/registered-types/aux-info-types/page.mdx diff --git a/data/aux-info-types.csv b/data/aux-info-types.csv new file mode 100644 index 0000000..fcdde28 --- /dev/null +++ b/data/aux-info-types.csv @@ -0,0 +1,8 @@ +code,description,specification +cbc1,AES-CBC encryption sample auxiliary information,CENC +cbcs,AES-CBC subsample pattern encryption sample auxiliary information,CENC +cenc,AES-CTR encryption sample auxiliary information,CENC +cens,AES-CTR subsample pattern encryption sample auxiliary information,CENC +stai,TAI timestamp sample auxiliary information,UNCV +suid,Universally unique content identifier per sample auxiliary information,NGA.STND.0076 +sve1,Content sensitive encryption sample auxiliary information,CENC diff --git a/scripts/PRsanitycheck.py b/scripts/PRsanitycheck.py index 73ac83b..a838ba1 100644 --- a/scripts/PRsanitycheck.py +++ b/scripts/PRsanitycheck.py @@ -122,8 +122,8 @@ def duplicatecodes(codes, exceptions=[]): if dupssorted[i][0] not in warned: warned.add(dupssorted[i][0]) print( - "ERROR: '%s' is duplicated in: '%s'" % dupssorted[i][0], - dupssorted[i][3], + "ERROR: '%s' is duplicated in: '%s'" % (dupssorted[i][0], + dupssorted[i][3]), ) dupsame.append([dupssorted[i][0]]) if dupsame != []: diff --git a/src/app/(rest)/registered-types/aux-info-types/page.mdx b/src/app/(rest)/registered-types/aux-info-types/page.mdx new file mode 100644 index 0000000..ecf5a36 --- /dev/null +++ b/src/app/(rest)/registered-types/aux-info-types/page.mdx @@ -0,0 +1,15 @@ +import { DataDisplay } from "@/components"; + +export const metadata = { + title: "Auxiliary Information Types" +}; + +# Auxiliary information types + +Sample auxiliary information provides per-sample metadata that is stored alongside media samples in an ISO base media file format track. The type of auxiliary information is identified by a four-character code (`aux_info_type`) carried in the `SampleAuxiliaryInformationSizesBox` ('saiz') and `SampleAuxiliaryInformationOffsetBox` ('saio'), as defined in ISO/IEC 14496-12. + +The `aux_info_type` determines the format of the auxiliary data. When omitted, its value defaults to the protection scheme type (for encrypted tracks) or the sample entry type. A track may carry multiple streams of auxiliary information distinguished by different `aux_info_type` and `aux_info_type_parameter` values. + +## Registered auxiliary information types + +