ChatTTS, Text-to-Speech, has no sound, but it plays all the time #13902

Closed
opened 2026-02-21 19:14:26 -05:00 by yindo · 6 comments
Owner

Originally created by @a32800464 on GitHub (May 15, 2025).

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

1.3.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

The model is successfully deployed, and it can be called directly in the Python code, but dify plays without sound, and the log does not report errors.

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @a32800464 on GitHub (May 15, 2025). ### 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 1.3.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce The model is successfully deployed, and it can be called directly in the Python code, but dify plays without sound, and the log does not report errors. ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bugstt & tts labels 2026-02-21 19:14:26 -05:00
yindo closed this issue 2026-02-21 19:14:26 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (May 15, 2025):

Hello @a32800464! I'm Dosu, your friendly bot here to assist with bugs, answer questions, and help you become a contributor. I'm here to help while you wait for a human maintainer. Let's tackle this together! 🎉

The issue of the ChatTTS Text-to-Speech feature playing without sound when self-hosted using Docker in Dify version 1.3.1 may be due to the absence of FFmpeg installation. OpenAI TTS requires FFmpeg for audio stream segmentation. Ensure FFmpeg is installed on your system following the provided steps for your operating system (Windows, Ubuntu, or CentOS) [1].

To continue talking to Dosu, mention @dosu.


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

@dosubot[bot] commented on GitHub (May 15, 2025): <!-- Greeting --> Hello @a32800464! I'm [Dosu](https://dosu.dev), your friendly bot here to assist with bugs, answer questions, and help you become a contributor. I'm here to help while you wait for a human maintainer. Let's tackle this together! 🎉 <!-- Answer --> The issue of the ChatTTS Text-to-Speech feature playing without sound when self-hosted using Docker in Dify version 1.3.1 may be due to the absence of FFmpeg installation. OpenAI TTS requires FFmpeg for audio stream segmentation. Ensure FFmpeg is installed on your system following the provided steps for your operating system (Windows, Ubuntu, or CentOS) <sup>[[1]](https://github.com/crazywoola/dify-docs-mintlify/blob/main/zh-hans/learn-more/faq/install-faq.mdx)</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/e1f1ee68-1be0-4bcf-970b-39401dab448c?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/e1f1ee68-1be0-4bcf-970b-39401dab448c?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/e1f1ee68-1be0-4bcf-970b-39401dab448c?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/e1f1ee68-1be0-4bcf-970b-39401dab448c?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/e1f1ee68-1be0-4bcf-970b-39401dab448c?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/e1f1ee68-1be0-4bcf-970b-39401dab448c?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/e1f1ee68-1be0-4bcf-970b-39401dab448c?feedback_type=other)</sup>
Author
Owner

@a32800464 commented on GitHub (May 15, 2025):

您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

@a32800464 commented on GitHub (May 15, 2025): 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
Author
Owner

@a32800464 commented on GitHub (May 15, 2025):

I'm sure I've installed ffmpeg in the conda environment,

Image

@a32800464 commented on GitHub (May 15, 2025): I'm sure I've installed ffmpeg in the conda environment, ![Image](https://github.com/user-attachments/assets/01c26cd1-c91a-45fb-b08f-6e2889069e64)
Author
Owner

@fkYang commented on GitHub (Jun 1, 2025):

same problems, finally find it's due to the audio format. you have to return the mp3 format. Could dify support more audio format, such as wav or flac

Image
@fkYang commented on GitHub (Jun 1, 2025): same problems, finally find it's due to the audio format. you have to return the **mp3** format. Could dify support more audio format, such as wav or flac <img width="685" alt="Image" src="https://github.com/user-attachments/assets/bd117cc8-a75f-4c2c-b399-b462b556c16a" />
Author
Owner

@a32800464 commented on GitHub (Jun 1, 2025):

您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

@a32800464 commented on GitHub (Jun 1, 2025): 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
Author
Owner

@a32800464 commented on GitHub (Jul 4, 2025):

您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

@a32800464 commented on GitHub (Jul 4, 2025): 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#13902