xiaoyifang / goldendict-ng

The Next Generation GoldenDict
https://xiaoyifang.github.io/goldendict-ng/
Other
1.58k stars 85 forks source link

No sound with latest version on FFmpeg #331

Closed BEST8OY closed 1 year ago

BEST8OY commented 1 year ago

Hello The title says it all. I'm using this version: 6.4.2-GoldenDict.exe_windows-2019_20230205-experimental-xapian.zip Update: And with FFmpeg selected as internal player causes system resources to increase even in the background. To produce this: 1- Look up a word in GD 2- Play the word pronunciation 3- Repeat these two steps several time. 3- Close GD and open Task Manager and wait to see the consumption increase in system resources over time. (Ram and CPU)

thenicegirl commented 1 year ago

I had the same issue, but I changed it to [5.15.2-GoldenDict.exe_windows-2019_20230205.zip], and its works. both perform badly, with very high CPU usage, and make my fan rampage.

xiaoyifang commented 1 year ago

No sound

use qt6.3.2 version or wait until qt6.4.3 It’s qt’s bug [QTBUG-108383] QWindowsResampler "Failed to setup resampler" - Qt Bug Tracker c++ - "Failed to setup resampler" when starting QAudioSink - Stack Overflow

or use external player

cpu usage

I'll check this .

BEST8OY commented 1 year ago

use qt6.3.2 version or wait until qt6.4.3 It’s qt’s bug [QTBUG-108383] QWindowsResampler "Failed to setup resampler" - Qt Bug Tracker c++ - "Failed to setup resampler" when starting QAudioSink - Stack Overflow

Well, I think the increase in usage of RAM and CPU in my case was because of this. In log this repeated numerous time Warning: Failed to set up resampler. I think i roll back to the previous stable release until further notice.

xiaoyifang commented 1 year ago

In log this repeated numerous time Warning: Failed to set up resampler.

this has been fixed,there will not be numerous warnings.

If you are using the qt6.4.3 version ,try to use an external player to solve the sound problem. image

BEST8OY commented 1 year ago

this has been fixed,there will not be numerous warnings. If you are using the qt6.4.3 version ,try to use an external player to solve the sound problem.

I think you meant qt6.4.2. And yes, I checked it too and no more increase in RAM and CPU because of broken FFmpeg which caused that error in logs. And thanks for the solution. Since I have FFmpeg in PATH I just did this ffplay.exe -autoexit -nodisp And I have FFmpeg back. Thank you.🙏❤️