Bug 290775 - emulators/wine-devel: Add ffmpeg support with winemdo
Summary: emulators/wine-devel: Add ffmpeg support with winemdo
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: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-03 17:54 UTC by Thibault Payet
Modified: 2025-11-11 11:59 UTC (History)
2 users (show)

See Also:


Attachments
git formated patch (1.72 KB, patch)
2025-11-03 17:54 UTC, Thibault Payet
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thibault Payet 2025-11-03 17:54:31 UTC
Created attachment 265136 [details]
git formated patch

This fixes issues where cutscene will just hang indefinitely when using gstreamer
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2025-11-04 00:04:47 UTC
What is "winemdo"?
Comment 2 Thibault Payet 2025-11-04 00:53:18 UTC
(In reply to Vladimir Druzenko from comment #1)
It is a new backend for Media Foundation based on FFmpeg (for video codecs/decoding).
It was merged in a couple release back, but was an empty shell when ffmpeg is not available. Once you 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.
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2025-11-04 01:15:21 UTC
(In reply to Thibault Payet from comment #2)
"google" don't know this word "winemdo". :-(
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-11-04 01:19:33 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=22ee425d9ad82e80c2c9aef0c722bdeb8bbdf470

commit 22ee425d9ad82e80c2c9aef0c722bdeb8bbdf470
Author:     Thibault Payet <monwarez@mailoo.org>
AuthorDate: 2025-11-04 01:13:17 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-11-04 01:18:15 +0000

    emulators/wine-devel: Add ffmpeg support with winemdo

    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.

    PR:     290775

 emulators/wine-devel/Makefile | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2025-11-04 01:19:53 UTC
Thanks.
Comment 6 commit-hook freebsd_committer freebsd_triage 2025-11-11 11:27:06 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=adfb77a3b2d2dbb97aceb0de1629a7ed85902f60

commit adfb77a3b2d2dbb97aceb0de1629a7ed85902f60
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2025-11-11 11:24:22 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2025-11-11 11:25:51 +0000

    emulators/wine-devel: Drop local FFMPEG_DESC

    We already have a standard definition of FFMPEG_DESC in
    Mk/bsd.options.desc.mk.

    PR:             290775
    Approved by:    portmgr (blanket)

 emulators/wine-devel/Makefile | 1 -
 1 file changed, 1 deletion(-)