Open andrptrc opened 3 days ago
ffmpeg must be installed on the server hosting the openai-edge-tts
project
So running sudo apt install ffmpeg
or brew install ffmpeg
and making sure it's accessible through the subprocess command in Python (most likely aligning your $PATH
so that it includes ffmpeg
)
https://github.com/travisvn/openai-edge-tts/blob/main/app/tts_handler.py#L62
I am unsure of the use case in your situation that adds Kubernetes to the mix, but the spirit of this project is for non-enterprise use.
If you'd like to discuss non-personal use for this project, feel free to contact me github@travisvn.com
I am running the project on a Kubernetes server for a school project, and every time I start the pod, I need to connect to the pod and run the apt install ffmpeg. I thought it was simply a missing line in the Dockerfile that should be run before launching the python script.
But if you think it should be done on the host machine directly in most use cases, it is not a problem :)
When deploying the Docker image on a Kubernetes cluster the server have this error where ffmpeg package is missing.
Here is my yaml file
Is the package installation missing from the Dockerfile or maybe is it the python3.12-slim that does not have it?