ffmpeg | ffprobe EACCES error on nodejs production server
In my express.js server I use ffmpeg for files, on local server everything works fine but on railway when I send file I'm getting error
this is what error I get
I've ffmpeg paths in express server written
like that but still getting issue, on stackoverflow i found solution to give ffprobe persmission
is it possible to do on railway?
11 Replies
Project ID:
00b1176f-3284-40c5-9b89-ff64391f880c
00b1176f-3284-40c5-9b89-ff64391f880c
dont use any kind of npm package that installs ffmpeg/ffprobe
install ffmpeg natively with a nixpacks.toml file
(the ffmpeg nix package does come with ffprobe too)
oh I'll check right now
this means removing all npm packages that install ffmpeg/ffprobe and only using the npm package that provides an api for ffmpeg
I'll have to remove all these packages as well right?
fluent-ffmpeg
is fine, it is just an api wrapper, the installers need to go
when using fluent-ffmpeg
in your code, do not specify a path for the ffmpeg or ffprobe binary's, that package should be able to find them itselfit should be like that right?
@Brody
i had typo issue
i had to name it nixpacks.toml