#How to use `ffmpeg` in Deno?

1 messages · Page 1 of 1 (latest)

wild ibex
#

I want to deploy my app on Deno Deploy ,but i don't know how to use ffmpeg on that.
The libraries that i got from github for deno ffmpeg uses ffmpeg.exe . How can i do the same on debo deploy?

spice juniper
#

you could potentially try a wasm port of ffmpeg but I imagine performance will not be great

#

for your use case I’d probably use a VPS

wild ibex
latent mango
#

you can also use dax to execute ffmpeg like you would on a cli

heady oasis
latent mango
#

ffmpeg is not viable on deploy, theres a 50ms cpu time limit

heady oasis
#

FWIW, I tried ffmpeg.wasm but could not get it to run on Deploy. There is an issue on their Github repo.

latent mango
#

what's your use case

heady oasis
# latent mango what's your use case

Not the OP, but I was trying to see if I can mux video and audio coming from different fetch streams. The wasm port doesn't support stream input and output anyway 🙂