http://bugs.winehq.org/show_bug.cgi?id=58553
Bug ID: 58553 Summary: VFW Capture Filter only outputs 24 bpp RGB images Product: Wine Version: 10.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: quartz Assignee: wine-bugs@winehq.org Reporter: adibtw@tuta.io Distribution: ---
The VFW Capture Filter is currently hard-coded to output 24 bpp RGB images at the first resolution listed by v4l. While this is a functional implementation, it's very limited, and incompatible with the way many applications use the filter. Unity, for instance, requires a 32 bpp RGB image when trying to capture camera data, which inevitably fails, since wine can only provide 24 bpp.
The result of all of this is that camera support in wine is very hit or miss, only functioning if the app in question happens to request a 24 bpp image, or is designed to work with multiple image formats as output. OpenCV seems capable of using this 24 bpp image, while libdshowcapture and Unity are unable to
http://bugs.winehq.org/show_bug.cgi?id=58553
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|VFW Capture Filter only |Unity cannot capture from |outputs 24 bpp RGB images |the VFW capture filter, | |needs 32-bit RGB CC| |z.figura12@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=58553
--- Comment #1 from Zeb Figura z.figura12@gmail.com --- Is there a simple way to actually test this?
http://bugs.winehq.org/show_bug.cgi?id=58553
--- Comment #2 from Adalyn adibtw@tuta.io --- (In reply to Zeb Figura from comment #1)
Is there a simple way to actually test this?
I've been using VNyan for testing. Their latest update adds a second tracking model that uses the webcam through Unity. The legacy version goes through OpenSeeFace, which seems to try libdshowcapture, then escapi, then OpenCV, only succeeding to capture the camera with OpenCV