Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find ffmpeg on Azure Function #1275

Open
KelvinTseTR opened this issue May 22, 2024 · 1 comment
Open

Error: Cannot find ffmpeg on Azure Function #1275

KelvinTseTR opened this issue May 22, 2024 · 1 comment

Comments

@KelvinTseTR
Copy link

I am running fluent-ffmpeg on Azure Function App. It works when testing locally. However, when I run the code on Azure, it cannot read ffmpeg with the following error:

Error: Cannot find ffmpeg
at /home/site/wwwroot/node_modules/fluent-ffmpeg/lib/processor.js:134:22
at proto._getFfmpegPath (/home/site/wwwroot/node_modules/fluent-ffmpeg/lib/capabilities.js:90:14)
at proto._spawnFfmpeg (/home/site/wwwroot/node_modules/fluent-ffmpeg/lib/processor.js:130:10)
at proto.availableFormats.proto.getAvailableFormats (/home/site/wwwroot/node_modules/fluent-ffmpeg/lib/capabilities.js:517:10)
at /home/site/wwwroot/node_modules/fluent-ffmpeg/lib/capabilities.js:568:14
at fn (/home/site/wwwroot/node_modules/async/lib/async.js:582:34)
at Immediate._onImmediate (/home/site/wwwroot/node_modules/async/lib/async.js:498:34)
at process.processImmediate (node:internal/timers:478:21)

Version information

  • fluent-ffmpeg version: 2.1.3
  • ffmpeg version: 7.0
  • OS: Linux

Anyone have the same trouble of implementing fleunt-ffmpeg on Azure and how do you resolve that?

@mithiridi
Copy link

@KelvinTseTR is there any solution for this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants