2 months ago
I cannot figure out how to enable the ffmpeg package on my project. Help would be appreciated.
Pinned Solution
2 months ago
check which builder you're using first: go to service settings → build section
if using railpack (most likely): add this environment variable in your service variables tab:
RAILPACK_DEPLOY_APT_PACKAGES=ffmpegif using nixpacks: create nixpacks.toml file in your repo root:
toml
[phases.setup]
nixPkgs = ['...', 'ffmpeg']then redeploy. ffmpeg will be in your system path
hope this help you 
5 Replies
2 months ago
check which builder you're using first: go to service settings → build section
if using railpack (most likely): add this environment variable in your service variables tab:
RAILPACK_DEPLOY_APT_PACKAGES=ffmpegif using nixpacks: create nixpacks.toml file in your repo root:
toml
[phases.setup]
nixPkgs = ['...', 'ffmpeg']then redeploy. ffmpeg will be in your system path
hope this help you 
2 months ago
does it work as expected?
2 months ago
I had to enter the variable as you sent it through the raw editor is all. Otherwise couldn't get it to work.
2 months ago
i'm happy it works for you
Status changed to Solved brody • about 2 months ago
