Repository navigation
0.0.3
Added
- Implemented a minimal internal bitreader to inspect HEVC slice headers at bit level.
- Added best-effort detection of
first_slice_segment_in_pic_flagfor HEVC VCL NAL units, enabling Access Unit (AU) boundary inference when AUD is missing. - Introduced fallback AU mapping logic based on slice header inspection for streams without AUD (NAL type 35).
- Improved AU association for parameter sets and SEI NALs occurring before the first VCL, assigning them to a practical default AU.
- Added bilingual (ES/EN) error messages in several critical validation paths for better usability across environments.
Changed / Improved
-
Refactored
compute_au_map()to support dual AU detection strategies:- Primary: explicit AUD (NAL type 35).
- Fallback: HEVC slice header analysis when AUD is absent.
-
Enhanced robustness of Access Unit mapping to better handle non-standard or poorly muxed HEVC streams.
-
Improved error handling and messaging consistency across commands (
info,extract,remove,inject). -
Clarified failure conditions when AUD is required but not present, using explicit and descriptive error messages.
-
Improved internal structure and readability of AU mapping logic, preparing the codebase for future HEVC-related extensions.
Fixed
- Corrected AU mapping behavior when VCL NALs appear before any AUD or when AUDs are partially missing.
- Fixed handling of empty or invalid BIN files with clear termination and user-facing error messages.
- Prevented silent failures in matplotlib import by providing explicit diagnostic output.
- Ensured consistent validation of HDR Vivid payloads during BIN injection to prevent invalid cc/pc data from being processed.