Vanilagy
bb4749cd8d
Add support for reading/writing non-square pixel video frames ( fixes #309 )
2026-02-25 17:16:33 +01:00
31147d6e96
fix: surface StreamTarget write errors instead of swallowing them ( #305 )
...
* fix: await StreamTarget writes to prevent overlapping OPFS operations
* no need for flush
* preserve fire and forget writes
* Remove pendingWrites, add missing mutex acquire to ADTS muxer finalize method
---------
Co-authored-by: Vanilagy <[email protected] >
2026-02-24 11:21:13 +00:00
Vanilagy
df5efa0442
Fix test
2026-02-16 15:34:42 +01:00
2876197631
Fix WaveDemuxer reading too far in corrupted ID3 chunk ( #301 )
...
* Update read-mp4.test.ts
* Fix the bug
* Delete read-wav.test.ts
* Submit test file
* Small adjustments
---------
Co-authored-by: Vanilagy <[email protected] >
2026-02-16 10:48:07 +00: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
417c85d8ed
feat(codec): add detection support for AC-3, E-AC-3 audio codecs ( #275 )
...
* ac3/eac3 detection
* fix tests
* review pass + follow codebase comments style
* Add ac3/eac3 to docs
* WIP mpeg-2
* Set registration_descriptor
* add support for ac3 system b in mpeg-ts
* Update docs with ac3 in .ts support
* fix formatting
* Remove default to fix linter
* Add eac3 to mpeg-ts
* fix formatting
* Fix failing test
* Refactor AC3/EAC3 code a little
---------
Co-authored-by: Vanilagy <[email protected] >
2026-02-11 15:23:12 +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
7e1c93c331
Skip transparency tests for now
2026-01-23 13:50:18 +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
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
277290abe3
Fix tests and elaborate on point in docs
2026-01-19 14:11:02 +01:00
Vanilagy
6c78a0ff09
Fix HEVC not being encodable in CI
2026-01-19 10:25:57 +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
53b04619e1
Convert ADTS to AAC in muxers that accept it
2026-01-16 17:27: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
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
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
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
Igor Samokhovets
a89101ff40
Fix OGG Vorbis decoding error for files with empty EOS pages (VLC-encoded)
2026-01-13 13:45:43 +01:00
Vanilagy
2ab1be3834
Add maximumPageDuration Ogg muxer option ( closes #277 )
2026-01-13 13:37:34 +01:00
Vanilagy
78e78e5b4f
Make _flushOrWaitForOngoingClose set closingPromise ( fixes #270 )
2026-01-12 14:36:51 +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
c86af052f5
Add test for Annex B to length-prefixed conversion
2025-12-19 16:04:27 +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
3dd7a9cb58
Fix unclosed samples in tests
2025-12-04 17:04:24 +01:00
Vanilagy
abe6185ddd
Fix test?
2025-11-13 11:02:36 +01:00
Vanilagy
217b383f12
Add read/write support for track disposition information
2025-11-13 11:00:42 +01:00
JonnyBurger
fe4eebd487
Increase tolerance of pixels by 1 in tests
2025-11-05 10:54:03 +01:00
Vanilagy
efcf5d0069
Add vjeux
2025-11-02 22:03:35 +01:00
Vanilagy
aad31009fe
Make test more strict
2025-11-02 21:56:16 +01:00
Vanilagy
68c37b49dc
Another test test
2025-11-02 21:50:49 +01:00
Vanilagy
b12fee70a3
Log test
2025-11-02 21:47:49 +01:00
Vanilagy
90d5aed051
Test test
2025-11-02 21:46:24 +01:00
Vanilagy
1b8e4f9f4b
Add alpha option to Conversion API
2025-09-26 11:12:48 +02:00
Vanilagy
d708df9a2c
Add mdta MP4 metadata tests
2025-09-26 10:14:52 +02:00
Vanilagy
e7c7a82fe3
Fix test
2025-09-26 10:06:13 +02:00
David P. and GitHub
fa4e064345
Transparent video read/write support ( #145 )
...
* Add support for reading transparent Matroska and implement alpha side data & decode
* Few fixes
* Implement alpha encoding
* Gracefully handle inability to acquire WebGL context, properly clean up WebGL contexts
* Improve touch device detection
* Test test
* Test test #2
* Test test 3
* Test test 4
* Test test 5
* Test test 6
* Test test 7
* Test test 8
* Test test 9
* Test test 10
* Test test 11
* Test test 12
* Test test 13
* Test test 14
* Test test 15
* Test test 16
* Test test 17
* Test test 18
* Test test 19
* Test test 20
* Fix type errors, improve MetadataTags docs
* Do a bunch of docs work
* Test test?
* "Unexpected only modifier 🤓 "
* Add InputVideoTrack.canBeTransparent()
* Some clean-up
* Adjust CI to be less spammy in PRs
* Fix broken license headers
2025-09-24 21:20:14 +02:00
Vanilagy
f9a7735aae
Explicitly throw for odd video dimensions for AVC and HEVC ( closes #142 )
2025-09-22 15:37:31 +02:00