http://bugs.winehq.org/show_bug.cgi?id=21629
Summary: Application doesn't display video, missing conversion function from WINED3DFMT_YUY2 Product: Wine Version: 1.1.36 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: spamdijs@inbox.lv
Created an attachment (id=26110) --> (http://bugs.winehq.org/attachment.cgi?id=26110) Adds the necessary conversion function
I'm attempting to run an application named "DVR Remote Access Software 1.1.1.5", made by a humble Chinese company that doesn't mention its name anywhere. Main executable is called RemoteAppEx.exe. The application connects to video recorder and displays video from security cameras. I'm using Wine 1.1.36 under Ubuntu Linux 8.04 on a computer with Intel i865 integrated video.
The application starts and appears to work, except that no video is shown. Instead, hundreds of these lines are printed to the console:
fixme:d3d_surface:surface_convert_format Cannot find a conversion function from format WINED3DFMT_YUY2 to WINED3DFMT_B8G8R8X8_UNORM
I browsed the source code, found that the necessary function is indeed missing from dlls/wined3d/surface_base.c and wrote one (see the attachment). It might be slow and buggy, but it appears to work with that particular application.
I haven't tested with the current Wine version (1.1.38), but dlls/wined3d/surface_base.c hasn't changed from 1.1.36.
http://bugs.winehq.org/show_bug.cgi?id=21629
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2010-02-07 20:37:29 --- Please send all patches to wine-patches mailing list. They are not picked up from bugzilla. Of course please make sure you use git to create all patches.
http://bugs.winehq.org/show_bug.cgi?id=21629
--- Comment #2 from Henri Verbeet hverbeet@gmail.com 2010-03-24 04:09:58 --- I think this is fixed by e385748258bea127d4883a540611f9ee80e65d63.
http://bugs.winehq.org/show_bug.cgi?id=21629
Sandijs spamdijs@inbox.lv changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #3 from Sandijs spamdijs@inbox.lv 2010-03-29 06:16:35 --- Yes, Wine 1.1.41 no longer has the problem.
http://bugs.winehq.org/show_bug.cgi?id=21629
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2010-04-02 12:52:23 --- Closing bugs fixed in 1.1.42.