This backports commit from 22ee425d9a from emulators/wine-devel. This fixes issues where cutscene will just hang indefinitely when using gstreamer. Once build with ffmpeg, it can be activated with the following: The new implementation can be enabled by setting the DWORD value: DisableGstByteStreamHandler = 1 in the HKCU\Software\Wine\MediaFoundation registry key. The default is to use gstreamer, so if the user does not change the registry key, this should not change much. Thank you!
Created attachment 265213 [details] 0001-emulators-wine-Add-ffmpeg-support-with-winemdo.patch
Thank you for the fine description and including a patch, Alexander. I will include this in the coming days, though probably (initially) no changing the default options as not to make requirements heavier. And one question: Is there a strong reason not to use the default FFMPEG_DESC (from Mk/bsd.options.desc.mk) and define our own?
(In reply to Gerald Pfeifer from comment #2) > And one question: Is there a strong reason not to use the default FFMPEG_DESC (from Mk/bsd.options.desc.mk) and define our own? No, it was not checked if that already exists. Thanks for pointing it out.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f2573f8049e5d83cf4e1d29faa1af706d3ae0c76 commit f2573f8049e5d83cf4e1d29faa1af706d3ae0c76 Author: Alexander Vereeken <Alexander88207@protonmail.com> AuthorDate: 2025-11-12 22:57:18 +0000 Commit: Gerald Pfeifer <gerald@FreeBSD.org> CommitDate: 2025-11-12 22:57:19 +0000 emulators/wine: Add ffmpeg support with winemdo This (mostly) backports commit 22ee425d9a from emulators/wine-devel. It fixes issues where cutscene will just hang indefinitely when using gstreamer. Once build with ffmpeg, it can be activated by setting the DWORD value DisableGstByteStreamHandler = 1 in the HKCU\Software\Wine\MediaFoundation registry key. The default is to use gstreamer, so if the user does not change the registry key, this should not change much. PR: 290842 emulators/wine/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Thank you, Alexander.