FFmpeg
bsk420
PROOP

a year ago

I get this error, with a discord bot.

Distube FFMPEG Error [test] spawn ffmpeg at 'ffmpeg' path

Jun 01 15:30:31

Distube FFMPEG Error [test] failed to spawn ffmpeg at 'ffmpeg': Error: /bin/sh: 1: ffmpeg: not found

Jun 01 15:30:31

Jun 01 15:30:31

at checkFFmpeg (/app/node_modules/distube/dist/index.js:827:52)

Jun 01 15:30:31

at QueueManager.create (/app/node_modules/distube/dist/index.js:1374:7)

Jun 01 15:30:31

at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

Jun 01 15:30:31

at async DisTube.play (/app/node_modules/distube/dist/index.js:2296:50)

Jun 01 15:30:31

at async Play.slashRun (/app/commands/music/play.js:72:5)

Jun 01 15:30:31

DisTubeError [FFMPEG_NOT_INSTALLED]: ffmpeg is not installed at 'ffmpeg' path

Jun 01 15:30:31

at checkFFmpeg (/app/node_modules/distube/dist/index.js:834:11)

Jun 01 15:30:31

at QueueManager.create (/app/node_modules/distube/dist/index.js:1374:7)

Jun 01 15:30:31

at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

Jun 01 15:30:31

at async DisTube.play (/app/node_modules/distube/dist/index.js:2296:50)

Jun 01 15:30:31

at async Play.slashRun (/app/commands/music/play.js:72:5) {

Jun 01 15:30:31

errorCode: 'FFMPEG_NOT_INSTALLED'

Jun 01 15:30:31

}

I thought it was a question of getting the ffmpeg-static package installed but that didn't work so I also tried with .toml file by adding:
[phases.setup] aptPkgs = ['ffmpeg']
This also didn't solve it how can I solve this.

Solved

5 Replies

a year ago

Hello,

Music bots are not allowed on this platform, please run it elsewhere or there is a risk of a ban.

https://railway.com/legal/fair-use

Best,

Brody


Status changed to Awaiting User Response Railway 11 months ago


bsk420
PROOP

a year ago

-


Status changed to Awaiting Railway Response Railway 11 months ago


brody

Hello,Music bots are not allowed on this platform, please run it elsewhere or there is a risk of a ban.https://railway.com/legal/fair-useBest,Brody

bsk420
PROOP

a year ago

Oh, didn’t know this I will refrain from using it, can I still host a discord bot here or is also against the fair use? This is a multi functional bot so I will just not use the music bot is that all right ?

Thanks in advance for the warning.


a year ago

Discord bots are no problem, it's just anything DMCA related that would be an issue.


Status changed to Awaiting User Response Railway 11 months ago


brody

Discord bots are no problem, it's just anything DMCA related that would be an issue.

bsk420
PROOP

a year ago

Amazing, I'm currently using Champion Ultra, which is Multipurpose bot that includes the music feature, but it won't work anyways without the FFmpeg so I will just leave that disabled.

Thanks.


Status changed to Awaiting Railway Response Railway 11 months ago


Status changed to Solved angelo-railway 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...