Podcast audio generator fails, can't find "ffprobe" #7226

Closed
opened 2026-02-21 18:19:32 -05:00 by yindo · 4 comments
Owner

Originally created by @shenhai-ran on GitHub (Dec 16, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.14.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I am use the example chatbot workflow Notebook LLM by Dify.AI and I have configured all the LLM and OpenAI TTS services. The generation of scripts works fine, but Podcast audio generator fails with the following error:

Error generating audio: [Errno 2] No such file or directory: 'ffprobe'

P.S.: sandbox version: 0.2.10

image

✔️ Expected Behavior

Generate audio files

Actual Behavior

No file generated

Originally created by @shenhai-ran on GitHub (Dec 16, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.14.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce I am use the example chatbot workflow `Notebook LLM by Dify.AI` and I have configured all the LLM and OpenAI TTS services. The generation of scripts works fine, but `Podcast audio generator` fails with the following error: ``` Error generating audio: [Errno 2] No such file or directory: 'ffprobe' ``` P.S.: sandbox version: 0.2.10 ![image](https://github.com/user-attachments/assets/2af93604-58d4-4a27-8331-ed6dfff4dee1) ### ✔️ Expected Behavior Generate audio files ### ❌ Actual Behavior No file generated
yindo added the 🐞 bugstt & tts labels 2026-02-21 18:19:32 -05:00
yindo closed this issue 2026-02-21 18:19:32 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Dec 16, 2024):

The error "[Errno 2] No such file or directory: 'ffprobe'" indicates that the FFmpeg installation, which includes the ffprobe tool, is missing from your system. To resolve this issue, you need to install FFmpeg in your Docker environment.

You can install FFmpeg using a package manager. For Debian-based systems, use the following commands:

sudo apt update
sudo apt install ffmpeg

Ensure that FFmpeg is installed and accessible within the Docker container where the Podcast audio generator is running. This installation is necessary for the OpenAI TTS service, as FFmpeg is used for audio stream segmentation [1][2][3].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosubot[bot] commented on GitHub (Dec 16, 2024): <!-- Answer --> The error "[Errno 2] No such file or directory: 'ffprobe'" indicates that the FFmpeg installation, which includes the `ffprobe` tool, is missing from your system. To resolve this issue, you need to install FFmpeg in your Docker environment. You can install FFmpeg using a package manager. For Debian-based systems, use the following commands: ```bash sudo apt update sudo apt install ffmpeg ``` Ensure that FFmpeg is installed and accessible within the Docker container where the Podcast audio generator is running. This installation is necessary for the OpenAI TTS service, as FFmpeg is used for audio stream segmentation <sup>[[1]](https://github.com/langgenius/dify-docs/blob/main/jp/getting-started/install-self-hosted/local-source-code.md)</sup><sup>[[2]](https://github.com/langgenius/dify-docs/blob/main/zh_CN/learn-more/faq/install-faq.md)</sup><sup>[[3]](https://github.com/langgenius/dify-docs/blob/main/_book/zh_CN/learn-more/faq/install-faq.md)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/431f7efc-5e38-4efa-9a6c-bc783d0f7242?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/431f7efc-5e38-4efa-9a6c-bc783d0f7242?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/431f7efc-5e38-4efa-9a6c-bc783d0f7242?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/431f7efc-5e38-4efa-9a6c-bc783d0f7242?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/431f7efc-5e38-4efa-9a6c-bc783d0f7242?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/431f7efc-5e38-4efa-9a6c-bc783d0f7242?feedback_type=other)</sup>
Author
Owner

@yihong0618 commented on GitHub (Dec 16, 2024):

you need to install ffmpeg in your local env!
the bot answer right.....I never thought it could be useful.....

@yihong0618 commented on GitHub (Dec 16, 2024): you need to install ffmpeg in your local env! the bot answer right.....I never thought it could be useful.....
Author
Owner

@shenhai-ran commented on GitHub (Dec 17, 2024):

@yihong0618 thanks for confirmation. I am a bit confused. How can docker service access ffmpeg on my local host? I thought it needs to be installed in the Sandbox, as the bot said.... so it is not complete right

@shenhai-ran commented on GitHub (Dec 17, 2024): @yihong0618 thanks for confirmation. I am a bit confused. How can docker service access `ffmpeg` on my local host? I thought it needs to be installed in the Sandbox, as the bot said.... so it is not complete right
Author
Owner

@yihong0618 commented on GitHub (Dec 17, 2024):

@yihong0618 thanks for confirmation. I am a bit confused. How can docker service access ffmpeg on my local host? I thought it needs to be installed in the Sandbox, as the bot said.... so it is not complete right

https://github.com/langgenius/dify/pull/11768

@yihong0618 commented on GitHub (Dec 17, 2024): > @yihong0618 thanks for confirmation. I am a bit confused. How can docker service access `ffmpeg` on my local host? I thought it needs to be installed in the Sandbox, as the bot said.... so it is not complete right https://github.com/langgenius/dify/pull/11768
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#7226