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: FFMPEG not found #8

Closed
Jbg123s opened this issue Dec 14, 2019 · 9 comments
Closed

Error: FFMPEG not found #8

Jbg123s opened this issue Dec 14, 2019 · 9 comments

Comments

@Jbg123s
Copy link

Jbg123s commented Dec 14, 2019

Describe the bug
When I use the !play cmd it gives the error Error: FFMPEG not found But I did install the FFMPEG package.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A I expected the bot to play the song

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [windows]
  • Browser [firefox]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@Jbg123s
Copy link
Author

Jbg123s commented Dec 14, 2019

Screenshot_93

@TannerGabriel
Copy link
Owner

You say that you downloaded the ffmpeg package that is included in the package.json file but that is only a tool to use ffmpeg in your application and you still need a local installation of the actual ffmpeg software on the machine the bot should run on.

Since you are on windows you can either download the software from the official website or add the ffmpeg-binaries package to your package.json (I would suggest taking the first approach because the ffmpeg-binaries is deprecated).

Try this solution and tell me if it helped.

@Jbg123s
Copy link
Author

Jbg123s commented Dec 15, 2019

I'm hosting my bot on a website why should I need to download ffmpeg on my pc?

@Jbg123s
Copy link
Author

Jbg123s commented Dec 17, 2019

Sorry for messaging again, but did u get my previous message?

@TannerGabriel
Copy link
Owner

Yeah, the bot still needs to run on some kind of physical machine and this machine needs to have the FFmpeg software installed so it can play music.
What exactly do you mean by hosting your bot on a website? Do you mean hosting on a server or website that distributes bots for people to use?

Hopefully, this helps you resolve your problem if not please send me more information about what exactly you are using the bot for.

@Jbg123s
Copy link
Author

Jbg123s commented Dec 18, 2019

I'm hosting my discord bot in a website like github.com.

@Jbg123s
Copy link
Author

Jbg123s commented Dec 26, 2019

@TannerGabriel

@TannerGabriel
Copy link
Owner

I need your concrete deployment configuration to help you with this issue (A website like Github isn't enough I need concrete information). Nonetheless, your bot will need to be hosted on a physical machine no matter who hosts it (Github or a local deployment) and that machine needs to have FFmpeg installed (I still think that is the issue).

When you deploy the config on a website I would recommend using the already provided Dockerfile for easy deployment but you can still run the node index.js command if you have no experience with Docker yet.

Another thing I personally would recommend is testing the bot on your local system so you can make sure that your code is working fine. After that, you can continue tweaking the deployment until you get it working.

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

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

No branches or pull requests

2 participants