Back

Is it possible to install FFmpeg on a cloud function?

  • 0
  • Functions
darkmess
19 Jan, 2024, 10:41

Does anyone have experience with this? I need to be able to use ffmpeg inside a function

TL;DR
Question: Can FFmpeg be installed on a cloud function? Developer A: I've seen developers install Chromium on Appwrite Functions, so I believe installing FFmpeg should be possible as well. Have you tried building a binary during the build or cold-start process? Additionally, consider using a pre-built portable version of FFmpeg if available. Just make sure to use the Linux Alpine version of FFmpeg for it to run on Appwrite Functions. Solution: Try building a binary during the build or cold-start process, or use a pre-built portable version of FFmpeg (specifically the Linux Alpine version) to install it on Appwrite Functions.
Meldiron
19 Jan, 2024, 10:50

Hi 👋 I have seen developers installing Chromium on Appwrite Functions. That makes me think ffmpeg should also be possible. I have tried it myself but if you build a binary during build or cold-start, it should be usable. You might also consider pre-built portable version, if ffmpeg has that. For it to run on Appwrite Functions, you will need Linux Alpine version of ffmpeg

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more