-
Notifications
You must be signed in to change notification settings - Fork 364
feat: Support ISO/IEC 23008-12 AMD2 boxes #513
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
base: main
Are you sure you want to change the base?
Conversation
This PR can wait till more final specification stages if syntax conformance is more important than early support. |
Fell free to suggest changes. The implementation somewhat differs from the existing boxes. |
Hi, thank you for the PR. There is an ongoing effort for a bit reader class at the PR linked below. We may wait for that before merging this. |
That is fine. Alternatively this PR can be merged with It would be much more convenient if |
I am happy to use the The I use this when reading and writing the DVB |
The current implementation of If
I am happy with any approach, as long as I do not have to read bytes and handle bit fiddling manually (especially across bytes). |
Description
Add support for the boxes specified in ISO/IEC 23008-12:2025/DAmd 2 "Information technology — High efficiency coding and media delivery in heterogeneous environments — Part 12: Image File Format — Amendment 2: Low-overhead image file format":
MinimizedImageBox
(new box)PixelInformationProperty
(existing box, new syntax introduced whenflags
=1)ContentColourVolumeBox
(existing box, its syntax is reused inMinimizedImageBox
)AmbientViewingEnvironmentBox
(existing box, its syntax is reused inMinimizedImageBox
)NominalDiffuseWhite
(existing box, its syntax is reused inMinimizedImageBox
)ReferenceViewingEnvironment
(existing box, its syntax is reused inMinimizedImageBox
)FileTypeBox
(existing box,minor_version
field semantics extended in ISO/IEC FDIS 14496-12/DAmd 1 "Information technology — Coding of audio-visual objects — Part 12: ISO base media file format — Amendment 1: Tools for enhanced CMAF and DASH integration" and relied upon byMinimizedImageBox
)The
BitStream
class is introduced as aMultiBufferStream
wrapper for easier bit parsing.