v1.29.0
This big new thing in this update is support for reading and writing MPEG Transport Stream (.ts) files, a major requirement for HLS support!
- Added MPEG-TS demuxer and muxer, supporting AVC, HEVC, AAC, and MP3
- Added
MpegTsOutputFormat,MpegTsOutputFormatOptions,MpegTsInputFormatandMPEG_TSexports - Added
Input.getFirstTimestamp()which returns the smallest starting timestamp across all tracks EncodedPacket.clone()can now modify almost all properties of the packet, not just timestamp and durationConversionOptions.trim.startnow defaults to the first timestamp of the input file instead of 0 (unless that timestamp is smaller than 0). This corrects a long-standing mismatch between the docs and the implementation.- ISOBMFF, Matroska and ADTS muxers now properly accept AAC in ADTS format as input
- ADTS demuxer has been simplified and now outputs audio packets in ADTS format
- Ogg muxer can now produce valid 0-packet files
TrackCountLimitsreturned byOutputFormatno longer containInfinityfor the upper bounds but the actual bound instead.