I want to use appwrite function convert video into audio using ffmpeg. How can I install ffmpeg into node runtime?
Hi
So, I've never tried it but
you would need to build ffmpeg and ship binary file as part of the deployment. Then, in the code, point to the binary and execute it.
I haven't done this, but based on the examples of node functions provided by appwrite, you should be able to npm install [whatever] in your function's node app, and then deploy it
another thing I've noticed while using functions, is that if you go to the Build Logs of your function, you will see something like this:
This is the generic output that npm install gives, so it seems like you should be able to add any dependencies to your node function, and when you deploy it, npm install will install whatever deps you have
Recommended threads
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error