Releases: Vanilagy/mediabunny
Releases · Vanilagy/mediabunny
v1.21.0
- Added a new
alphavideo 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
isValidfield toConversionto check ifexecute()is even able to run - Added a new
showWarningsfield toConversionOptionsto silence console warnings - Fixed an incorrect default crop region being used in
drawWithFitfor rotated video samples (#151)
v1.20.1
v1.20.0
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.alphafield inEncodedPacket. - Implemented decoding of packets with alpha data, automatically resulting in a
VideoSamplewith a pixel format that support alpha (such as RGBA, BGRA or I420A). - Implemented encoding of frames with alpha data, resulting in an
EncodedPacketwithsideData.alphapopulated. Enable this by settingalpha: 'keep'inVideoEncodingOptions. - Improved error bubbling when encoding media
VideoSampleandAudioSamplenow implement theDisposableinterface- Fixed crash when reading the header of RF64 WAVE files (#146)
v1.19.1
v1.19.0
- ID3 metadata can now be read from & written to WAVE files (#110)
- Added
.dispose()toInput, allowing you to immediately stop all ongoing read operations (like HTTP requests) and close all decoders - Added
fetchFntoUrlSourceOptions, allowing you to polyfill full fetch functionality into environments that otherwise don't have it (such as React Native) BlobSourcenow also works in environments that don't supportBlob.stream()(such as React Native)getRetryDelayis now passed the error of the last fetch call, allowing you to condition retry logic on errorsRequestinstances can now be used to constructUrlSource- AVC and HEVC encoders now explicitly throw when being initialized with odd dimensions