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
d1dee6136b
Add missing license headers
2025-12-29 20:45:22 +01:00
Vanilagy
04b5cd8863
Merge remote-tracking branch 'origin/v2' into cursors
2025-12-29 20:38:43 +01:00
Vanilagy
0530c91ecd
Remove setTimestamp for AudioSample, add override options to its clone method
2025-12-28 18:11:04 +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
736cc50fa7
Fix aborted UrlSource not aborting request
2025-12-24 14:15:31 +01:00
Vanilagy
e56e754f9e
Formatting
2025-12-22 23:23:23 +01:00
Vanilagy
58d73b7de3
Make more use of sequenceNumber in getNextPacket
2025-12-22 23:20:51 +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
ece27cca79
Update thumbnail generation example to use cursors
2025-12-21 10:50:32 +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
831e838f74
Implement workaround for https://issues.chromium.org/issues/470109459
2025-12-19 13:06:11 +01:00
Vanilagy
de82f6f3c9
SampleCursor code cleanup & couple of more fixes
2025-12-18 20:51:44 +01:00
Vanilagy
8815eab4a6
Add nextKey, better define waitUntilIdle, fix some bugs
2025-12-18 17:04:40 +01:00
Vanilagy
9dbab133db
Add input type validation
2025-12-17 17:57:26 +01:00
Vanilagy
48c8b38ed5
Add InputDisposedError throwing to PacketReader
2025-12-17 17:51:33 +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
ccbf14565c
(Hopefully) improve error messages and stack traces a bit more (see #244 )
2025-12-17 15:31:51 +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
4dd747a0a6
Conversion.init(hardwareAcceleration) option (#254 )
...
* Support Conversion.init(hardwareAcceleration) option passed down to the VideoEncodingConfig.
fix #253
* Few changes
---------
Co-authored-by: Raphaël Droz <[email protected] >
Co-authored-by: Vanilagy <[email protected] >
2025-12-17 10:28:29 +00: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
fbcb4dcb95
By the creators of AsyncMutex3
2025-12-14 23:32:55 +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
84dec01dfd
Add pause and resume methods to MediaStreamTrack sources ( closes #241 )
2025-12-11 15:51:18 +01:00
Vanilagy
1ff8abdaab
"Extract function" ahh
2025-12-11 15:24:19 +01:00
Vanilagy
cc649ba192
Add allowRotationMetadata video conversion option (see #247 )
2025-12-11 14:41:00 +01:00
Vanilagy
0500beaf34
Fix user agent detection in workers ( fixes #223 , #242 )
2025-12-08 18:46:58 +01:00
Vanilagy
f424f6e840
Count AVC SEI recovery points as keyframes (except on older Chromium versions)
2025-12-07 19:24:08 +01:00
Vanilagy
11970675c6
Slightly adjust validated key packet retrieval logic
2025-12-05 23:00:40 +01:00
Vanilagy
d6c223b0f6
Fix keyframe sample index lookup logic for ISOBMFF in rare B-frame scenarios
2025-12-05 22:14:23 +01:00
Vanilagy
5b703a1c78
Fix MP3 encoder emitting incorrect timestamps, fixed overaggressive audio sample gap filling ( fixes #233 )
2025-12-05 12:41:36 +01:00
Vanilagy
816bb020fb
Fix incorrect conversion trim option typings, change release CI to "trusted publishing"
2025-12-04 16:40:41 +01:00
Vanilagy
e5aeff89e3
Wtf
2025-12-04 10:03:09 +01:00
Vanilagy
3620b04caf
Fix incomplete AV1 sequence header OBU parsing, fix missing saample close() calls in audio resampling path, add error logging when open samples are GC'd, bump patch
2025-12-04 09:58:12 +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
52d7ba07b0
Merge branch 'main' into cursors
2025-11-26 12:06:05 +01:00
Vanilagy
75096edb23
Update TypeScript, fix generic ArrayBufferView type errors, allow SharedArrayBuffer as input for BufferSource
2025-11-26 12:04:23 +01:00