How to access ffmpeg
I'm having some trouble to run the ffmpeg executable in my project, I need it to make a discord vocal bot
16 Replies
Project ID:
13160e48-de83-4357-ae78-221b90810634
Unfortunately, ffmpeg is blocked, as people like to use it to make illegal music downloading bots (which are against the TOS)
13160e48-de83-4357-ae78-221b90810634
Can i use something else ?
Not that I'm aware of, sorry. It's really unfortunate that some people do illegal things that ruin the experience for the rest of us, but they do.
I don't think ffmpeg is blocked...
People have used it in the past
Oh, it's not?
Nah
Oh
Sorry, pay no attention to my ramblings
https://nixpacks.com/docs/configuration/file Add it as a package in a nixpacks.toml
Configuration File Reference | Nixpacks
App source + Nix packages + Docker = Image
You can find packages here https://search.nixos.org/packages
And if you need it as a library, add
nixLibs = ["ffmpeg"]
as wellin the envierment variables ?
Make sure to add a "..." package as well so that all auto detected packages are installed as well
No, read my message above
So it's a file that i create and where i put [phases.setup]
nixPkgs = ["ffmpeg"] ?
Please read the configuration file docs
The first link I sent
How to get it throw script after installing ?
Here is my code
source = discord.FFmpegPCMAudio(rf"{self.path}\message.mp3", executable="ffmpeg")
rn, i'm getting a blank error (Error: )