Vanilagy
68b3ae7155
A BUNCH of HLS (and related) progress
...
- Add support for fMP4 segments
- Add initInput (supported by ISOBMFF and MPEG-TS)
- Input.isSupported()
- Refactored file size retrieval logic, the file size can now be retrieved alongside the first read.
- Add support for unsized UrlSources
- Add support for multiple trun boxes in a row for the same track (as the spec literally says lol)
- Add support for more M3U8 features
- Fix faulty line reader
- MPEG-TS improvements: support video parameters not in first packet, support better key frame detection, support extension PES packets without PTS
- Fix reorder buffer being 1 element too small
2026-02-20 19:56:20 +01:00
Vanilagy
de84d78092
Merge branch 'main' into hls
2026-02-16 15:55:59 +01:00
Vanilagy
df5efa0442
Fix test
2026-02-16 15:34:42 +01:00
Vanilagy
ddc826e6e3
MPEG-TS muxer: Write out DTS for video tracks (fixes buggy QuickTime behavior)
2026-02-16 15:30:23 +01:00
Vanilagy
e3906a3e36
Bump patch AGAIN
2026-02-12 18:54:42 +01:00
Vanilagy
46bd70b880
Bump patch, add bunny
2026-02-12 18:50:00 +01:00
Vanilagy
31b278fbd4
Fix linting errors, fix test not creating bundle
2026-02-12 18:37:55 +01:00
Vanilagy
d3b737b183
Bump minor
2026-02-12 18:32:32 +01:00
Vanilagy
a97200f3f0
Add @mediabunny/ac3 extension package
2026-02-12 18:31:59 +01:00
Vanilagy
e3aa7108f5
Make test 150% faster
2026-02-12 12:22:25 +01:00
Vanilagy
b717cbf68c
Bump minor
2026-02-12 12:06:25 +01:00
Vanilagy
7cc26edacb
Add Mediabunny Codec Registry
2026-02-12 11:56:37 +01:00
Vanilagy
de9a4bbc23
Update codec soup
2026-02-11 16:03:57 +01:00
Vanilagy
4fae45ec40
Allow negative trim ranges for conversion, add OutputFormat.supportsTimestampedMediaData
2026-02-11 15:56:51 +01:00
Vanilagy
612642c5ad
Remove sponsor
2026-02-11 08:38:49 +01:00
Vanilagy
2298f4a8b3
Add jepcd sponsor
2026-02-10 17:07:57 +01:00
David P. and GitHub
a613a870c8
Merge pull request #296 from yonathan06/patch-1
...
Update gling.svg
2026-02-10 16:24:26 +01:00
Vanilagy
cacbc2a399
Fix assertion failure
2026-02-07 10:35:40 +01:00
Vanilagy
ab0fd6a8d8
Fix WAVE demuxer out of bounds reads
2026-02-07 10:28:14 +01:00
Vanilagy
6a099b4259
Bump minor
2026-02-04 18:28:34 +01:00
Vanilagy
172b4a1fd2
Add two new sponsors
2026-02-04 16:54:45 +01:00
David P. and GitHub
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
6004912f3d
Make computeDuration and getFirstTimestamp have the same implementations across the board
2026-01-27 16:49:25 +01:00
Vanilagy
2ffa692fdd
Merge branch 'main' into hls
2026-01-27 15:54:28 +01:00
Vanilagy
d16b1927ad
Conversion: compute duration using only the utilized tracks
2026-01-27 15:54:20 +01:00
Vanilagy
d1fbea3e19
[WIP] Add majority of logic for HLS reading support
2026-01-27 14:45:44 +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. and GitHub
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. and GitHub
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. and GitHub
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. and GitHub
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