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
- Realtime api and labels as permission
in my tables i set labels as permission and real-time capabilities stopped working. Before when i was having "any" role everything was working. Note: user have...
- After assigning a domain to my Dart func...
I’ve attached the images. Could anyone please explain how this execution is being performed?
- how to access the value of account statu...