Commit Graph
204 Commits
Author SHA1 Message Date
Vanilagy cbb2681d33 Create @mediabunny/mp3-encoder, restructure and extend build system 2025-08-10 00:45:30 +02:00
Vanilagy 1fe115ac83 Implement frame rate adjustment logic for Conversion API, fix source not being closed 2025-08-08 18:39:08 +02:00
David P.andGitHub 7e42e298c5 Merge pull request #45 from yonathan06/main
Custom fps convertion WIP
2025-08-08 17:20:04 +02:00
Vanilagy 597b68b299 Add support for Matroska lacing, fix packet lookup logic 2025-08-08 17:10:03 +02:00
Yonatan Bendahan b98d8e58ca remove console.log 2025-08-07 12:00:29 +03:00
Yonatan Bendahan dd60ca71b3 fix lint error 2025-08-07 11:56:44 +03:00
Yonatan Bendahan 4b99fd08ca with custom fps convertion 2025-08-07 11:47:50 +03:00
Frederick Widjaja 5b238c6d0f fix: check string for null terminators 2025-08-07 11:09:44 +07:00
Vanilagy 5a6b849ff8 Fix fragmented MP4 files with a non-empty sample table 2025-08-03 22:34:38 +02:00
Vanilagy 95091cce9c Add special top-level Cluster logic for Matroska demuxer 2025-07-28 12:03:19 +02:00
Vanilagy 72ed933bf4 Fix discarded rotation when doing VideoSample.clone() 2025-07-28 01:50:39 +02:00
Vanilagy ac8baa4873 Fall back to default timescale when not provided by the Matroska file 2025-07-27 13:03:43 +02:00
Vanilagy 50fe065852 Document API changes 2025-07-27 12:19:44 +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 c4d13ed698 Improve UrlSource fetching logic 2025-07-25 12:07:54 +02:00
Vanilagy 5e933d9362 Add packet type derivation logic, new verifyKeyPackets options, new determinePacketType method 2025-07-24 16:09:01 +02:00
Vanilagy 4b12468008 Add support for reading and writing RF64 WAVE files 2025-07-18 16:48:23 +02:00
Vanilagy b1b493ab10 Fix out of bounds reads for Matroska demuxer 2025-07-15 16:03:00 +02:00
Vanilagy cf0bbe896a Add longer variant to VideoSample.draw 2025-07-15 11:49:33 +02:00
Vanilagy 14ad80df5d Improve ISOBMFF demuxer to support fragments without a key frame 2025-07-11 10:57:24 +02:00
Vanilagy 514a533445 Reduce MP3 detection false positives 2025-07-11 10:07:45 +02:00
Vanilagy 9072a7a9f7 Be even more graceful with invalid ISOBMFF files 2025-07-10 17:47:56 +02:00
Vanilagy fba463f46b Be more graceful with unsupported edit lists 2025-07-10 17:33:10 +02:00
Vanilagy 84c9d37cb7 Revise build step and dist structure for better Webpack, CJS and pnpm support 2025-07-09 11:53:19 +02:00
Vanilagy 1b382d3e57 Improve unsupported encoder configuration error messages 2025-07-07 11:21:42 +02:00
Vanilagy f78fc697cd Allow DataView as AllowSharedBufferSource 2025-07-07 10:40:28 +02:00
Vanilagy 5e50c9bc81 Clean up package.json 2025-06-30 22:56:58 +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 e22839f5a2 Deal properly with truncated WAVE files 2025-06-23 15:53:31 +02:00
Vanilagy b15a5cd984 Fix incorrect cluster insertion for Matroska demuxer 2025-06-20 12:05:40 +02:00
Vanilagy 7203ee776c Add CI 2025-06-18 16:43:19 +02:00
Vanilagy eef573a972 Always flush when encountering a new key packet 2025-06-18 14:27:17 +02:00
Vanilagy d5671fd8ad Add targetPacketCount parameter to computePacketStats 2025-06-18 13:19:05 +02:00
Vanilagy befab215b4 Add "Quick start" to docs, small API and docs adjustments 2025-06-18 12:25:10 +02:00
Vanilagy a2fc4decda Fix contiguous box reading regression 2025-06-17 13:53:43 +02:00
Vanilagy 28597ea93c Yapperino 2025-06-16 20:51:58 +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 fa3f4b0052 Document conversion API 2025-06-08 22:42:23 +02:00
Vanilagy c7c57e2132 Add getMimeType to Output & other small adjustments 2025-06-07 22:51:57 +02:00
Vanilagy f5a56e1f62 Fix incorrectly processed timestamps for fragmented MP4 2025-06-07 18:54:19 +02:00
Vanilagy 0359a7f2b1 Fix PCM playback issue for certain malformed files 2025-06-06 20:02:46 +02:00
Vanilagy c600b60ee0 Provide "in-band" encoding errors 2025-06-05 15:31:38 +02:00
Vanilagy d0d847edf8 Add new utility functions for finding best codec 2025-06-05 14:01:39 +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 5d8599bbb5 Adjust comment 2025-05-30 20:28:55 +02:00
Vanilagy 61c9883817 Small conversion logic & API adjustments 2025-05-30 19:45:57 +02:00
Vanilagy 71a8f65578 Implement custom audio resampler for conversion 2025-05-29 19:41:26 +02:00