Vanilagy
4860a4bfe7
Probe encoder support with sample ( fixes #90 ), improve encoder error handling
2025-09-04 11:11:04 +02:00
Vanilagy
a2a30c3e92
Add API doc generator, improve documentation across the board
2025-09-03 18:11:43 +02:00
Vanilagy
63b8190185
Add logic for encoding video frames that change size over time ( #63 )
2025-08-24 16:37:03 +02:00
Vanilagy
5a6528d8f5
Add HW acceleration to unsupported message
2025-08-22 19:38:36 +02:00
Vanilagy
134a6f8f4e
Add more options to Video/AudioEncodingConfig, restructure code ( #61 )
2025-08-22 17:24:02 +02:00
Vanilagy
3be94cc788
Decrease AudioBuffer chunking size, support more MP3 sample rates, lift MP3 encoder memory limit
2025-08-15 14:19:06 +02:00
Vanilagy
7e546c2cc7
Fix sample closing before it reaches the custom encoder
2025-08-12 15:36:17 +02:00
Vanilagy
ae0266df52
Clarify decode order thing for encoded packet sources
2025-08-11 18:41:15 +02:00
Vanilagy
80c6fa3201
Fall back to webkitAudioContext
2025-08-11 01:51:20 +02:00
Vanilagy
ba0491de3a
Circumvent flush() being called on sources when cancelling output, surface error before doing cleanup
2025-08-10 03:24:17 +02:00
Vanilagy
cbb2681d33
Create @mediabunny/mp3-encoder, restructure and extend build system
2025-08-10 00:45:30 +02:00
Vanilagy
d38ad22559
Big realtime playback refactor
...
- Added Worker- or AudioContext-based fallbacks in case MediaStreamTrackProcessor is not available
- Fixed fMP4-streamed files not playing in Safari
- Added better error handling for MediaStream sources
- Improved the live recording example to be more robust
2025-07-27 12:13:03 +02:00
Vanilagy
1b382d3e57
Improve unsupported encoder configuration error messages
2025-07-07 11:21:42 +02:00
Vanilagy
846fa0b183
Adjust legal comment
2025-06-27 13:22:19 +02:00
Vanilagy
a3d73228e2
Add proper license
2025-06-27 13:14:11 +02:00
Vanilagy
05881ff1f5
Add support for PCM codecs in MP4, add 64-bit float PCM support
2025-06-16 10:49:55 +02:00
Vanilagy
0ca1425036
Make some more fields readonly
2025-06-09 22:49:54 +02:00
Vanilagy
c600b60ee0
Provide "in-band" encoding errors
2025-06-05 15:31:38 +02:00
Vanilagy
6f020650cc
Make MediaSource.close return void
2025-06-04 15:39:36 +02:00
Vanilagy
a7386fc6c3
Add file compression example
2025-06-01 18:14:37 +02:00
Vanilagy
865fdcf110
Fix async race condition bug
2025-05-08 16:23:07 +02:00
Vanilagy
86231bf6e2
Dry some code
2025-04-28 20:03:18 +02:00
Vanilagy
ac1b009486
Implement "cross-track offset" for MediaStreamTrack sources & small fixes
2025-04-28 18:31:53 +02:00
Vanilagy
ca77ce2d94
Validate types returned by custom coders, refactor custom coder call serialization logic, improve metadata validation
2025-04-28 17:31:56 +02:00
Vanilagy
7fe0593b6c
Fix EBML parsers for large integers, make small API and docblock adjustments
2025-04-25 17:35:03 +02:00
Vanilagy
3f8a907c7f
Update media sources docs
2025-04-05 16:58:51 +02:00
Vanilagy
97e2a9c1ba
Add fullCodecString and rename other config field
2025-04-05 16:49:58 +02:00
Vanilagy
c95058e659
Add onEncoderConfig
2025-04-05 15:16:48 +02:00
Vanilagy
4645b0d6a5
Allow Matroska clusters that don't begin with a key frame
2025-03-21 22:50:57 +01:00
David Payr
3863ffe4d8
Add documentation comments everywhere
2025-03-15 17:12:42 +01:00
David Payr
6eb5c02591
Add VideoSample and AudioSample abstractions
2025-03-13 21:46:39 +01:00
Vanilagy
d833b5ef31
Make use of OffscreenCanvas
2025-03-02 19:30:09 +01:00
Vanilagy
00975b456c
Fix error when aborting conversion, expose Conversion class for more control, refactor Output state
2025-03-02 17:32:56 +01:00
David Payr
c2b20ccda5
EncodedVideoSample/EncodedAudioSample -> EncodedPacket
2025-02-22 19:54:59 +01:00
Vanilagy
3848a59ec3
0-duration VideoFrame
2025-02-16 19:03:36 +01:00
Vanilagy
a4c5ab4a8c
Add fix to ensure VideoFrames are output in timestamp order, fix atTimestamps iterator logic & leaks
2025-02-16 18:30:14 +01:00
Vanilagy
557314c640
digest -> add
2025-02-09 17:59:30 +01:00
Vanilagy
02ac371011
Drop frames if encoded is overloaded
2025-02-09 17:40:07 +01:00
Vanilagy
ffd0835e9a
Add support for custom encoders & decoders
2025-01-26 17:32:10 +01:00
Vanilagy
70b88332b2
Add media conversion utility function, fix fragment/cluster reading issues, expand color space logic, add qualitative bitrates, & many other fixes and improvements
2025-01-19 18:55:12 +01:00
Vanilagy
9d51a896ae
Make sure encoders are ensured only once
2025-01-07 21:58:30 +01:00
Vanilagy
48c9a225e2
Improve encoders and check availability
2025-01-06 21:22:15 +01:00
Vanilagy
00408c86ff
Add support for remaining audio codecs to Matroska muxer
2025-01-06 21:09:12 +01:00
Vanilagy
2625dc7662
Implement PCM encoders
2025-01-05 15:58:20 +01:00
Vanilagy
ee81e1b674
Add support for all audio codecs in the ISOBMFF muxer (& some fixes)
2025-01-05 13:50:50 +01:00
Vanilagy
5bb9f8609c
Allow non-zero initial timestamps for ISOBMFF muxer
2025-01-04 14:02:45 +01:00
Vanilagy
1145e0ebbe
Use new sample classes for muxers as well
2025-01-04 00:28:54 +01:00
Vanilagy
60947168f9
CodecConfig -> EncodingConfig
2025-01-02 23:15:30 +01:00
Vanilagy
9ac0519217
Add onEncodedChunk callback
2025-01-02 20:01:30 +01:00
Vanilagy
141bed1b37
Add Output.cancel
2025-01-02 19:57:32 +01:00