codealchemist / youtube-audio-server

Easily stream and download audio from YouTube.
75 stars 32 forks source link

Error: Cannot find ffmpeg #14

Closed smiledev1230 closed 5 years ago

smiledev1230 commented 5 years ago

it works well on local but not on node server. Error: Cannot find ffmpeg at /user_code/node_modules/youtube-audio-server/node_modules/fluent-ffmpeg/lib/processor.js:136:22 at /user_code/node_modules/youtube-audio-server/node_modules/fluent-ffmpeg/lib/capabilities.js:123:9 at /user_code/node_modules/youtube-audio-server/node_modules/async/dist/async.js:473:16 at next (/user_code/node_modules/youtube-audio-server/node_modules/async/dist/async.js:5329:29) at /user_code/node_modules/youtube-audio-server/node_modules/async/dist/async.js:969:16

codealchemist commented 5 years ago

This is expected to happen if ffmpeg is not installed on the host. Check out: https://www.npmjs.com/package/fluent-ffmpeg

So you'll need to install ffmpeg on your server for it to work.

Thx!