It would be nice to have this baked into the app somehow.
Pro Tip: Always consider compressing your videos before uploading them to Nostr.
This can significantly reduce the load on CDN providers, faster video loading for everyone, with minimal impact on quality.
It's free and takes few seconds, upto 90% size reduction.
Compression tool:
https://tools.rotato.app/compress

Discussion
It uses FFmpeg, which is open-source, and there are many libraries available. I recently implemented it in JavaScript & flutter, both had library/package, implementation was simple.
Does it work all the time. Our current compressor is also ffmpeg, but I don't think it compresses really well most of the time. βΉοΈ
I tried the JS WebAssembly library, but it didn't work. Fluent-FFmpeg integration went smoothly, though it was a bit slow.
I'll try to finish my Flutter implementation today. Once done, I can share the code if you're interested. Flutter also uses the Fluent-FFmpeg package.
What do you mean "our" compressor? In amethyst or some other project?