How to use ffmpeg on Railway by writing in nixpacks.toml?
I developed a Discord Bot on Heroku and am considering migrating from Heroku to Railway.
I used the following buildpacks on Heroku.
https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
https://github.com/Crazycatz00/heroku-buildpack-libopus.git
I would like to know how to write in nixpacks.toml in Railway. I am not looking to create a music bot, I am looking to create a bot that reads text on discord.
I understand that knowing how to do this may encourage the creation of music bots, so could you please DM me about how to do this?
Incidentally, the following description does not seem to work.
I get an error like this
GitHub
GitHub - jonathanong/heroku-buildpack-ffmpeg-latest: A Heroku build...
A Heroku buildpack for ffmpeg that always downloads the latest static build - GitHub - jonathanong/heroku-buildpack-ffmpeg-latest: A Heroku buildpack for ffmpeg that always downloads the latest sta...
GitHub
GitHub - Crazycatz00/heroku-buildpack-libopus
Contribute to Crazycatz00/heroku-buildpack-libopus development by creating an account on GitHub.
13 Replies
If you host music bots on the platform you’re probably gonna get banned
Just a heads up
^^Know that you said you weren’t I’m putting this disclaimer there for people who find this thread
As I stated in the text of my question, I fully understand that hosting MUSIC BOTS is prohibited.
I will never host a music bot, and if I do, you can ban me.
This is a technical question for running a build with nixpacks.toml on Railway and I believe it is a useful question for users to use Railway's services.
And I understand that this method should not be made public, so please let me know how to do this via direct message.
What is your final conclusion? In this case, does it mean that we cannot build & deploy in the way we describe in nixpacks.toml?
Why am I getting an error when I have libopus in nixpacks.toml?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Project ID:8153aade-2cb8-4e3e-a2c6-36ad01e8f5fd
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I will paste the log file again.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Yes it does. But I get a raise OpusNotLoaded() error as I wrote above.
Is there something wrong with the way libopus was introduced?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I see...(´;ω;`). Let me know if you find out anything.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
@granato did you find a solution ? i'm stuck at that too
please make your own thread