Commit Graph
100 Commits
Author SHA1 Message Date
David P.andGitHub 43c1ea7efd Merge pull request #292 from fredrikj/parallelism
Add UrlSourceOptions.parallelism
2026-02-03 16:03:55 +01:00
Vanilagy cab92c55ec Fix a few things 2026-02-03 16:01:46 +01:00
Vanilagy 81bc9d7c44 Fix MP3 files with initial XING frame not being properly recognized (fixes #294) 2026-02-03 15:53:51 +01:00
Vanilagy d16b1927ad Conversion: compute duration using only the utilized tracks 2026-01-27 15:54:20 +01:00
Vanilagy f620a328e5 Add ElevenLabs sponsor, bump minor 2026-01-27 14:36:02 +01:00
Vanilagy 7aa0fa465e Add support for ID3 metadata in ADTS, make MPEG-TS demuxer more resilient 2026-01-27 14:32:16 +01:00
Vanilagy cc5f7d8e8f Fixed incorrect segment logic in MPEG-TS metadata extraction, remove unused code, make packetization not require a track backing 2026-01-23 18:05:32 +01:00
Vanilagy 7e1c93c331 Skip transparency tests for now 2026-01-23 13:50:18 +01:00
Vanilagy 5b88332cb8 Test again 2026-01-23 13:41:15 +01:00
Vanilagy 9a70ccbacd Does this fix it? 2026-01-23 13:39:14 +01:00
Vanilagy 8c67872e83 Add double loading detection and warning, improve UrlSource abort signal documentation, bump minor 2026-01-23 13:31:59 +01:00
Vanilagy 7f4093fd43 Add cronischarles-del sponsor 2026-01-23 13:18:10 +01:00
Vanilagy b63db955f6 Merge branch 'main' of https://github.com/Vanilagy/mediabunny 2026-01-23 13:16:41 +01:00
Vanilagy 92454b28f7 Use random_access_indicator for key packet detection, rewrite packet lookup algorithm to use a chunked approach to perform better over the network 2026-01-23 13:16:41 +01:00
Vanilagy db3cb143fe Sure thing ts-doc 2026-01-22 09:43:20 +01:00
Vanilagy e20f779ede Add InputTrack.number 2026-01-22 09:18:43 +01:00
Vanilagy e1e32c9505 Up the timeout 2026-01-20 20:12:17 +01:00
Vanilagy 79f19b6717 Fix MPEG-TS demuxer reading entire file in the metadata phase, optimize it a bit, bump patch 2026-01-20 20:08:17 +01:00
Vanilagy 98387258a4 Add unhandled throws 2026-01-20 08:49:49 +01:00
Vanilagy d859b39468 Bump minor 2026-01-19 15:26:13 +01:00
David P.andGitHub 2afbec4e08 Merge pull request #281 from Vanilagy/mpeg-ts
MPEG Transport Stream read/write support
2026-01-19 15:13:54 +01:00
Vanilagy ab3a514884 Cmon 2026-01-19 15:04:39 +01:00
Vanilagy 277290abe3 Fix tests and elaborate on point in docs 2026-01-19 14:11:02 +01:00
Vanilagy dbaaea255c Expand packet.clone(), make conversion start timestamp default to the input's start timestamp 2026-01-19 14:04:20 +01:00
Vanilagy d23b0369f3 Fix side data not being copied when calling EncodedPacket.clone 2026-01-19 13:32:47 +01:00
Vanilagy 6c78a0ff09 Fix HEVC not being encodable in CI 2026-01-19 10:25:57 +01:00
Vanilagy e7b3437b4b Add stuff 2026-01-19 09:29:54 +01:00
Vanilagy c3a3eb6abf Merge remote-tracking branch 'origin/main' into mpeg-ts 2026-01-16 21:04:14 +01:00
Vanilagy 46fbfc8a2c Make MPEG-TS muxing tests not rely on AAC encoder 2026-01-16 21:02:12 +01:00
Vanilagy 3113e449d4 Fix? 2026-01-16 20:55:39 +01:00
Vanilagy 58053ed00c Bruh 2026-01-16 20:53:40 +01:00
Vanilagy 20e4610da4 Document MPEG-TS 2026-01-16 20:51:27 +01:00
Vanilagy 53b04619e1 Convert ADTS to AAC in muxers that accept it 2026-01-16 17:27:50 +01:00
Vanilagy 2695921ed4 Allow .ts files to be picked in examples 2026-01-16 17:08:19 +01:00
Vanilagy 7e8f9fbbb1 It's 2026 2026-01-16 17:02:12 +01:00
Vanilagy 41e012f1e8 Fix typecheck, lint and build 2026-01-16 17:00:01 +01:00
Vanilagy 282751ec1c Set discontinuity_indicator to 1 for the first packet 2026-01-16 16:56:50 +01:00
Vanilagy e8b27768a9 Add MPEG-TS muxer, fix a demuxer bug, remove Infinity from output format track counts 2026-01-16 16:33:28 +01:00
Vanilagy ae37973878 MPEG-TS demuxer optimizations: faster Annex B segmentation, better NALU iteration 2026-01-16 13:26:58 +01:00
Vanilagy e3ee9d91a9 Add MP3 support to MPEG-TS demuxer 2026-01-16 10:28:00 +01:00
Vanilagy c0f2693cb3 Add HEVC support to MPEG-TS demuxer 2026-01-16 10:05:40 +01:00
Vanilagy d8d6ccc1f7 Update internalCodecId docs 2026-01-15 16:46:13 +01:00
Vanilagy dc25b5d7c5 No metadata for now 2026-01-15 16:44:22 +01:00
Vanilagy 54dfa75a7e Add proper packet duration extraction to MPEG-TS demuxer 2026-01-15 16:33:17 +01:00
Vanilagy 8fea9671ea Fix some demuxer bugs that occurred on files by FFmpeg, fix packet marking logic 2026-01-15 08:51:07 +01:00
Vanilagy 0719a17c85 Add mutex to packet lookup algorithm, fix incorrect next packet retrieval following packet lookup 2026-01-14 21:53:23 +01:00
Vanilagy 4a85aad012 Read only headers, no payload, when possible 2026-01-14 17:10:30 +01:00
Vanilagy 301a6adb1d Claude come on 2026-01-14 16:01:59 +01:00
Vanilagy 045df3b9a5 Make ADTS demuxer spit out ADTS packets instead of AAC, make ADTS muxer accept both AAC and ADTS input 2026-01-14 13:52:46 +01:00
Vanilagy 06ab9c8433 Add support for different TS packet strides and offsets, add proper input format detection, fix error messages, add packet lookup algorithm with no file size known 2026-01-14 13:16:40 +01:00
Vanilagy 888441232d Implement the bulk of the MPEG-TS demuxer, add a bunch of tests, and a few other things 2026-01-14 12:05:39 +01:00
Vanilagy 868578685d Shoulda bumped minor, oops 2026-01-14 09:22:43 +01:00
Vanilagy e1478f8ebd Bump patch 2026-01-14 09:21:51 +01:00
David P.andGitHub 8aac07eb61 Merge pull request #279 from samohovets/bugfix/vorbis-eos
Fix OGG Vorbis decoding error for files with empty EOS pages
2026-01-13 17:36:09 +01:00
Vanilagy 267c09abf8 Return null earlier on 2026-01-13 17:34:33 +01:00
Vanilagy 2ab1be3834 Add maximumPageDuration Ogg muxer option (closes #277) 2026-01-13 13:37:34 +01:00
Vanilagy 571fbb3198 Fix too many tracks being removed 2026-01-12 16:47:31 +01:00
Vanilagy 32d8b1544d Bump patch 2026-01-12 16:15:35 +01:00
Vanilagy b8f104d8b4 Fix disabled Matroska tracks crashing demuxer (closes #276) 2026-01-12 16:11:23 +01:00
Vanilagy 7db0583058 Fix samples not being closed sometimes in conversion (closes #272) 2026-01-12 15:20:10 +01:00
Vanilagy 24af125415 Make Conversion.cancel() cause execute() to throw (closes #271) 2026-01-12 15:13:00 +01:00
Vanilagy 78e78e5b4f Make _flushOrWaitForOngoingClose set closingPromise (fixes #270) 2026-01-12 14:36:51 +01:00
David P.andGitHub 1d774b5fbb Merge pull request #274 from alakhpc/alakhpc/fix-out-of-bounds
fix(matroska): handle insufficient bytes when reading EBML element headers
2026-01-12 14:09:06 +01:00
Vanilagy d6b518b9fd Fix thing 2026-01-12 14:07:43 +01:00
David P.andGitHub 4f5f30bc03 Merge pull request #273 from alakhpc/alakhpc/defer-defaultduration
fix(matroska): defer DefaultDuration calculation until TimestampScale is known
2026-01-12 13:48:41 +01:00
Vanilagy 7b036fe8ac Fix some things 2026-01-12 11:59:37 +01:00
Vanilagy 2bb84fd35b Add new sponsors 2026-01-12 10:32:43 +01:00
Vanilagy 7580935639 Bump patch 2026-01-06 13:36:29 +01:00
Vanilagy 53824536fa Remove packet iteration upper bound for mediaSamplesInRange (fixes #269) 2026-01-06 13:35:52 +01:00
Vanilagy f363fe50e2 WIP 2026-01-05 11:41:32 +01:00
Vanilagy 8f43086e3d Make allocationSize and copyTo always throw if internal format is null (closes #267) 2026-01-05 11:07:32 +01:00
Vanilagy 9343607fe1 Add deil sponsor 2026-01-02 12:33:35 +01:00
Vanilagy f877fabc60 Bump patch 2025-12-30 16:20:52 +01:00
Vanilagy a2115b1de7 Add workaround for WebKit AudioData.copyTo bug (fixes #260) 2025-12-30 16:10:53 +01:00
Vanilagy 8d46d50c39 Document that ADTS is append-only 2025-12-30 14:11:32 +01:00
Vanilagy 19219fc1ce Add Polotno sponsor 2025-12-29 20:28:13 +01:00
Vanilagy 05070f7c88 Bump patch 2025-12-24 14:17:46 +01:00
Vanilagy 736cc50fa7 Fix aborted UrlSource not aborting request 2025-12-24 14:15:31 +01:00
Vanilagy 9ba63f5d95 Add Roman Rädle 2025-12-23 20:16:43 +01:00
Vanilagy 17c6bff1dc Bump patch 2025-12-19 16:05:46 +01:00
Vanilagy c86af052f5 Add test for Annex B to length-prefixed conversion 2025-12-19 16:04:27 +01:00
Vanilagy 831e838f74 Implement workaround for https://issues.chromium.org/issues/470109459 2025-12-19 13:06:11 +01:00
Vanilagy b730a24138 Bump minor version 2025-12-17 15:33:00 +01:00
Vanilagy ccbf14565c (Hopefully) improve error messages and stack traces a bit more (see #244) 2025-12-17 15:31:51 +01:00
Vanilagy 15bdd072e1 Add options to VideoSample allocationSize and copyTo methods, add explicit error message when format is null (closes #256) 2025-12-17 15:10:25 +01:00
Vanilagy 228721d68f Add VideoSampleColorSpace 2025-12-16 18:47:50 +01:00
Vanilagy f9207396d7 Bump minor 2025-12-11 20:42:31 +01:00
Vanilagy 84dec01dfd Add pause and resume methods to MediaStreamTrack sources (closes #241) 2025-12-11 15:51:18 +01:00
Vanilagy 1ff8abdaab "Extract function" ahh 2025-12-11 15:24:19 +01:00
Vanilagy cc649ba192 Add allowRotationMetadata video conversion option (see #247) 2025-12-11 14:41:00 +01:00
Vanilagy b73bf06ba7 Add sponsor 2025-12-11 14:05:01 +01:00
Vanilagy 49af8d5435 Bump patch 2025-12-09 14:25:01 +01:00
Vanilagy a09cb4aebf Add sponsor 2025-12-09 14:24:48 +01:00
Vanilagy 0500beaf34 Fix user agent detection in workers (fixes #223, #242) 2025-12-08 18:46:58 +01:00
Vanilagy f424f6e840 Count AVC SEI recovery points as keyframes (except on older Chromium versions) 2025-12-07 19:24:08 +01:00
Vanilagy d949d1eadb Bump patch 2025-12-05 23:01:23 +01:00
Vanilagy 11970675c6 Slightly adjust validated key packet retrieval logic 2025-12-05 23:00:40 +01:00
Vanilagy d6c223b0f6 Fix keyframe sample index lookup logic for ISOBMFF in rare B-frame scenarios 2025-12-05 22:14:23 +01:00
Vanilagy 5b703a1c78 Fix MP3 encoder emitting incorrect timestamps, fixed overaggressive audio sample gap filling (fixes #233) 2025-12-05 12:41:36 +01:00
Vanilagy 3dd7a9cb58 Fix unclosed samples in tests 2025-12-04 17:04:24 +01:00