Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qt multimedia ffmpeg changes may break the backend #1451

Closed
atauzki opened this issue Mar 31, 2024 · 6 comments
Closed

Qt multimedia ffmpeg changes may break the backend #1451

atauzki opened this issue Mar 31, 2024 · 6 comments

Comments

@atauzki
Copy link
Collaborator

atauzki commented Mar 31, 2024

On qt 6.7.0 for windows platform, the ffmpeg backed is dynamically linked to ffmpeg, 6.4-6.6 is statically instead. Although the ffmpeg dlls are included in official binaries, windeployqt doesn't install them.

The list of dlls are:
avcodecs-60.dll
avformat-60.dll
avutil-58.dll
swresample-4.dll
swscale-7.dll

That means we should install them manually before windeployqt handle them correctly.

@xiaoyifang
Copy link
Owner

On windows , I would recommend to disable build against ffmpeg ,

CONFIG+=no_ffmpeg_player

@atauzki
Copy link
Collaborator Author

atauzki commented Apr 1, 2024

On windows , I would recommend to disable build against ffmpeg ,

CONFIG+=no_ffmpeg_player

No, not that case. It's qt's multimedia backend. Maybe I'll take another screenshort to show this change.

@atauzki atauzki changed the title Qt multimedia ffmpeg changes Qt multimedia ffmpeg changes may break the backend Apr 1, 2024
@atauzki
Copy link
Collaborator Author

atauzki commented Apr 1, 2024

image
if the dll are missing the ffmpeg backend won't be loaded and no sound with gdau:// will be played.

and we can just use their binaries.
image

@xiaoyifang
Copy link
Owner

windeployqt doesn't install them.

I believe this is an another windeployqt's bug.

atauzki added a commit to atauzki/goldendict-ng that referenced this issue Apr 1, 2024
@xiaoyifang
Copy link
Owner

if the dll are missing the ffmpeg backend won't be loaded and no sound

https://github.com/xiaoyifang/goldendict-ng/blob/staged/.github/scripts/windows-publish.ps1

need to be changed to remedy this change of qt version.

atauzki added a commit to atauzki/goldendict-ng that referenced this issue Apr 1, 2024
xiaoyifang added a commit that referenced this issue Apr 1, 2024
@atauzki
Copy link
Collaborator Author

atauzki commented Apr 1, 2024

image
Sorry for the wrong place in the commit. the plugins in target path should be removed.

@atauzki atauzki closed this as completed Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants