[Bug 21629] New: Application doesn't display video, missing conversion function from WINED3DFMT_YUY2

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Feb 7 12:01:50 CST 2010


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 at winehq.org
        ReportedBy: spamdijs at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list