Bug 290842 - emulators/wine: Add ffmpeg support with winedmo
Summary: emulators/wine: Add ffmpeg support with winedmo
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Gerald Pfeifer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-06 18:26 UTC by Alexander Vereeken
Modified: 2025-11-12 23:31 UTC (History)
0 users

See Also:


Attachments
0001-emulators-wine-Add-ffmpeg-support-with-winemdo.patch (2.17 KB, patch)
2025-11-06 18:27 UTC, Alexander Vereeken
Alexander88207: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Vereeken freebsd_triage 2025-11-06 18:26:44 UTC
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!
Comment 1 Alexander Vereeken freebsd_triage 2025-11-06 18:27:50 UTC
Created attachment 265213 [details]
0001-emulators-wine-Add-ffmpeg-support-with-winemdo.patch
Comment 2 Gerald Pfeifer freebsd_committer freebsd_triage 2025-11-08 10:11:58 UTC
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?
Comment 3 Alexander Vereeken freebsd_triage 2025-11-08 15:13:25 UTC
(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.
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-11-12 22:58:21 UTC
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(-)
Comment 5 Gerald Pfeifer freebsd_committer freebsd_triage 2025-11-12 23:10:55 UTC
Thank you, Alexander.