npm mediabunny 1.27.0
v1.27.0

latest releases: 1.62.0, 1.61.6, 1.61.5...
10 months ago
  • Added options to VideoSample's allocationSize() and copyTo() methods, allowing you to specify output custom pixel formats, plane layouts & more
  • VideoSample.copyTo() now returns Promise<PlaneLayout[]> instead of Promise<void>, exactly how the WebCodecs API does it
  • Added an optional layout option to VideoSampleInit
  • VideoSample's allocationSize() and copyTo() now throw with an explicit error message when called when format === null (#256)
  • Added a VideoSampleColorSpace export, now used by VideoSample.colorSpace
  • Added a hardwareAcceleration video conversion option (#254)
  • Improved decoder error stack traces (#244)

Don't miss a new mediabunny release

NewReleases is sending notifications on new releases.