Skip to content

Releases: Vanilagy/mediabunny

v1.21.0

26 Sep 14:38
93a7503

Choose a tag to compare

  • Added a new alpha video option to the Conversion API for retaining transparency when converting videos
  • Improved Conversion API error messages to be more helpful when missing encoder support
  • Added a new isValid field to Conversion to check if execute() is even able to run
  • Added a new showWarnings field to ConversionOptions to silence console warnings
  • Fixed an incorrect default crop region being used in drawWithFit for rotated video samples (#151)

v1.20.1

26 Sep 08:07
e7c7a82

Choose a tag to compare

  • Fixed udta box being read as string when the field was non-string, fixing out of bounds read (#150)

v1.20.0

25 Sep 13:21
291e7a7

Choose a tag to compare

This update's core new feature is transparent video!

  • Added support for reading and writing transparency data within WebM/Matroska, which uses the new sideData.alpha field in EncodedPacket.
  • Implemented decoding of packets with alpha data, automatically resulting in a VideoSample with a pixel format that support alpha (such as RGBA, BGRA or I420A).
  • Implemented encoding of frames with alpha data, resulting in an EncodedPacket with sideData.alpha populated. Enable this by setting alpha: 'keep' in VideoEncodingOptions.
  • Improved error bubbling when encoding media
  • VideoSample and AudioSample now implement the Disposable interface
  • Fixed crash when reading the header of RF64 WAVE files (#146)

v1.19.1

24 Sep 09:42
0878dd2

Choose a tag to compare

  • Made stripped Node.js import more resilient for certain bundler environments

v1.19.0

22 Sep 20:03
fb0bc07

Choose a tag to compare

  • ID3 metadata can now be read from & written to WAVE files (#110)
  • Added .dispose() to Input, allowing you to immediately stop all ongoing read operations (like HTTP requests) and close all decoders
  • Added fetchFn to UrlSourceOptions, allowing you to polyfill full fetch functionality into environments that otherwise don't have it (such as React Native)
  • BlobSource now also works in environments that don't support Blob.stream() (such as React Native)
  • getRetryDelay is now passed the error of the last fetch call, allowing you to condition retry logic on errors
  • Request instances can now be used to construct UrlSource
  • AVC and HEVC encoders now explicitly throw when being initialized with odd dimensions

v1.18.1

21 Sep 16:52
34c01fb

Choose a tag to compare

  • Fixed build errors in Angular projects

v1.18.0

21 Sep 15:48
de28817

Choose a tag to compare

  • Matroska AttachedFiles can now be read/written via MetadataTags.raw
  • Improved header merging for custom UrlSource requestInit
  • Fixed MP3 frame size calculation issue (#140)

v1.17.3

19 Sep 12:30
a46e9ee

Choose a tag to compare

  • Fixed flaky FLAC metadata reading

v1.17.2

19 Sep 12:04
88f9b64

Choose a tag to compare

  • Fixed faultily written Xing frame in MP3 muxer

v1.17.1

19 Sep 11:21
eb1ce86

Choose a tag to compare

  • Fixed faulty bitrate and frame size calculation when reading some MP3 files (#134)