# GoldenDict-ng的音频播放问题还有希望解决吗？

**URL:** <https://forum.freemdict.com/t/topic/44960>\
**Category:** GoldenDict-ng\
**Created:** [2026 年9 月 4 日 12:31 UTC](https://forum.freemdict.com/t/topic/44960 "2026-09-04T12:31:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

作者： ![eti](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/e/3be4f8/32.png) [@eti](https://forum.freemdict.com/u/eti)\
发布日期： [2026 年9 月 4 日 12:31 UTC](https://forum.freemdict.com/t/topic/44960/1 "2026-09-04T12:31:34Z")

</div>

GoldenDict-ng从某个版本开始，一些音频就开始不能正常播放，好像与ffmpeg有关。  
目前只能通过设置外接音频播放器来解决。但这样的话，开始播放音频时就会产生几秒钟的等待时间，影响使用流畅性（Windows11，固态硬盘）。  
此问题还有解决的可能吗？还能再用回内置音频播放器吗？

---

<div class="post-metadata">

作者： ![彼方的多利](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/%E5%BD%BC%E6%96%B9%E7%9A%84%E5%A4%9A%E5%88%A9/32/49828_2.png) [@彼方的多利](https://forum.freemdict.com/u/%E5%BD%BC%E6%96%B9%E7%9A%84%E5%A4%9A%E5%88%A9)\
发布日期： [2026 年9 月 13 日 09:46 UTC](https://forum.freemdict.com/t/topic/44960/2 "2026-09-13T09:46:33Z")

</div>

应该与上游 FFmpeg 对 Speex（`.spx`）音频的解码 bug 有关。

一、 **Windows 下，我自己用如下两种方式都能解决：**

1. 继续使用内置 Qt Multimedia，替换社区修复补丁 `avcodec-61.dll`。
2. 使用外部 mpv。mpv是很屌的一个命令行跨平台播放器，是我的主力播放器。我这里发音很快，没有明显等待（几十毫秒），也不弹界面，体感与内置播放器没什么区别。  
 ![image](https://forumcdn.freemdict.com/uploads/default/original/3X/6/5/655e0ea623d5c881f4d78d9ca9ce0f96d03e3eda.png)

```auto
mpv --no-video --no-audio-display --no-config

```

若提示无法启动程序，把 `mpv` 改成实际的绝对路径。

二、 **macOS 下，我用默认的 FFmpeg 后端就没有问题。** 🤣  
如遇异常，也可以尝试外部 mpv。

官方问题记录：

> <https://github.com/xiaoyifang/goldendict-ng/issues/1738>
>
> \* https://trac.ffmpeg.org/ticket/11054
> \* https://trac.ffmpeg.org/ticket/11078
> …
> We need to delay Qt6.8 updates until these problems fixed. (Hopefully, the Qt6.7 doesn't bump major FFmpeg version yet.)
> 
> Help wanted to fix the bug in FFmpeg. (One reports says only a single line of change is needed.)
> 
> Furthermore, nobody else appears to use/care about this format anymore. FFmpeg could break silently again in future. Maybe we should implement/copy the speex decoder code to our source tree, as libspeex doesn't appear to be changing anymore (but other parts of FFmpeg keeps changing).
> 
> https://github.com/videolan/vlc/blob/master/modules/codec/speex.c
> 
> \---
> 
> \[speex\_mini.zip\](https://github.com/user-attachments/files/17230098/speex\_mini.zip)
> 
> Minimum dict to do test with a single entry “A” and 2 speex audios.
> 
> ffplay -\> has exactly the same issue as GD
> 
> vlc -\> no issue

社区修复补丁：

> **[Release ffmpeg-n7.1.3-speex-run-12 · escape0707/patched-ffmpeg-qt-speex](https://github.com/escape0707/patched-ffmpeg-qt-speex/releases/tag/ffmpeg-n7.1.3-speex-run-12)**
>
> Built by GitHub Actions:
> https://github.com/escape0707/patched-ffmpeg-qt-speex/actions/runs/26324509185
> Build Inputs
> 
> FFmpeg ref: n7.1.3
> 
> Cherry-Picked Fixes
> 
> 4a0e1cfc6f33d152e007849f6de7028d651de2...

外部播放器设置：

> **[External Audio Engine - GoldenDict-ng](https://xiaoyifang.github.io/goldendict-ng/ui_audioengine/)**
>
> GoldenDict-ng is a open source, cross platform, multi formats, feature rich dictionary 是一个开源跨平台支持各种格式的字典程序
