mediabunny 1.44.2 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/dist/bundles/mediabunny.cjs +1297 -447
- package/dist/bundles/mediabunny.min.cjs +17 -17
- package/dist/bundles/mediabunny.min.mjs +17 -17
- package/dist/bundles/mediabunny.mjs +1297 -447
- package/dist/bundles/mediabunny.node.cjs +1297 -447
- package/dist/mediabunny.d.ts +219 -15
- package/dist/modules/src/conversion.d.ts +5 -5
- package/dist/modules/src/conversion.d.ts.map +1 -1
- package/dist/modules/src/conversion.js +58 -162
- package/dist/modules/src/encode.d.ts +9 -4
- package/dist/modules/src/encode.d.ts.map +1 -1
- package/dist/modules/src/encode.js +5 -3
- package/dist/modules/src/flac/flac-demuxer.d.ts.map +1 -1
- package/dist/modules/src/flac/flac-demuxer.js +1 -1
- package/dist/modules/src/index.d.ts +1 -1
- package/dist/modules/src/index.d.ts.map +1 -1
- package/dist/modules/src/index.js +1 -1
- package/dist/modules/src/input-format.d.ts.map +1 -1
- package/dist/modules/src/input-format.js +2 -1
- package/dist/modules/src/isobmff/isobmff-muxer.js +1 -1
- package/dist/modules/src/media-sink.d.ts +31 -0
- package/dist/modules/src/media-sink.d.ts.map +1 -1
- package/dist/modules/src/media-sink.js +353 -79
- package/dist/modules/src/media-source.d.ts +30 -0
- package/dist/modules/src/media-source.d.ts.map +1 -1
- package/dist/modules/src/media-source.js +287 -148
- package/dist/modules/src/misc.d.ts +1 -4
- package/dist/modules/src/misc.d.ts.map +1 -1
- package/dist/modules/src/misc.js +4 -4
- package/dist/modules/src/sample.d.ts +200 -8
- package/dist/modules/src/sample.d.ts.map +1 -1
- package/dist/modules/src/sample.js +820 -99
- package/dist/modules/src/source.d.ts +1 -1
- package/dist/modules/src/source.d.ts.map +1 -1
- package/dist/modules/src/source.js +8 -5
- package/dist/modules/src/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -6
- package/src/conversion.ts +70 -192
- package/src/encode.ts +14 -6
- package/src/flac/flac-demuxer.ts +2 -1
- package/src/index.ts +6 -0
- package/src/input-format.ts +2 -1
- package/src/isobmff/isobmff-muxer.ts +1 -1
- package/src/media-sink.ts +450 -93
- package/src/media-source.ts +356 -168
- package/src/misc.ts +5 -5
- package/src/sample.ts +1129 -112
- package/src/source.ts +11 -7
package/README.md
CHANGED
|
@@ -78,14 +78,14 @@ Mediabunny is a JavaScript library for reading, writing, and converting media (l
|
|
|
78
78
|
|
|
79
79
|
Core features include:
|
|
80
80
|
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
-
|
|
88
|
-
-
|
|
81
|
+
- Wide format support: Read _and_ write MP4, MOV, WebM, MKV, HLS, WAVE, MP3, Ogg, ADTS, FLAC, MPEG-TS
|
|
82
|
+
- Built-in encoding & decoding: Supports 25+ video, audio, and subtitle codecs, hardware-accelerated using the WebCodecs API
|
|
83
|
+
- High precision: Fine-grained, microsecond-accurate reading and writing operations
|
|
84
|
+
- Conversion API: Easy-to-use API with features such as transmuxing, transcoding, resizing, rotation, cropping, resampling, trimming, and more
|
|
85
|
+
- Streaming I/O: Handle reading & writing files of any size with memory-efficient streaming
|
|
86
|
+
- Cross-platform: Works in all browsers as well as in Node, Bun, and Deno using [`@mediabunny/server`](https://github.com/Vanilagy/mediabunny/blob/main/packages/server/README.md)
|
|
87
|
+
- Tree-shakable: Only bundle what you use (as small as 5 kB gzipped)
|
|
88
|
+
- Zero dependencies: Implemented in highly performant TypeScript
|
|
89
89
|
|
|
90
90
|
[See full feature list](https://mediabunny.dev/guide/introduction#features)
|
|
91
91
|
|