diff --git a/docs/assets/mingcute--file-info-line.svg b/docs/assets/mingcute--file-info-line.svg new file mode 100644 index 0000000..ad90e0f --- /dev/null +++ b/docs/assets/mingcute--file-info-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/mingcute--file-zip-line.svg b/docs/assets/mingcute--file-zip-line.svg new file mode 100644 index 0000000..3307918 --- /dev/null +++ b/docs/assets/mingcute--file-zip-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/mingcute--magic-3-line.svg b/docs/assets/mingcute--magic-3-line.svg new file mode 100644 index 0000000..4335d7f --- /dev/null +++ b/docs/assets/mingcute--magic-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/mingcute--microphone-line.svg b/docs/assets/mingcute--microphone-line.svg new file mode 100644 index 0000000..90668c4 --- /dev/null +++ b/docs/assets/mingcute--microphone-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/mingcute--photo-album-line.svg b/docs/assets/mingcute--photo-album-line.svg new file mode 100644 index 0000000..2387bfc --- /dev/null +++ b/docs/assets/mingcute--photo-album-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/mingcute--video-line.svg b/docs/assets/mingcute--video-line.svg new file mode 100644 index 0000000..47632ca --- /dev/null +++ b/docs/assets/mingcute--video-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/examples.md b/docs/examples.md index 5597b6f..e49b66f 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -11,24 +11,36 @@ features: details: Extract various metadata from an input media file. link: /examples/metadata-extraction target: _self + icon: + src: ./assets/mingcute--file-info-line.svg - title: Thumbnail generation details: Generate multiple small thumbnails for a video track. link: /examples/thumbnail-generation target: _self + icon: + src: ./assets/mingcute--photo-album-line.svg - title: Media player (advanced) details: "A full video & audio media player, implemented from scratch with Mediabunny, with microsecond playback accuracy." link: /examples/media-player target: _self + icon: + src: ./assets/mingcute--video-line.svg - title: File compression details: Convert an input file to a highly-compressed MP4 file. link: /examples/file-compression target: _self + icon: + src: ./assets/mingcute--file-zip-line.svg - title: Procedural video generation details: Generate a video file as fast as the hardware allows. link: /examples/procedural-generation target: _self + icon: + src: ./assets/mingcute--magic-3-line.svg - title: Live recording details: Record a video from live sources and stream it to a video element. link: /examples/live-recording target: _self + icon: + src: ./assets/mingcute--microphone-line.svg --- diff --git a/docs/index.md b/docs/index.md index 3e72f87..a5dc294 100644 --- a/docs/index.md +++ b/docs/index.md @@ -108,6 +108,14 @@ const sponsors = { +
+ +```bash +npm install mediabunny +``` + +
+
diff --git a/examples/file-compression/index.html b/examples/file-compression/index.html index d424ac6..6ec1051 100644 --- a/examples/file-compression/index.html +++ b/examples/file-compression/index.html @@ -12,7 +12,7 @@ -

File compression example

+

File compression example

Select or drop a media file, and Mediabunny will convert it to a heavily-compressed MP4 file.

diff --git a/examples/live-recording/index.html b/examples/live-recording/index.html index 2472c1f..92aa8bf 100644 --- a/examples/live-recording/index.html +++ b/examples/live-recording/index.html @@ -12,7 +12,7 @@ -

Live recording example

+

Live recording example

The live canvas state and your microphone input will be written into a fragmented MP4 file and live-streamed to a <video> element.