Vanilagy
51b9de1c6f
Move PacketReader elsewhere
2025-12-30 12:31:33 +01:00
Vanilagy
ba26367529
PacketReader read -> get method naming
2025-12-30 12:07:08 +01:00
Vanilagy
8467a9d672
Name call serializers differently
2025-12-30 11:44:27 +01:00
Vanilagy
c2cfbbc786
Fix type errors
2025-12-29 21:26:02 +01:00
Vanilagy
ab4ef82a21
Merge branch 'v2' into cursors
2025-12-29 21:23:37 +01:00
Vanilagy
5b6b09750e
Merge branch 'main' into v2
2025-12-29 21:19:20 +01:00
Vanilagy
a614aeef5f
Fix type errors
2025-12-29 20:42:37 +01:00
Vanilagy
04b5cd8863
Merge remote-tracking branch 'origin/v2' into cursors
2025-12-29 20:38:43 +01:00
Vanilagy
405c91b1bd
Fix tests
2025-12-28 18:43:37 +01:00
Vanilagy
eed49ee1d0
Remove media sinks, adapt conversion code and computePacketStats to use cursors, remove setTimestamp, setDuration and setDuration on samples, add sample clone override options, optimize async mutex
2025-12-28 17:50:01 +01:00
Vanilagy
4f8c8836ec
Migrate FLAC demuxer to new packet system, move computeDuration impl to Input
2025-12-22 23:16:05 +01:00
Vanilagy
bc1511a201
Migrate Ogg demuxer to new packet system, improve Ogg demuxer performance
2025-12-22 22:52:26 +01:00
Vanilagy
0768f6137c
Migrate ADTS demuxer to new packet system
2025-12-21 20:23:39 +01:00
Vanilagy
b2c86ec4ba
Migrate WAVE demuxer to new packet system
2025-12-21 19:59:42 +01:00
Vanilagy
3285d5ea7d
Migrate Matroska demuxer to new packet system
2025-12-21 19:46:47 +01:00
Vanilagy
6722592e27
Migrate fragmented MP4 reading to new packet system, add tests for it, add packet internal data, and various other fixes prob
2025-12-21 19:11:46 +01:00
Vanilagy
00efb69a7d
Fully update MP3 demuxer to use new packet reading system & mutex, add MP3 reading tests
2025-12-21 11:52:54 +01:00
Vanilagy
3fa95cb449
Update media player example to use cursors, fix some cursor bugs, add more cursor tests
2025-12-20 21:46:24 +01:00
Vanilagy
c86af052f5
Add test for Annex B to length-prefixed conversion
2025-12-19 16:04:27 +01:00
Vanilagy
de82f6f3c9
SampleCursor code cleanup & couple of more fixes
2025-12-18 20:51:44 +01:00
Vanilagy
75af91f7b7
Validate nextKey behavior for audio tracks
2025-12-18 18:02:35 +01:00
Vanilagy
8815eab4a6
Add nextKey, better define waitUntilIdle, fix some bugs
2025-12-18 17:04:40 +01:00
Vanilagy
8267d0191c
Rename and extract function
2025-12-17 17:47:55 +01:00
Vanilagy
3bd227bd66
Change pump reuse rule: enforce queued commands are resolved in the order in which they are queued
2025-12-17 17:44:52 +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
d44b8bdbd3
Clone samples when reused with autoClose: false
2025-12-15 18:35:36 +01:00
Vanilagy
f045e5988c
Implement sample cursor reset()
2025-12-15 17:07:22 +01:00
Vanilagy
9222d943ad
Make cursor initialization instant, fix some code
2025-12-15 01:31:35 +01:00
Vanilagy
0f015d8e98
Add AudioSampleCursor, make sample cursor error behavior more explicit, add sample mapping, and a bunch of extra shit I forgot
2025-12-14 23:24:50 +01:00
Vanilagy
48abcb240f
Merge branch 'main' into cursors
2025-12-12 22:02:35 +01:00
Vanilagy
3dd7a9cb58
Fix unclosed samples in tests
2025-12-04 17:04:24 +01:00
Vanilagy
f86294b802
BIG cursor progress
...
- Add extensive tests for packet cursor, sample cursor, and call serialization
- Major PacketCursor refactor
- Add PacketReader
- Many SampleCursor fixes, harden the behavior
- Typo fixes and various other small things
2025-11-27 16:26:46 +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
Vanilagy
d447958519
Merge branch 'main' into fork-branch
2025-11-11 16:18:40 +01:00
Vanilagy
4f7a980fcc
Fix VideoSample drawing when the underlying VideoFrame is rotated, fix incorrect sample initialization from a rotated VideoFrame, and fix a few other things
2025-11-11 16:17:41 +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
6aee4e6a6a
Fix WAV files with embedded ID3 metadata returning empty tags ( #110 )
...
* Read ID3v2 tags from WAV file
* remove js import
Co-authored-by: David P. <[email protected] >
* revert slicing in wave-demuxer.ts and add id3.ts for further sharing
* Add `writeId3Tag` to the `WavOutputFormat` constructor options
* add more context in private and public APIs that it's non-standard
* compare actual values in the test with real file
* remove unnecesarry double slice requesting
* trim test audio file (i tried my best to preserve ID3, including artwork)
* Couple of code cleanups
* const -> using
* Fix linting errors
---------
Co-authored-by: David P. <[email protected] >
2025-09-22 14:06:06 +02:00
Vanilagy
608c769a7e
Add explicit disposability to Inputs ( #126 )
2025-09-21 20:18:59 +02:00