Loops now uses mediabunny to transcode and optimize videos before uploading, using WebCodecs!
We have a very simple quality algorithm lol, but it does work great and reduces the file size significantly, allowing for reduced backend load.
The magic happens here ✨
https://github.com/joinloops/loops-server/blob/main/resources/js/pages/studio/upload.vue#L1472-L1556