ffprobe error: `ffprobe was killed with signal SIGSEGV`
I'm trying to use ffmpeg on my railway app and i've got ffmpeg itself installed and working correctly. However i'm using
@ffprobe-installer/ffprobe
and it's not happy on my production server. It works locally without an issue. I've tried debugging for nearly an hour now and can't find any solid leads on how to fix, has anyone else ran into this or know a solution? Thanks in advance!11 Replies
Project ID:
032691a9-579d-4d39-803c-9d1cd5ab1b9f
032691a9-579d-4d39-803c-9d1cd5ab1b9f
might be an out of memory issue, might be an issue with how that package is installing ffmpeg, let's try to get ffmpeg installed correctly first.
first, remove that package completely, then use this a nixpacks.toml file
and then let me know how that goes
ffmpeg is installed correctly, i've got 1 endpoint on the server that does not user
ffprobe
and it works well. only ffprobe is causing issues
also, I do have the nixpacks.toml setup like you mentionedwell then I'm back to my first guess lol
when it comes to memory on the server, where do I even debug something like that? This app is my first exposure to railway btw
I still think you should remove the ffprobe-installer package, because if you are installing ffmpeg from the nix package, it comes with ffprobe
i'll see what happens with that
i guess some more context fwiw -- i'm also using
fluent-ffmpeg
so i used that package per instructions for itgotcha, well let me know how removing that package goes
if no difference, then we move onto memory
hmm, strange -- it works. 🤣
however now it is broken locally because I assume my local ffmpeg was not installed with ffprobe so i need to use the additional package. I suppose I can just wrap that portion in an env conditional.
should be good to go now, I don't know that I would have known to just remove the package. thank you!
it's usually the simple little things, glad I could help