v1.52.0

OpenMOSS/MOSS-TTSv1.52.0Jul 30, 2026by Vanilagy

AI Summary

Adds quantizer support for encoders to enable constant-quality encoding and expands the `Quality` class to handle arbitrary quality levels and per-codec settings. The release also deprecates `bitrate` fields in favor of the new `quality` field and fixes issues with decoders, promises, and the ISOBMFF muxer.

Key Highlights

  • Added quantizer support for encoders enabling constant-quality encoding
  • Expanded `Quality` class capabilities
  • Deprecated `bitrate` fields in favor of `quality`
  • Fixed video/audio decoders not closing in error situations

Breaking Changes

  • Deprecated `bitrate` fields; use `quality` field instead

New Features

  • Quantizer support for encoders
  • Expanded `Quality` class
  • Improved encoder error handling

Full Release Notes

- Added quantizer support for encoders, enabling constant-quality encoding. Quantizer mode is used automatically if you use subjective qualities; no code changes needed. (#448)
- Expanded the `Quality` class: Can now take in an arbitrary quality level, specify bitrate and bitrate mode, and specify a concrete per-codec quantizer level
- Adjusted `@mediabunny/server` to properly forward quantizer settings to libavcodec
- Deprecated `bitrate` fields all across the API; use the new `quality` field instead
- Fixed video/audio decoders not being closed in certain error situations (#446)
- Fixed promises hanging indefinitely sometimes when calling Input.dispose()
- Improved encoder error handling to reduce "Sample wasn't closed" warnings
- Fixed ISOBMFF muxer not labeling video tracks as containing an alpha track (for example, with ProRes 4444) (#450)