Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add note for encryption description limit #195

Merged
merged 5 commits into from
Mar 4, 2024
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Metadata Order: This version, !*, *
<pre class="anchors">
url: https://www.iso.org/standard/68960.html#; spec: ISOBMFF; type: dfn;
cconcolato marked this conversation as resolved.
Show resolved Hide resolved
text: VisualSampleEntry
text: Sample Auxiliary Information

url: https://www.iso.org/standard/68960.html#; spec: ISOBMFF; type: property;
text: bitr
Expand All @@ -29,6 +30,7 @@ url: https://www.iso.org/standard/68960.html#; spec: ISOBMFF; type: property;
text: pasp
text: sgpd
text: stsd
text: saiz

url: https://www.webmproject.org/vp9/mp4/#; spec: VP9; type: property;
text: SmDm
Expand Down Expand Up @@ -619,6 +621,8 @@ Within protected samples, the following constraints apply:
- <assert>A subsample SHALL be created for each tile that has a <code>decode_tile</code> structure whose size (including any trailing bits) is larger or equal to 16 bytes</assert>. <assert>If it is less than 16 bytes, per the rules above, the <code>decode_tile</code> structure is not encrypted and the corresponding bytes SHOULD be included in the [=BytesOfClearData=] field of a surrounding subsample, if any</assert>.
- <assert>All other parts of [=Tile Group OBUs=] and [=Frame OBUs=] SHALL be unprotected <span hidden>for cenc</span></assert>.

NOTE: Version 0 of the 'saiz' box as defined in [[ISOBMFF]] can only describe [=Sample Auxiliary Information=] whose size does not exceed 255 bytes. In the case of AV1 streams that use a large number of tiles or a large number of frames per sample, when following the encryption requirements defined in this section the size of the corresponding Sample Auxiliary Information may exceed that limit. Until updates are made to [[ISOBMFF]], authors are encouraged to avoid reaching the limit.

Subsample Encryption Illustration {#subsample-encryption-illustration}
------------------
Figure #1 illustrates Subsample based encryption of AV1.
Expand Down
Loading