serverworm
help installing ffmpeg
Good afternoon! My id: c6b9e3b3-6071-4fe9-b676-cac1c0f3c7ad
My telegram bot needs the FFmpeg library to work with voice messages. It works fine locally, but when deployed on the rails.app platform, it throws an error during execution " RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning) ". I looked at the build settings via Nix and created a nixpacks.toml file with the configuration [ Phases.setup ] aptPkgs = [ "ffmpeg-python" ]; [ start ] cmd = "python bot/main.py " , but it did not lead to success. I really love your service, but when this problem affected other users, they had to switch to another platform, which I absolutely do not want. Thank you for your time!
21 replies