Skip to content

fix(deps): update dependency @mediabunny/ac3 to ^1.65.0 - #721

Merged
xrgzs merged 1 commit into
mainfrom
renovate/mediabunny-ac3-1.x
Nov 1, 2026
Merged

xrgzs merged 1 commit into
mainfrom
renovate/mediabunny-ac3-1.x

Conversation

@renovate

@renovate renovate Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@mediabunny/ac3 (source) ^1.40.1 → ^1.65.0 age confidence

Release Notes

Vanilagy/mediabunny (@​mediabunny/ac3)

v1.65.0

Compare Source

  • Added MetadataTags.creationTime, which contains the time at which the file was created. Set it to null to prevent Mediabunny from timestamping the files it creates. (#​596)
  • Made Conversion API work with formats that require maximumPacketCount track metadata to be set (like ISOBMFF with fastStart: 'reserve') (#​595)
  • Added manual maximumPacketCount override options to ConversionVideoOptions and ConversionAudioOptions
  • Added provenance information to all extension packages that use third-party code/libraries (#​588)
  • Fixed rare assertion failure triggered by multi-track ISOBMFF muxers with fastStart: 'reserve'
  • Prevented the ISOBMFF muxer from writing HMMT, loci and chpl metadata keys using the mdir format (crashed FFmpeg) (#​610)
  • Fixed out-of-bounds memory write in @mediabunny/server crashing the process
  • Fixed AudioSample.toAudioData() not respecting ArrayBuffer view bounds of the data

v1.64.0

Compare Source

  • Added the Dolby TrueHD audio codec (codec string truehd)
  • Added read/write support for TrueHD to ISOBMFF and Matroska
  • Added @mediabunny/truehd, an extension package providing a TrueHD decoder and encoder based on libavcodec
  • Added TrueHD encode/decode support to @mediabunny/server
  • Changed Opus pre-roll duration to 400 ms (now has less than -100 dBFS error)
  • Added workaround for a bug that caused stale VideoFrames in Chrome on Android (#​573)
  • Changed ISOBMFF muxer to emit chunks in chronological order, fixing playback for some players (#​591)
  • MP3 timestamps are now shifted towards the negative based on encoder delay indicated in LAME-style metadata (#​606)
  • Made ConversionVideoOptions.hardwareAcceleration also affect video decoding in addition to encoding (#​604)
  • Fixed UrlSource not respecting request retry delay when retrying range requests that returned no data (#​589)

v1.63.0

Compare Source

This release includes the work of Project Sync (#​580), an effort to ensure that Mediabunny delivers sample-perfect audio-video sync across all codecs and containers.


  • Added automatic audio encoder priming delay compensation to ensure sample-accurate audio encoding and AV sync (#​444, #​447)
  • Made sure WebCodecs and extension package audio encoders/decoders always emit correct timestamps, even in the presence of dropped audio data (like with Opus's preskip)
  • Fixed WebKit's AAC encoder discarding the first 1024 samples
  • Added InputAudioTrack.getPreRollDuration() to signal how much preroll the audio decoder needs to properly converge. Media sinks automatically use this value under the hood to begin decoding audio earlier to give exact results when seeking.
  • Added HlsOutputFormatOptions.mediaTimestampBase (defaults to 10 seconds)
  • Added MpegTsOutputFormatOptions.timestampOffset
  • HLS reading: Now provides exact cross-variant track synchronization, and ID3v2 PRIV metadata in MP3 and ADTS is now respected for correct sync with "packed" segment formats
  • HLS reading: Removed approximate first packet start offset of mediaSequence * targetDuration
  • HLS reading: Now properly handles infinite-duration playlists (and live streams) that use internal media timestamps that wrap around
  • HLS writing: Now normalizes internal media timestamps and properly writes ID3v2 PRIV metadata to MP3 and ADTS
  • Matroska muxer: CodecDelay is now used to signal audio priming delay, SeekPreRoll is now correctly set for all audio codecs, and the duration of the last packet in a Cluster is now written
  • ISOBMFF muxer: Write roll sample description groups for audio codecs
  • Ogg muxer: Correctly supports start packets with negative timestamps signaling priming delay
  • MP3 muxer: Write "Info" instead of "Xing" for CBR streams
  • Matroska demuxer now respects CodecDelay
  • Various Ogg demuxer fixes
  • Various media sink fixes
  • MetadataTags.raw now supports Uint8Array[] for repeated non-text ID3v2 frames
  • Fixed PES packet data being kept alive in MPEG-TS demuxer's reference index (#​599)
  • Fixed resampling floating point error edge cases (#​586)
  • Improved (reduced) memory retained by BufferTarget (#​585)
  • Fixed final FLAC frame being ignored if it was less than 16 bytes long (#​593)
  • Fixed Matroska CuePoints being written even for tracks with no key packets in that Cluster (#​597)
  • Added workaround for WebKit AVC encoder stall (#​587)

v1.62.1

Compare Source

  • Improved backwards packet lookup algorithm for ISOBMFF and Matroska (#​581)
  • Fixed ISOBMFF/Matroska fragment position cache leading to erroneous packet lookup for fragments without a key frame (#​584)

v1.62.0

Compare Source

In addition to tons of general bug fixes and improvements, this release thoroughly hardens Mediabunny against bad/malicious inputs. These are files meant to exhaust memory, clog CPU, or cause Mediabunny to get stuck in an infinite loop. With these fixes in place, you can be almost certain that you can throw any untrusted user input at Mediabunny and it'll handle it well. Malformed or malicious inputs will now throw errors immediately. Across the board, the library is now more robust and more performant, even for well-formed inputs.

  • Added InputFormat.supportsTimestampedMediaData, mirroring the same field on OutputFormat
  • Removed heuristic-based HLS timestamp logic, which caused wrong results for some incorrect playlists (#​574)
  • Made HLS random-access seeking robust in the presence of incorrect #EXTINF tags
  • Fixed Ogg muxer writing incorrect granule positions on pages with 255 segments (#​577)
  • Fixed ISOBMFF tfra sample references not being respected, leading to incorrect timestamps (#​578)
  • Improved MPEG-TS demuxer video segmentation and timestamp logic, and drop packets that contain no pictures in them (#​576)
  • Fixed fractional audio sample offset trimming leading to error in Conversion API (#​579)
  • @mediabunny/prores: Updated TurboRes to protect against malicious files that cause out-of-bounds reads
  • Fixed ISOBMFF sample tables with huge declared sample counts exhausting memory and CPU
  • Reduced memory usage and sped up lookups for ISOBMFF files with composition time offsets
  • Fixed ISOBMFF demuxer iterating over nonexistent samples when stts, stsz and stsc disagree on the sample count
  • Fixed slow packet iteration for ISOBMFF chunks containing many samples
  • Fixed trun boxes with huge sample counts exhausting memory; fragments are now limited to 2^20 samples
  • Fixed faulty tfra entries causing the file to be rescanned over and over
  • Fixed slow tfra parsing for many entries or many duplicate timestamps
  • Fixed ISOBMFF fragment lookups re-reading fragments without data for the track
  • Fixed slow ISOBMFF parsing for files with many tracks
  • Fixed slow reading of fragmented ISOBMFF files with decreasing fragment timestamps
  • Fixed deeply nested ISOBMFF boxes overflowing the stack
  • Fixed PCM tracks in ISOBMFF whose stsc doesn't start at the first chunk
  • Fixed stsc entries with non-increasing chunk indices blowing up chunk iteration; they are now skipped with a warning
  • Fixed unsorted stss boxes breaking key frame lookups
  • Fixed huge encryption subsample sizes causing huge allocations
  • Fixed assertion errors for misplaced trak, moof, traf, tfhd, tfdt, trun and senc boxes
  • Fixed assertion errors for codec configuration boxes in tracks of the wrong type
  • Fixed a failed sample table parse or a broken fragment leaving behind state that broke later reads
  • ISOBMFF demuxer now throws for zero mvhd/mdhd timescales, a missing mvhd, invalid stz2 field sizes, invalid keys entry sizes, malformed pssh boxes, oversized tenc IVs, and trun boxes without sample values or defaults
  • Fixed Matroska resyncing getting stuck at the end of the file or on cluster IDs with broken sizes
  • Fixed Matroska elements referenced by multiple seek entries or segments being parsed repeatedly
  • Fixed slow parsing of Matroska seek heads with many entries
  • Fixed faulty Matroska cue points causing the file to be rescanned over and over
  • Fixed slow deduplication of Matroska cue points
  • Fixed Matroska laced blocks claiming many empty frames exhausting memory and CPU
  • Fixed Matroska header stripping being applied to entire laced blocks instead of each frame
  • Fixed Matroska lookups for tracks without blocks rescanning all clusters
  • Fixed slow reading of Matroska files with decreasing cluster timestamps
  • Fixed slow next key packet retrieval for Matroska clusters with many blocks
  • Fixed slow Matroska parsing for files with many tracks
  • Fixed deeply nested Matroska elements overflowing the stack
  • Fixed huge Matroska strings overflowing the stack
  • Fixed zero-width Matroska unsigned integers being rejected
  • Fixed assertion errors for invalid Matroska block lacing
  • Fixed concurrent getMetadataTags() calls on Matroska files failing
  • Fixed a failed Matroska tag read breaking subsequent attempts
  • Matroska tracks sharing a track number are now dropped with a warning
  • Matroska demuxer now throws for unsigned integers larger than 8 bytes, a zero TimestampScale, an invalid SamplingFrequency and zero Channels
  • Fixed ADTS frames with zero length causing an infinite loop
  • Fixed ADTS frames with a reserved sampling frequency index or a truncated header causing errors
  • Fixed huge SPS frame buffering values causing excessive packet buffering and rescanning
  • Fixed exp-Golomb values with 31 leading zeros decoding to negative numbers
  • Fixed SPS cropping away the entire picture causing an assertion error
  • Fixed slow MPEG-TS key packet lookups for streams without random access indicators
  • Fixed MPEG-TS assertion error when a key frame takes its timestamp from a later PES packet
  • Fixed truncated recovery point SEIs making MPEG-TS streams unreadable
  • Fixed slow MPEG-TS metadata reading for files with many streams
  • Fixed MPEG-TS PES packets without data desyncing packet reading
  • Fixed MPEG-TS init inputs passing on info for streams they never set up
  • Fixed Ogg pages without segments, truncated pages and junk between pages causing errors
  • Fixed Ogg seeking computing checksums over large amounts of data for fake page headers
  • Fixed Ogg seeking failing for continuation pages without a preceding packet
  • Fixed slow Ogg parsing for files with many logical bitstreams; more than 64 now throws
  • Fixed short Opus and Vorbis identification headers causing errors
  • Vorbis identification headers with zero channels or sample rate now throw
  • Fixed slow parsing of Vorbis comments with many repeated keys
  • Fixed FLAC files without frames causing an infinite loop
  • Fixed FLAC metadata blocks extending past the end of the file causing assertion errors
  • Fixed FLAC files without a last metadata block flag
  • Fixed truncated FLAC frame headers at the end of the file causing errors
  • Fixed malformed FLAC pictures aborting metadata reading
  • Fixed huge METADATA_BLOCK_PICTURE MIME types overflowing the stack
  • FLAC demuxer now throws for short STREAMINFO blocks and a zero sample rate
  • WAVE demuxer now throws for zero channels, sample rate or block alignment, and for short fmt and ds64 chunks
  • Fixed malformed WAVE LIST and id3 chunks causing errors
  • Fixed PCM decoding producing invalid frame counts for malformed packets
  • Fixed slow parsing of unsynchronized ID3v2 tags with many frames
  • Fixed short ID3v2 extended headers and frames extending past the tag causing errors
  • ID3v2 frames shorter than their fixed fields now throw
  • Fixed HLS variable substitution blowing up exponentially; excessive substitution now throws
  • HLS demuxer now throws for playlists with more than 256 variant streams or media tags
  • Fixed HLS live playlists with a zero target duration reloading in a busy loop
  • Fixed huge HLS durations and media sequence numbers overflowing timestamp math
  • Fixed malformed percent-encoding in HLS query parameters throwing a URIError
  • Fixed HLS reading huge non-playlist files in their entirety
  • Fixed HLS segments starting with a delta frame having it returned as a key packet
  • HLS demuxer now throws when the playlist codec doesn't match the media data
  • Fixed key packet verification looping forever for very large timestamps
  • Fixed ReadableStreamSource allocating unfulfillable huge reads up front
  • Fixed CustomSource reads past the end of the file causing errors
  • Fixed zero video dimensions breaking pixel aspect ratio computation

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/mediabunny-ac3-1.x branch from ed37242 to 858e864 Compare October 29, 2026 23:03
@renovate renovate Bot changed the title fix(deps): update dependency @mediabunny/ac3 to ^1.63.0 fix(deps): update dependency @mediabunny/ac3 to ^1.64.0 Oct 29, 2026
@renovate renovate Bot changed the title fix(deps): update dependency @mediabunny/ac3 to ^1.64.0 fix(deps): update dependency @mediabunny/ac3 to ^1.65.0 Oct 30, 2026
@renovate
renovate Bot force-pushed the renovate/mediabunny-ac3-1.x branch from 858e864 to 7c0405a Compare October 30, 2026 17:57
@renovate
renovate Bot force-pushed the renovate/mediabunny-ac3-1.x branch from 7c0405a to ea42297 Compare November 1, 2026 02:47
@xrgzs
xrgzs merged commit 20ce8d7 into main Nov 1, 2026
1 check passed
@xrgzs
xrgzs deleted the renovate/mediabunny-ac3-1.x branch November 1, 2026 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant