https://bugs.winehq.org/show_bug.cgi?id=35780
--- Comment #6 from Damjan Jovanovic damjan.jov@gmail.com --- It works now.
Installation process:
1. Download python-2.7.17.msi and install it. 2. Download PIL-1.1.7.win32-py2.7.exe from https://www.pythonware.com/products/pil/ and run/install it. 3. Download VideoCapture-0.9-5.zip from http://videocapture.sourceforge.net 3.1 Unzip it 3.2 cd Python27/ 3.3 cp Lib/* ~/.wine-py-vidcap/drive_c/Python27/Lib/ 3.4 cp DLLs/vidcap.pyd ~/.wine-py-vidcap/drive_c/Python27/DLLs/ 3.5 cd ../Examples 3.6 wine python exa1_snapshot.py (working) 3.7 wine python exa2_show-possibilities.py (working) 3.8 wine python exa3_observer.py (broken)
The exa3_observer.py fails because it tries to get property pages which Wine doesn't support:
0009:fixme:qcap:fnCaptureGraphBuilder2_RenderStream (0x5d5f78/0x5d5f78)->({fb6c4281-0353-11d1-905f-0000c0cc16ba}, {73646976-0000-0010-8000-00aa00389b71}, 0x5d7d30, 0x5d8008, 0x0) semi-stub! 0009:fixme:qcap:KSP_Get () Not adding a pin with PIN_CATEGORY_PREVIEW 0009:fixme:qcap:KSP_Get () Not adding a pin with PIN_CATEGORY_PREVIEW 0009:fixme:qcap:capture_query_accept (0x5d875c) stub 0009:fixme:qcap:fnCaptureGraphBuilder2_FindInterface (0x5d5f78/0x5d5f78)->({fb6c4281-0353-11d1-905f-0000c0cc16ba}, {73766169-0000-0010-8000-00aa00389b71}, 0x5d7d30, {c6e13340-30ac-11d0-a18c-00a0c9118956}, 0x40fba0) - workaround stub! 0009:fixme:qcap:fnCaptureGraphBuilder2_FindInterface (0x5d5f78/0x5d5f78)->({fb6c4281-0353-11d1-905f-0000c0cc16ba}, {73646976-0000-0010-8000-00aa00389b71}, 0x5d7d30, {c6e13340-30ac-11d0-a18c-00a0c9118956}, 0x40fba0) - workaround stub! Traceback (most recent call last): File "exa3_observer.py", line 16, in <module> cam.displayCapturePinProperties() File "C:\Python27\lib\VideoCapture.py", line 82, in displayCapturePinProperties self.dev.displaycapturepinproperties() vidcap.Error: Querying the capture pin for its property pages failed.
But that's not a crash. We cannot reproduce the originally reported bug with the example code.