Releases: Eyevinn/mp4ff
Releases · Eyevinn/mp4ff
v0.46.0
Fixed
- mvhd, tkhd, and mdhd timestamps were off by one day
- allow other sbgp and sgpd types than seig with senc
Added
- mvhd, tkhd, and mdhd methods to set and get creation and modification times
- Event Message boxes evte, emib, emeb
- GetBtrt method to StsdBox
- Btrt pointer attribute in AudioSampleEnntry
- stpp can be used as value to CreateEmptyTrak
v0.45.1
Added
- Box decoder error messages include start position
Fixed
- Overflow in calculating sample decode time
- elng box errononously did not include full box headers
Recap of v0.45.0
tagged 6 weeks earlier, but only released the same day
Changed
- minimum Go version 1.16.
- ioutil imports replaced by io and os imports
- Info (mp4ff-info) output for esds boxes
- API of descriptors
- Parsing and info output for url boxes
Fixed
- support for parsing of hierarchical sidx boxes
- handling of partially bad descriptors
- handle url boxes missing mandatory zero-ending byte
Added
- support for ssix box
- support for leva box
- details of descriptors as Info outout (mp4ff-info)
v0.45.0
Changed
- minimum Go version 1.16.
- ioutil imports replaced by io and os imports
- Info (mp4ff-info) output for esds boxes
- API of descriptors
- Parsing and info output for url boxes
Fixed
- support for parsing of hierarchical sidx boxes
- handling of partially bad descriptors
- handle url boxes missing mandatory zero-ending byte
Added
- support for ssix box
- support for leva box
- details of descriptors as Info outout (mp4ff-info)
v0.44.0
Added
- New
TryDecodeMfro
function - New
mp4ff-subslister
tool replacingmp4ff-wvttlister
. It supportswvtt
andstpp
File.UpdateSidx()
to update or add a top level sidx box for a fragmented filemp4.DecStartSegmentOnMoof
flag to make the Decoder interpret every moof as
a new segment start, unless styp, sidx, or mfra boxes give that information.- New example
add-sidx
shows how on can add a top-levelsidx
box to a fragmented file.
It further has the option to remove unused encryption boxes, and to interpret each
moof box as starting a new segment. - New method
MoovBox.IsEncrypted()
checks if an encrypted codec is signaled
Fixed
- More robust check for mfro at the end of file
- GetTrex() return value
- Can now write PIFF
uuid
box that has previously been read - Does now avoid the second parsing of
senc
box if the file is ot encrypted as seen in moov box.
Removed
- mp4ff-wvttlister tool removed and replaced by mp4ff-subslister
v0.43.0
Added
- InitSegment.TweakSingleTrakLive changes an init segment to fit live streaming
- Made bits.Mask() function public
- New counter methods added to bits.Reader
- colr box support for nclc and unknown colour_type
- av01, encv, and enca direct pointers in stsd
Changed
- All readers and writers in bits package now stop working at first error and provides the first error as AccError()
- Renamed bits.AccErrReader, bits.AccErrEBSPReader, bits.AccErrWriter to corresponiding names without AccErr
- Renamed bits.SliceWriterError to bits.ErrSliceWrite
- colr box supports unknown colrType
Fixed
- kind box full-box header
- stpp support when the optional fields do not have a zero-termination byte
- mp4ff-wvttlister now lists all boxes in a sample
v0.42.0
v0.41.0
v0.40.2
v0.40.1
v0.40.0
Added
- New CLI app: mp4ff-encrypt to encrypt segments
- New CLI app: mp4ff-decrypt to decrypt segments
- New encyption-related functions in mp4
- GetAVCProtectRanges to fine protection ranges for AVC video
- CryptSampleCenc for encrypting of decrypting with cenc scheme
- EncryptSampleCbcs - for encrypting with cbcs scheme
- DecryptSampleCbcs - for decrypting with cbcs scheme
- InitProtect to protect an init segment
- EncryptFragment to encrypt a fragment
- DecryptInit to extract and remove decryption info from an init segment
- DecryptFragment to decrypt a fragment
- ExtractInitProtect to generate data needed for encryption
- AccErrEBSPReader.NrBitsRead method
- PsshBoxesFromBase64 and PsshBoxesFromBytes functions
Fixed
- SPS.ChromaArrayType method
- Makefile now builds all CLI applications with version