Ffmpeg in a canister

So right now, I’m doing some image resizing on the (mobile) client, but ideally I’d like to be able to do some more heavy image/video processing server-side.

Has anyone gotten ffmpeg, or any other similar multimedia processing tools, working in a canister? Am I right that I need to compile the ffmpeg source into wasm, create a Candid spec for it, and then create a “custom” canister from these two files? I have no idea how hard or easy that would be…

1 Like

See Wasm input file size limitations?

Yeah I was wondering if OP of that could respond haha

I wonder if this wasm image editing tool could be adapted easily

3 Likes

Pretty cool, thanks for sharing

Another one: https://ffmpegwasm.netlify.app/

Anyone get it working in a canister yet?