R
Railway14mo ago
Arifs

Install FFmpeg

I have a project in railway and I'm hosting a Django app. For the purpose of my project, I need to install FFmpeg. Is there any way to install it in railway? I'm pretty new in Railway and don't know much. Thanks in advance!
7 Replies
Percy
Percy14mo ago
Project ID: N/A
Arifs
Arifs14mo ago
N/A
Brody
Brody14mo ago
nixpacks.toml
[phases.setup]
aptPkgs = ["...", "ffmpeg"]
[phases.setup]
aptPkgs = ["...", "ffmpeg"]
place that into a nixpacks.toml file in the root of your project
Arifs
Arifs14mo ago
Thank you!
Brody
Brody14mo ago
it worked?
Arifs
Arifs14mo ago
yes, it works perfectly, many thanks!
Brody
Brody14mo ago
awsome, no problem!