chore: prepare v0.52.0 release#502
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[0.52.0] - 2026-05-12
Added
--key kid:keyflags (PR feat: enhance key handling to support kid:key pairs and improve decryption logic #490)DecryptSegmentWithKeysandDecryptFragmentWithKeysfunctions in mp4 package formulti-key decryption using KID/key maps. Currently only reads KID from tenc box
(seig sample group entry overrides are not yet supported)
Fragment.ParseSenc()andMediaSegment.ParseSenc()methods to parse senc boxesusing encryption info from a separate init segment
SencBox.IsParsedByGuess()to check if senc was parsed by heuristiciamfsample entry andiacbconfiguration box, including parsing of IAMF OBU headers for info dumpingschm.scheme_type = 'piff')with PIFF TrackEncryption UUID box
8974dbce-7be7-4c51-84f9-7148f9882554.AlgorithmID 1/2 are mapped to cenc/cbcs respectively (issue Support scheme_type
piff#496)Fixed
The perSampleIVSize is now determined with correct priority:
DecodeSencnow delegates toDecodeSencSRremoving duplicated codepreventing incorrect perSampleIVSize selection
mp4.NewPsshBoxnow stores the supplieddataargument on the returnedbox instead of dropping it (issue mp4.NewPsshBox constructor throws away box data #497)
with
mp4ff-encrypt, avoiding IV/keystream reuse across fragments (issue mp4ff-encrypt for cenc does not increment IV between fragments #499)Changed
mp4.EncryptFragmentnow returns(nextIV []byte, err error)so callerscan chain the IV across fragments. Update call sites that previously
captured only the error