Commit Graph
100 Commits
Author SHA1 Message Date
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
Vanilagy e88bc15b0e Bump minor 2025-09-18 23:43:11 +02:00
Vanilagy 7664d48f70 Merge branch 'main' of https://github.com/Vanilagy/mediabunny 2025-09-18 15:14:01 +02:00
Vanilagy 4fd90cf73b Add missing block scope condition 2025-09-18 15:14:01 +02:00
David P.andGitHub d0c0a9221f Merge pull request #128 from JonnyBurger/headless-mode
Enable headless mode for browser tests
2025-09-18 11:10:12 +02:00
Vanilagy f340e19baa Clarify docs 2025-09-18 10:11:27 +02:00
Vanilagy 407dd05953 Make Matroska block decoding lazy 2025-09-18 10:00:03 +02:00
Vanilagy f13a81bee3 Bump minor 2025-09-17 23:09:53 +02:00
Vanilagy 6d5bd58ae8 Add support for header removal content compression in Matroska 2025-09-17 23:09:04 +02:00
Vanilagy 6907e25c6d Fix invalid Vorbis description for Ogg demuxer 2025-09-17 18:06:41 +02:00
Vanilagy 1a1664683b run -> GOP 2025-09-17 16:39:35 +02:00
Vanilagy 13224d2998 Add HADB sponsor 2025-09-17 14:15:45 +02:00
Vanilagy c5523516c7 Add fastStart: 'reserve' option (closes #119) 2025-09-17 12:26:24 +02:00
David P.andGitHub ec910bdd2c Merge pull request #124 from studnitz/main
Pin github actions to commit SHAs
2025-09-17 12:00:26 +02:00
Vanilagy f13941d350 Add Mux sponsor 2025-09-17 09:11:56 +02:00
Vanilagy 7d725d068b Bump patch 2025-09-16 23:12:51 +02:00
Vanilagy 7a0051bec5 Tag spam 2025-09-16 21:27:54 +02:00
Vanilagy 555006b9c3 Add improved logic for loading Node.js module (fixes #118) 2025-09-16 21:13:32 +02:00
Vanilagy 1bb3c0e262 Avoid opaque canvases in case of Firefox (fixes #117) 2025-09-16 17:42:23 +02:00
Vanilagy 530ccd7523 Drag 0-duration VideoFrame duration to null (fixes #116) 2025-09-16 15:50:14 +02:00
Vanilagy fcec67645a Allow object for tags field in conversion 2025-09-16 15:10:16 +02:00
Vanilagy 7efb092ff5 Add parsing of 'track' metadata key for ISOBMFF 2025-09-16 14:46:27 +02:00
Vanilagy d313a85053 Document cropping in more places 2025-09-12 17:30:31 +02:00
Vanilagy 1534eb4c40 Lint 2025-09-12 17:26:52 +02:00
Vanilagy 8fb08f1c8e Fix missing @group tag, add doc generation validation to build script 2025-09-12 17:16:12 +02:00
Vanilagy bc90a6dc16 Bump minor 2025-09-12 16:58:46 +02:00
David P.andGitHub ea8027bacb Merge pull request #97 from pablocubico/crop-feature
Add Crop feature
2025-09-12 16:56:56 +02:00
Vanilagy 3cfb9f27cb Prefix crop validation error messages 2025-09-12 16:52:55 +02:00
Vanilagy 684b7b7391 Fix order 2025-09-12 16:50:14 +02:00
Vanilagy c9433771e9 Fix description in docs 2025-09-12 16:49:46 +02:00
Vanilagy eba1f360d5 Clean up cropping logic 2025-09-12 16:48:35 +02:00
Vanilagy 4aca172d14 Merge branch 'main' into fork-branch 2025-09-12 15:46:12 +02:00
Vanilagy 6f06631355 Use decoder information for resampler sample rate, fix Opus sample rate to 48 kHz everywhere 2025-09-10 23:03:20 +02:00
Vanilagy f314f04037 Add wcw 2025-09-10 16:52:45 +02:00
Vanilagy b9f7ab2fa2 Skip HEVC RASL slices following a decoder reset 2025-09-09 13:09:41 +02:00
Vanilagy a295cd76c6 Oops 2025-09-08 12:54:50 +02:00
Vanilagy cb9f4e0fdf Fix conversion progress non-monotonicity 2025-09-07 22:36:53 +02:00
Vanilagy f3613b7260 Fix null sample in encoder support checking logic in Conversion API (#90) 2025-09-06 12:00:46 +02:00
Vanilagy b3396727f0 Merge branch 'main' into release 2025-09-06 02:29:45 +02:00
Vanilagy af25bb41ab Add "Used by" references to API docs 2025-09-06 02:29:34 +02:00
Vanilagy e672a51dc6 Merge branch 'main' into release 2025-09-06 02:16:26 +02:00
Vanilagy 2586e0e6f8 Display tags in metadata example 2025-09-06 02:15:42 +02:00
Vanilagy c345e1595d Bump minor 2025-09-05 23:42:22 +02:00
David P.andGitHub 63cb3099ec Merge pull request #74 from Vanilagy/metadata
Add descriptive metadata read/write support
2025-09-05 23:37:42 +02:00
Vanilagy 48d0c21306 Merge branch 'main' into metadata 2025-09-05 23:35:41 +02:00
Vanilagy dcd99f8930 Add metadata tag support to Conversion API 2025-09-05 23:34:24 +02:00
Vanilagy c6cb8f7b43 Document metadata tags 2025-09-05 22:27:46 +02:00
Vanilagy bd99d8f28f Add metadata tests, fix a few bugs 2025-09-05 21:42:26 +02:00
Vanilagy 42190900cd Disallow non-Latin-1 strings for WAVE metadata tags 2025-09-05 19:02:43 +02:00
Vanilagy b58476b1b0 Renaming 2025-09-05 18:59:13 +02:00
Vanilagy dd7804e5ab Add metadata read/write support for WAVE 2025-09-05 16:31:26 +02:00
Vanilagy d3a030c307 Add metadata read/write support for Ogg 2025-09-05 15:39:29 +02:00