Commit Graph
100 Commits
Author SHA1 Message Date
Vanilagy 89d48d1bf9 Bump patch 2025-11-13 08:52:48 +01:00
Vanilagy 6684984e7e Fix faulty timestamp rounding to nearest integer (fixes #207) 2025-11-12 21:35:18 +01:00
Vanilagy 0f030dc2a6 Add Ponder 2025-11-12 19:28:43 +01:00
Vanilagy 02b08e036b Fix Matroska files where no audio packets are key packets (fixes #192) 2025-11-12 16:07:17 +01:00
Vanilagy 327696666b Expand doc blocks 2025-11-12 14:40:47 +01:00
Vanilagy 07b2e70863 Force software decoding in Chromium for interlaced AVC 2025-11-12 14:29:56 +01:00
Vanilagy 3cb6ed82ce Fix globals not being treeshakable by some bundlers (fixes #172) 2025-11-12 13:11:18 +01:00
Vanilagy 12216ae29e Remove reordering Matroska blocks by references (fixes #178) 2025-11-12 10:49:47 +01:00
Vanilagy 198b3d2eae Merge branch 'main' of https://github.com/Vanilagy/mediabunny 2025-11-12 10:05:41 +01:00
Vanilagy e33e9f13fe Fix missing VideoSample.close() calls in CanvasSink conversion path 2025-11-12 10:05:41 +01:00
Vanilagy fa1f44cf92 Bump patch 2025-11-11 22:26:46 +01:00
Vanilagy 966ac133e9 Merge branch 'main' of https://github.com/Vanilagy/mediabunny 2025-11-11 18:03:28 +01:00
Vanilagy 23f814679e Modify audio encoder to fill gaps between timestamps with silence to ensure AV sync (fixes #176) 2025-11-11 18:03:28 +01:00
Vanilagy 9d477dfb14 Allow muxing of avc3 into ISOBMFF (see #216) 2025-11-11 17:06:10 +01:00
Vanilagy 5b45c51d40 Support AVC3 in ISOBMFF (fixes #216) 2025-11-11 16:55:54 +01:00
Vanilagy 71dd2c565b Merge branch 'main' of https://github.com/Vanilagy/metamuxer 2025-11-11 11:05:17 +01:00
Vanilagy 3db4aa8b91 Fixed doubly stacked rotation correction when converting rotated video with a custom process function (fixes #218) 2025-11-11 11:05:15 +01:00
Vanilagy 8b39eb0d43 Revert Matroska default duration flooring 2025-11-10 21:14:43 +01:00
Vanilagy 6022781e8c Bump patch 2025-11-10 20:53:28 +01:00
Vanilagy c0da28fb6c Floor Matroska default packet duration (fixes #170) 2025-11-10 16:14:25 +01:00
Vanilagy fd8c74d4db Fix invalid encoder AAC description on WebKit (fixes #206) 2025-11-10 14:44:35 +01:00
David P.andGitHub 6fb3103c01 Merge pull request #215 from hexcowboy/issue-#184
Use `ArrayBuffer` instead of `ReadableStreamReader`on WebKit browsers
2025-11-10 11:36:13 +01:00
Vanilagy d969266662 Simplify isWebKit, get rid of isSafari 2025-11-10 11:30:26 +01:00
Vanilagy 5aabf6350a Clarify docs 2025-11-06 16:31:02 +01:00
Vanilagy 21cff32831 Bump patch 2025-11-06 10:02:23 +01:00
David P.andGitHub 73e936f325 Merge pull request #210 from JonnyBurger/increase-tolerance-by-one
Increase tolerance of pixels by 1 in tests
2025-11-06 09:01:40 +00:00
Vanilagy b5f5b5588c Update RVE logo 2025-11-03 15:24:17 +01:00
Vanilagy b1f17b25e3 Add Jellypod & fix RVE logo 2025-11-03 12:12:12 +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 d2d893ff30 Bump patch 2025-11-02 21:36:09 +01:00
Vanilagy 3217490d81 Fix read worker abort bugs (fixes #197) 2025-11-02 14:03:54 +01:00
Vanilagy 5039c730bf Fix MediaStreamTracks not being stopped inside of the worker (fixes #204) 2025-11-02 13:00:38 +01:00
Vanilagy a14c0885d7 Bump patch 2025-10-21 16:28:03 +02:00
Vanilagy c7b45eabf0 Explanatory comment 2025-10-21 16:27:27 +02:00
Vanilagy 8629709cd7 < 8 2025-10-21 16:27:04 +02:00
David P.andGitHub 754af6f90f Merge pull request #186 from JonnyBurger/fix-185
Make Mediabunny more resilient against `data` boxes ending abruptly
2025-10-21 16:24:02 +02:00
David P.andGitHub fa1fc27577 Merge pull request #187 from JonnyBurger/explain-examples-server
Explain how to use examples dev server
2025-10-21 16:19:25 +02:00
Vanilagy e676de4129 Terminate reading a cluster early if another cluster is encountered (fixes #164) 2025-10-21 16:18:48 +02:00
Vanilagy 0c4c13cea2 Perform conversion API resampling even with process is set 2025-10-20 16:13:05 +02:00
Vanilagy 6d3af1b043 Bump minor 2025-10-17 15:17:25 +02:00
Vanilagy c29adb5997 Was fun while it lasted 2025-10-17 14:52:39 +02:00
Vanilagy e880f54553 Add custom processing to Conversion API 2025-10-17 14:52:13 +02:00
David P.andGitHub 21456e3bf6 Merge pull request #181 from thurinus/fix-pq
Fix the transfer characteristics map key for BT.2100 PQ
2025-10-15 21:08:24 -07:00
Vanilagy c4159c1391 Bump minor 2025-10-02 16:00:08 +02:00
Vanilagy f2f9b2f0c3 Add FilePathTarget 2025-10-02 15:59:46 +02:00
Vanilagy 203c0f307e Ignore read data after source disposal 2025-10-02 15:42:44 +02:00
Vanilagy 045ce43eb2 Vaycay 2025-10-02 11:39:18 +02:00
Vanilagy bb32f2ba26 Like this? 2025-10-02 11:38:29 +02:00
Vanilagy de4c44021a Bump minor 2025-10-02 11:29:38 +02:00
David P.andGitHub c91f46fd5e Merge pull request #158 from JonnyBurger/stop-retrying-on-cors-error
Stop retrying UrlSource if CORS error is suspected, add `src` to getRetryDelay
2025-10-02 11:01:17 +02:00
David P.andGitHub 08658e7728 Merge branch 'main' into stop-retrying-on-cors-error 2025-10-02 10:59:54 +02:00
Vanilagy bf0058987e Adjust CI logic *again* 2025-10-02 10:57:38 +02:00
Vanilagy 088d1f1701 Adjust Matroska cue point distribution logic, ensure no duplicate timestamps in cue points, fixing infinite recursion issue 2025-10-02 10:44:01 +02:00
David P.andGitHub 1e922e3d72 Merge pull request #162 from AJFunk/conversion_keyframes
add keyFrameInterval to ConversionVideoOptions
2025-10-01 22:24:13 +02:00
Vanilagy 7accface7b A few cleanups 2025-10-01 22:23:05 +02:00
Vanilagy c85a22493a Add AJ Funk 2025-10-01 17:32:24 +02:00
Vanilagy 8636297ee0 PQINA -> Pintura Labs 2025-09-30 13:37:02 +02:00
Vanilagy 045fe7652a Bump patch 2025-09-29 20:59:59 +02:00
Vanilagy b74854d0a0 Add .js extension even in declaration files 2025-09-29 20:43:40 +02:00
Vanilagy 7d747ae6d9 Dedent 2025-09-29 20:37:10 +02:00
Vanilagy 198928088b Make cluster/fragment lookup operations almost stateless, fix high Matroska memory, allow more maxCacheSizes 2025-09-29 20:36:37 +02:00
Vanilagy 0185383794 Add PQINA sponsor 2025-09-29 09:58:03 +02:00
Vanilagy 93a750316a Bump minor version 2025-09-26 16:34:00 +02:00
Vanilagy a1008b8088 Fix invalid crop region for rotated video samples (fixes #151) 2025-09-26 16:31:24 +02:00
Vanilagy be151d3494 Add isValid field to Conversion if output track counts haven't been reached, improve error messages to be more clear (closes #148) 2025-09-26 13:11:35 +02: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
Vanilagy 4819bf6755 Fix udta string box being read when the field was non-string, fix out of bounds string read (fixes #150) 2025-09-26 10:01:20 +02:00
Vanilagy f71ba8bc9e Fix oopsie 2025-09-26 09:38:09 +02:00
Vanilagy 291e7a7122 Fix test runner in release script 2025-09-25 15:20:48 +02:00
Vanilagy 728c8cd928 Bump minor version 2025-09-25 15:11:48 +02:00
Vanilagy 3f03eb8fbb Small adjustments 2025-09-25 14:49:09 +02:00
Vanilagy 537119357d Add strict slice range validation, fix RF64 reading error (fixes #146) 2025-09-25 10:26:44 +02:00
Vanilagy a043f410fd Make samples disposable 2025-09-24 21:41:52 +02:00
David P.andGitHub 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 0878dd2ca9 Make stripped Node.js import more resilient 2025-09-24 11:41:48 +02:00
Vanilagy 1b1dd24959 Add missing docs 2025-09-22 22:06:09 +02:00
Vanilagy fb0bc07bb5 Bump minor 2025-09-22 21:54:41 +02:00
Vanilagy f9a7735aae Explicitly throw for odd video dimensions for AVC and HEVC (closes #142) 2025-09-22 15:37:31 +02:00
Vanilagy cab8319051 Add metadata tags example to README 2025-09-22 11:16:49 +02:00
Vanilagy 15db099caf Add fetchFn to UrlSourceOptions, allow Request as UrlSource input, pass error message to getRetryDelay, add fallback for Blob.stream() 2025-09-22 11:10:39 +02:00
Vanilagy 63145c9ced Improve docs 2025-09-21 23:41:10 +02:00
Vanilagy 608c769a7e Add explicit disposability to Inputs (#126) 2025-09-21 20:18:59 +02:00
Vanilagy 34c01fbb10 Add node:fs/promises to browser field in package.json (fixes #139) 2025-09-21 18:50:47 +02:00
Vanilagy de28817895 Bump minor 2025-09-21 17:45:28 +02:00
Vanilagy d855038fd4 Fix incorrect MP3 frame size calculation (fixes #140) 2025-09-21 17:42:31 +02:00
Vanilagy 9e1a23aefd Generate random BigInts instead of doubles 2025-09-19 23:21:36 +02:00
Vanilagy 216843e56a Add Aiden Liu sponsor 2025-09-19 20:20:05 +02:00
Vanilagy a3f4f7f4f7 Allow all Matroska AttachedFiles to be read & written via metadata tags 2025-09-19 20:12:29 +02:00
Vanilagy e28c34cb7a Properly merge different forms of headers in UrlSource (#126) 2025-09-19 18:04:02 +02:00
Vanilagy cfc2c2d864 Add spheric sponsor 2025-09-19 14:32:31 +02:00
Vanilagy a46e9ee9ec Fix flaky FLAC metadata reading 2025-09-19 14:29:41 +02:00
Vanilagy 23181a9ff6 Also run tests in release script 2025-09-19 14:07:16 +02:00
Vanilagy 88f9b64331 Fix faultily written Xing frame 2025-09-19 14:03:46 +02:00
Vanilagy eb1ce86187 Fix faulty MP3 bitrate and frame size calculation (fixes #134) 2025-09-19 13:20:36 +02:00