import { FFmpeg } from "@ffmpeg/ffmpeg";
If you finessed that `supportedFormats` array to add video formats, this would probably just work.
> Video uploads to a server for processing by default, learn how to set it up locally here.
The server code is open source too: https://github.com/VERT-sh/vertd