Skip to content

Releases: Eyevinn/mp4ff

v0.40.0

01 Nov 08:10
32e0c32
Compare
Choose a tag to compare

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

v0.39.0

13 Oct 09:33
ee5fb46
Compare
Choose a tag to compare

Changed

  • TfraEntry Time and MoofOffset types changed to unsigned
  • TfraEntr attribute name SampleDelta corrected to SampleNumber

Added

  • MediaSegment and Fragment have new StartPos attribute
  • mp4.File now has Mfra pointer
  • MfraBox has new method FindEntry
  • MediaSegment, Fragment, and Trun method CommonSampleDuration
  • Added two MSS UUID constants

Fixed

  • mp4ff-wvttlister works with Unified Streaming wvtt ismt file
  • Fragment.GetFullSamples() allows tfdt to be absent
  • Fragment.GetFullSamples() defaults to offset being moof
  • mp4ff-wvttlister works for Unified Streaming wvtt asset
  • mp4crop now crops elst entries
  • mp4crop now handles multiple sample durations correctly
  • HEVC SPS parsing details

v0.38.1

22 Sep 10:35
77b91dd
Compare
Choose a tag to compare

Fixed

  • ReadMP4File() failed when mfro not present

v0.38.0

06 Sep 10:34
2d8d322
Compare
Choose a tag to compare

Added

  • Loudness boxes ludt, tlou, and alou
  • Description boxes desc, ©cpy, ©nam, ©ART boxes
  • GenericContainerBox struct
  • new DecFileFlags provide option to DecodeFile to look for mfra box

Changed

  • Made ©too use GenericContainerBox
  • SidxBox got new attribute AnchorPoint

Fixed

  • DecodeFile uses sidx or mfra data to find segment boundaries

v0.37.0

14 Aug 14:18
175b940
Compare
Choose a tag to compare

Added

  • Pointer to stpp sample entry in StsdBox
  • Doc strings for pointers in StsdBox

Fixed

  • discard of parsing HEVC SPS data
  • SttsBox.GetSampleNrAtTime now supports a final zero sample duration

v0.36.0

07 Jun 08:45
5b6ec20
Compare
Choose a tag to compare

Changed

  • SEI NAL unit parser reports ErrRbspTrailingBitsMissing error together with NAL units
  • mp4ff-nallister reports error and SEI data when rbsp_trailing_bits are missing
  • AVC SPS HRD parameter name corrected to DpbOutputDelayLengthMinus1

Fixed

  • Add WriteFlag method to SliceWriter interface (present in FixedSliceWriter)
  • Parsing of AVC SEI pic_timing with HRD parameters
  • mp4ff-nallister handles AVC SEI pic_timing with HRD parameters if SPS is present
  • fix error in TimeOffset output of SEI 136

Added

  • Support for SEI message 1 pic_timing for AVC
  • Example combine-segs that shows how to multiplex init and media segments into multi-track segments

v0.34.1

21 Apr 12:35
d5c5e72
Compare
Choose a tag to compare

Fixed

  • Only start new segment at start or styp box

v0.34.0

21 Apr 12:34
e79562e
Compare
Choose a tag to compare

Added

  • New function: mp4.NewMediaSegmentWithStyp()
  • Associate emsg boxes with fragments
  • New Fragment method: AddEmsg()
  • colr box support
  • CHANGELOG.md (this file) instead of Versions.md
  • More tests

Fixed

  • Bugs in FixedSliceReader: ReadUint24 and LookAhead

Changed

  • Optimized translation from Annex B (start-code separated) video byte streams into length-field
    separated one
  • Output of cenc example changed with styp boxes not included
  • ADTS parsing somewhat more robust
  • LastFragment() returns nil if no fragment in Segment
  • Makefile target coverage

v0.35.0

18 Apr 08:43
3213b5a
Compare
Choose a tag to compare

Fixed

  • stpp box handles optional empty lists properly (a single zero byte)
  • AVC slice size value

Added

  • Exported function: bits.CeilLog2
  • PPS parsing for HEVC
  • mp4ff-pslister now provides PPS details for HEVC
  • mp4ff-pslister now extracts inband parameter sets in progressive mp4 files
  • Complete parsing of HEVC SPS extensions
  • Parsing of HEVC slice header
  • SetType method for mp4.AudioSampleEntryBox

v0.33.2

26 Jan 06:23
a47ab74
Compare
Choose a tag to compare
  • restore parsing behavior for non-complete mdat box