From 23aa1f5208f7ee446935af7e6f966c9ee386d9b1 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 23 Aug 2024 09:35:05 +0200 Subject: [PATCH] Update README.md --- README.md | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a120a48c..56857b30 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,49 @@ -# +

+ +

+ +

+ Getting Started · + Transcode · + Package +

Mixwave is a self hostable platform that aims to simplify the complexities of video delivery. Transcode and package your media for online streaming with simple API calls and sane defaults. Visit our [documentation](https://matvp91.github.io/mixwave/) for more info. +Wondering how easy it is? Let's pick a Big Buck Bunny video and package it to HLS with a single `720p` video track. + +```javascript +{ + // Specify your input sources, can be video, audio or text. + "inputs": [ + { + "path": "s3://source/BigBuckBunny.mp4", + "type": "video" + }, + ... + ], + + // Specify your output streams, you can add multiple video, audio or text streams with different options. + "streams": [ + { + "type": "video", + "codec": "h264", + "height": 720, + "bitrate": 4000000, + "framerate": 24 + }, + ... + ], + + // When we finished the transcode job, we'll package right away. + // In case you need fine grained control over packaging, you can call the package endpoint yourself. + "package": true +} +``` + +When finished, an `HLS` playlist is available on your configured `S3` and is ready for playback. + > [!NOTE] > **Mixwave is in early development, we would appreciate your feedback.**