v1.35.0
Vanilagy/mediabunnyv1.35.0Feb 25, 2026by Vanilagy
AI Summary
Added comprehensive support for non-square pixel aspect ratios and introduced new utility types.
Key Highlights
- Support for non-square pixels (SAR != 1:1) in ISOBMFF, Matroska, and MPEG-TS
- New `VideoSample` fields: `pixelAspectRatio`, `squarePixelWidth`, etc.
- New `InputVideoTrack` fields for pixel aspect ratio
- New utility types: `Rational` and `Rectangle`
- Fixed missing runtime validation for constructor parameters
New Features
- Non-square pixel support
- `Rational` and `Rectangle` utility types
- Enhanced `VideoSample` and `InputVideoTrack` fields
Full Release Notes
- Added support for reading & writing non-square pixel video frames (SAR != 1:1) for ISOBMFF, Matroska, and MPEG-TS (#309). Behaves correctly when drawing video samples as well as in the Conversion API. - Added new `VideoSample` fields: `pixelAspectRatio`, `squarePixelWidth`, `squarePixelHeight`, `visibleRect` - Added new `InputVideoTrack` fields: `pixelAspectRatio`, `squarePixelWidth`, `squarePixelHeight` - Added new `Rational` and `Rectangle` utility types - Fixed missing runtime validation for a couple of `VideoSample` constructor parameters