v1.56.0
The theme of this release is negative timestamps and better copy conversions, a long-requested feature! For more, check out Copying media data.
- Conversion API can now do copy conversions for arbitrary trim ranges, allowing you to trim media without transcoding it (#149)
- Added
ConversionOptions.copyfor controlling copy-specific behavior, such as the tolerated timestamp shift that's allowed to make copy conversions work - Added support for muxing negative timestamps for ISOBMFF, Matroska, and MPEG-TS. In the case of ISOBMFF, this generates an edit list that trims off the negative section of the media.
- MPEG-TS demuxer now infers negative timestamps and handles one modulus wrap of timestamps
- Added
OutputFormat.negativeTimestampSupport - Added
handleUnhandledErrorto most source options to enable better handling of otherwise unhandled errors that are thrown out of band (#489) - Fixed Matroska
getDurationFromMetadata()computation logic - Fixed empty audio trim range crashing conversions (#486)
- Fixed
Content-Lengthbeing used incorrectly when the server returns compressed content (#487)