a year ago
I’m deploying a Django application on Railway and using ffmpeg for video processing. Locally, ffmpeg works fine when included in my project directory. However, in the Railway deployment environment, I’m encountering issues where ffmpeg seems to be missing or not recognized.
Local Setup:ffmpeg is included in the ffmpeg/bin directory within my project. The path is set in Django settings based on the environment.
ffmpeg is accessed via path not installed (best opt should be containerize it but just finding a walk through)
Issue: Despite setting up the path correctly, ffmpeg is not recognized in the Railway deployment environment. I need guidance on ensuring ffmpeg is correctly included and accessible.
2 Replies
a year ago
Got the same exact problem with my python bot. Can't fix it for a week by now, if you find the answer - I'd really appreciate it if you would tell me.
a year ago
the simplest solution was docker and making sure FFMPEG is accessible globally in the production env than executing it via path